Search results

  1. T

    cURL seems to write/read cookies elsewhere.

    Hello, I'm working on a project on my WAMPServer on my PC, but cURL seems to be writing and reading it's cookies elsewhere then specified. The cookie file/jar is cookie.txt, but that is a 0-byte file but cURL still has cookies attached to it. Any ideas on where I can clear my cookies?
  2. T

    PHP Built in BBCode library?

    Well, since I got told there is a better way to do BBCode than Regex, I wondered how it's done. I want something like this: Google to become something like this: <a href="http://google.com/">Google</a> I couldn't find any tutorials on this anywhere. Thanks once again, tenx23.
  3. T

    PHP/RegExp: Escaping forward slash

    Hello, I am having trouble with my Regular Expression I'm using to make a BBcode system. I can't seem to be able to escape the forward slash. Here is the preg pattern I have: /\[a\](.*?)\[\/a\]/i It doesn't like the \/a and comes up with unknown modifier 'A'. Help please...
  4. T

    Sending email to PHP Script

    Quite some time ago, I submitted this thread: http://x10hosting.com/forums/free-hosting/151812-forwarding-email-php-script.html The setuid problem is now fixed but I get this email back whenever trying to email the address: This time, I decided to use an advanced forwarder, it returns the...
  5. T

    Error Log?

    Oh ok. Thread Locked
  6. T

    Error Log?

    I just noticed this on cPanel Can someone tell me what this is for? The textarea is just blank but I do get 404 errors etc... Also how do you trigger an error?
  7. T

    url

    .. Sorry, that wasn't me... (???)
  8. T

    PHP: Locking files

    Thanks a lot! The LOCK_NB didn't seem to work though.
  9. T

    PHP: Locking files

    Anyone?? :frown:
  10. T

    Wow! How did you get so many credits??

    Wow! How did you get so many credits??
  11. T

    PHP: Locking files

    Thank you, but how would I go about this?
  12. T

    PHP: Locking files

    Ok, so I have a file... for the sake of simplicity we will call it "file.txt"... I also have a PHP script that edits that text file... I have one problem: If two users use the PHP script at the same time, the file.txt file will mess up and be unreadable by my parsing script! I also want a...
  13. T

    url

    could i have it changed too habboworld.x10.xz
  14. T

    Setting up a .co.cc domain?

    Update: It's not working but I hope the update will fix it.
  15. T

    More Updates

    Thanks for all the work you put in :smile: Stoli has been slow lately... Around 15 seconds to download a short (PHP) Page....
  16. T

    SQL Database Auto-Add?

    Hello! So I just logged in to x10hosting and checked my website... I got 500 - Internal Server error (+404 while handling with ErrorDocument). So after I went to cPanel and heck, it was slow. It took 15 minutes to load the first start-up page. When it finished, my eye caught sight of a red...
  17. T

    Tutorial:How to add your own domain to your x10hosting web

    I get this error when I try to do that: And this one:
  18. T

    Setting up a .co.cc domain?

    So, I'm trying to set up a .co.cc domain... I typed ns1.x10hosting.com for nameserver 1 and ns2.x10hosting.com for nameserver 2... But how do I register it in cPanel or how ever you do it? I'm a little stuck... Thanks in advance, tenx23 ---------- Post added at 10:37 AM ---------- Previous...
  19. T

    Forwarding email to PHP Script?

    Hmm I get the same Can't do setuid() (sperl) like I do with the autoresponder... It was escalated so hopefully when they fix that it'll apply to this aswell...
  20. T

    Forwarding email to PHP Script?

    Thanks! Incase anyone is interested, you can read the email with this PHP code: #!/usr/bin/php -q <?php // read from stdin $fd = fopen("php://stdin", "r"); $email = ""; while (!feof($fd)) { $email .= fread($fd, 1024); } fclose($fd); ?> Note: After you got the email you have...
Top