Search results

  1. marshian

    What's wrong with this?

    Where did you get that class cPanel? I'm not used to object-oriented programming in php but it's most likely an easy-to-solve problem.
  2. marshian

    MySQL and coding help

    If you want to import data to your database (in an .sql file) you should go to phpMyAdmin, and there's a number of things available on x10, but AJAX is actually a combination of client-side (javascript) and server-side (usually php) scripting. So yes, you can use AJAX on x10.
  3. marshian

    form for upload files - problems

    This is a tutorial about php file uploading: http://www.tizag.com/phpT/fileupload.php And register_globals is EVIL! Whoever invented it should :gtfo2: ... When you have an url such as file.php?var=1 you can access the var by $_GET['var'] or $_request['var'], if register globals is on, $var...
  4. marshian

    About web caching

    Maybe sending the header "Cache-Control: no-cache" along with your audio will work.
  5. marshian

    Armageddon

    We'll see when it's 2012-12-21, but imo, it's not true. The end of the world has been predicted many times before this, and it still exists. It's almost undoubtly the world will end, but there's absolutely no hard evidence for a date. Tha Maya's could have said their calender was long enough...
  6. marshian

    POST without submit

    Please read the whole topic before posting... This is one of the first suggestions made, and it has already been suggested again 2 posts higher!
  7. marshian

    Cron Jobs issue

    Try php -q /home/asgaroth/public_html/crontest.php
  8. marshian

    POST without submit

    Are you sure about that? Most people are able to find out the url of a frame... just right-click it and select something with info :p And the hidden-form-thingie has already been suggested, but I'ld not recommend this, as the user must have enabled javascript in order for the link to work, or...
  9. marshian

    POST without submit

    If you manage to find out the ID of another session, it's very easy to edit your cookie and make the server beleive you are the user which has that specific session assigned. But if you manage to do that, you cannot access the session directly, I mean it's impossible for the user to see the...
  10. marshian

    POST without submit

    without them showing up in the URL So why are you telling hem exactly what he does not want to hear?
  11. marshian

    Error pages - send me info (read further for clarification)

    Yes, the syntax to do this with .htaccess files is: ErrorDocument statuscode file example: ErrorDocument 403 /err/403.php
  12. marshian

    Error pages - send me info (read further for clarification)

    Well, you can use php code in your errorpage to send the mail automaticly when somebody sees the page. But php won't be able to determine it's a hacker or just a wrong link... This would be an example of a 404 page: <?php //The difference in time between you and the server. (in seconds)...
  13. marshian

    Adsense google search!

    No, AdSense is the service to place ads on your page. (Ads by google)
  14. marshian

    Adsense google search!

    Are you sure this is adsense code? It looks a lot like a custom search engine for your site... It will give you a form with a text field and a submit button (+ 2 hidden fields), an image and some text...
  15. marshian

    Adsense google search!

    Give us some more info please, where can we find your page? (or just give us your code)
  16. marshian

    Posting to two different places from one forum - HELP ME PLZ?

    Just submit the form (not forum) to a php page that does both things.
  17. marshian

    php include unreliable

    First of all, echo is not to include files, echo just outputs a string. As tnl2k7 said, it's include. Second, every line in php HAS to be ended with a ";" (unless you're defining a block {} or such)
  18. marshian

    noob mySQL security question...

    Any php code is never send to the user, the only way the user can see this data is either you allowing them to see it (due to a configuration mistake) or them hacking the server. But if they would hack your server, MySQL isn't safe anyway.
  19. marshian

    POST without submit

    No, indeed, I had never heard of such a system :o Looks like it's safe for the user, but a pain for us... :nuts:
  20. marshian

    POST without submit

    Still, if you have 10 people on the same IP, it's a very small chance one of them is attempting to hack another. And dynamic IP's only change if the user goes offline and back online, if I'm not mistaking, an IP can't change as long as there is a connection. And as sessions stop when the user...
Top