Search results

  1. Scoochi2

    PHP- maintaining cookies within script

    Hi. I'm trying to use a script to login to a website with different accounts and let me know if each has any PMs. For example: require_once('usernames.inc'); //contains $names=array(array('account1','pass1')) etc {// functions function login($name,$pass) { $name = str_replace(' ','_',$name)...
  2. Scoochi2

    JavaScript: URL site text -> myVariable

    Hi. I had a problem the other day which I partially resolved. The major reason it still isn't working is because I am trying to use document.links[] in a different domain to my script. I need to be able to either simulate a link click on a different site, or to get the url of that link into my...
  3. Scoochi2

    JavaScript: document.iframe.link.click() ?

    Hey, I'm trying to get JS to simulate a link click in an iframe on my page. Normally I would just change the src of the iframe, but the link I need to click contains a code that is different each time, and will not work with a different (or no) code. I have this: <iframe width='600'...
  4. Scoochi2

    PHP- file() not working in cron?

    Hey. I have a file that is run by my crontab once every 24 hours. It simply loads up a list of values and changes my site to reflect those values. It works fine. However, when run under the crontab, it generates the following error: Warning: file() [function.file]: URL file-access is disabled...
  5. Scoochi2

    .htaccess redirect with regular expressions

    Hey, I'm pretty much a newb when it comes to .htaccess, so I hope someone out there can clarify something for me. I have a PHP file that will spew out a png image, but due to forums not allowing dynamic images, I need to fool them by loading a png image which is redirected to my PHP file. This...
  6. Scoochi2

    PHP setcookie problem...

    I have a problem within one of my programs where I cannot set cookies at all. [...] if (conditions) { $cookiedata = '123'; setcookie("cookie1", "$cookiedata", time()+604800, '/'); echo "$cookiedata"; } [...]I have used the above code, and the page will show 123, as expected. However, there is...
Top