www.webdeveloper.com

Search:

Type: Posts; User: knkk

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    996

    Also, want to add that it helps greatly to not...

    Also, want to add that it helps greatly to not leave style declarations like the ones in my code above (padding:0 0 0 4;), but specify the units (padding:0 0 0 4px;).
  2. Replies
    2
    Views
    798

    Thanks, TecBrat.

    Thanks, TecBrat.
  3. Replies
    2
    Views
    798

    Displaying content from another site

    I have 2 sites, example.co.in and example.com, hosted on 2 different servers (I have all access details for both).

    When someone accesses example.co.in/a/b.php?c=d, I want it to show the HTML of...
  4. Replies
    9
    Views
    3,041

    Thanks, Mindzai.

    Thanks, Mindzai.
  5. Replies
    9
    Views
    3,041

    Thanks, NogDog. So you're saying that if on *my*...

    Thanks, NogDog. So you're saying that if on *my* server, *my* admin disables allow_url_fopen, then *I* cannot run file_get_contents on any URL. But there is no way that I can stop people from running...
  6. Replies
    9
    Views
    3,041

    Thank you, Shanu and Mindzai, for some very...

    Thank you, Shanu and Mindzai, for some very useful information and tips.

    @Mindzai: when you say "file_get_contents is often disabled for URLs on many hosts", what would you mean? that it will not...
  7. Replies
    9
    Views
    3,041

    Thank you, Shanu. The link that doesn't seem to...

    Thank you, Shanu. The link that doesn't seem to be accessible to this function is http://london.vivastreet.co.uk/cars+london. Since that link wasn't accessible, I assumed the entire site wasn't...
  8. Replies
    9
    Views
    3,041

    Blocking php curl from scraping website content

    There is this function:



    function disguise_curl($url)
    {
    $curl = curl_init();

    // setup headers - used the same headers from Firefox version 2.0.0.6
    // below was split up because...
  9. Replies
    2
    Views
    1,267

    Thanks, biostall. So this query worked: ...

    Thanks, biostall. So this query worked:


    SELECT ev.event_type
    , ev.EventId
    , ev.VenueId
    , ev.Price
    , ev.Schedule
    , ev.startDate
    , ev.endDate
  10. Replies
    2
    Views
    1,267

    Left Join query not working in mysql 5.1

    Please see this:


    WARNING [1024] Error while executing query:
    select event_type, EventId, VenueId, Price, Schedule, ev.startDate, ev.endDate, events.name eventname, movies.name moviename from...
  11. Replies
    3
    Views
    1,657

    Okay, I figured what was going wrong. I set...

    Okay, I figured what was going wrong. I set error_reporting in my code, which was overwriting the php.ini error_reporting.

    Now the reason that that same stuff was working until I upgraded to PHP...
  12. Replies
    3
    Views
    1,657

    Unable to turn off notice errors in php 5.3.2

    Hi everyone,

    I recently migrated to PHP 5.3.2, and realized that I am unable to turn off notice errors in my site now. I went to php.ini, and in these lines:



    ; Common Values:
    ; E_ALL &...
  13. Replies
    1
    Views
    1,486

    I found the solution for my subdomain...

    I found the solution for my subdomain subdirectory redirection problem above, here it is:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond...
  14. Replies
    1
    Views
    1,486

    Redirecting through .htaccess

    I want to redirect a url http://abc.xyz.com/123 to http://www.xyz.com. So the file that will be accessed will be index.php of xyz.com. That index.php should have available to it both abc and 123 (so...
  15. Replies
    2
    Views
    553

    Just in case that looks like I am trying to get...

    Just in case that looks like I am trying to get some kind-hearted people to do my work for me :), no, it's just that I have no idea of Perl at all (even if I am okay at PHP), and do not have enough...
  16. Replies
    2
    Views
    553

    Spelling suggestions for wrong spelling

    Hi,

    I came across this perl script someone wrote for spelling suggestions when someone types a wrong spelling. Can someone please convert it to PHP? It will help a lot of people.

    Source:...
  17. Replies
    0
    Views
    487

    open source code for groups functionality

    I'd like to know if there is any open source php software that has the functionality of groups, specifically that of meetup.com. Will be quite grateful for any responses!
  18. Replies
    0
    Views
    837

    Problem rendering Google Analytics code

    I am trying to include this code in the footer.template files of all blog templates:


    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :...
  19. Replies
    10
    Views
    2,263

    gotcha - that was brilliant... :)

    gotcha - that was brilliant... :)
  20. Replies
    10
    Views
    2,263

    Thanks, Greg - that's where the error always was...

    Thanks, Greg - that's where the error always was - I was returning true when I should have been returning false. So this was the issue:



    function morerating(ratingform, checkflag, loc)
    {
    ...
  21. Replies
    10
    Views
    2,263

    Thanks again toicontein. I've fixed that. This is...

    Thanks again toicontein. I've fixed that. This is my onclick:


    <INPUT TYPE="submit" NAME="submit_rating_done" VALUE="Submit" onClick='return morerating("ratingform", false,...
  22. Replies
    10
    Views
    2,263

    Thank you very much, toicantien - I tried that,...

    Thank you very much, toicantien - I tried that, but that does not work. Also, that function (stateChangedALL) is used for AJAX functionality all across my site, so I do not think there could be any...
  23. Replies
    10
    Views
    2,263

    AJAX does not work without an alert

    Instead of an id getting its innerHTML changed, the entire page is getting refreshed with this function of mine (you may want to look just at the end of the function where there's an alert):

    ...
  24. Replies
    19
    Views
    6,006

    Thanks, Fang. I was trying for some ease of use...

    Thanks, Fang. I was trying for some ease of use there. Maybe I'll have to think a totally different approach.
  25. Replies
    19
    Views
    6,006

    I haven't put them yet there since they are not...

    I haven't put them yet there since they are not working, but scrollIntoView() would replace the scrollBy(0,60). Thanks!
Results 1 to 25 of 61
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles