Jump to content

1337coder2006

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

1337coder2006's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm 100% sure this is not a coding error. I have tried my same code on 3 different servers, it works on the other 2, but not on my-torrents.com. I called godaddy (my host) and they told me it was a problem with my code, those bastards. This is really ticking me off, i was on the phone for a couple of hours with them and the supervisor was the biggest prick of all. Usually you speak to a supervisor, you expect them to fix the problem for you, but this guy just told me there's nothing he can do, he wouldn't even transfer me to someone who could help me, he wouldn't listen to my problem, he was just being an ignorant prick. Burn in hell godaddy.com, if anyone has any idea what's going on, i'll leave the testing page up ([url=http://www.my-torrents.com/testing.php]http://www.my-torrents.com/testing.php[/url]). I really need to get this fixed! Thanks for all your help, Ryan
  2. I have a self-submitting form which echo's what you enter in the text field. The problem with my form is that it only works on the first submission! If you submit it again, $_POST['testing'] is empty, and you can find what you entered the previous time in the Request Method. Submit the form again and the same thing happens. I have an example of it at [url=http://www.my-torrents.com/testing.php]http://www.my-torrents.com/testing.php[/url] testing.php: [code]<strong>Post Data:</strong> <?=$_POST['testing'];?> <br /> <strong>HTTP Post Data:</strong> <?=$HTTP_POST_VARS['testing'];?> <br /> <strong>Request Method:</strong> <?=$_SERVER['REQUEST_METHOD'];?> <br /><br /> <form action="./testing.php" method="post"> Test: <input type="text" name="testing" /><br /> <input type="submit" value="Submit" /> </form>[/code] I've tried the same code on a different server and it works fine. Does anyone know what could be causing this? Thanks, Ryan
  3. yeah but i haven't had this problem before, i guess ill just change the setup on my hosting account and hope that fixes it after it updates
  4. I have a self-submitting form which echo's what you enter in the text field. The problem with my form is that it only works on the first submission! If you submit it again, $_POST['testing'] is empty, and you can find what you entered the previous time in the Request Method. Submit the form again and the same thing happens. I have an example of it at [url=http://www.my-torrents.com/testing.php]http://www.my-torrents.com/testing.php[/url] Code for testing.php: [code]<strong>Post Data:</strong> <?=$_POST['testing'];?> <br /> <strong>HTTP Post Data:</strong> <?=$HTTP_POST_VARS['testing'];?> <br /> <strong>Request Method:</strong> <?=$_SERVER['REQUEST_METHOD'];?> <br /><br /> <form action="./testing.php" method="post"> Test: <input type="text" name="testing" /><br /> <input type="submit" value="Submit" /> </form>[/code] Please help! Thanks, Ryan
  5. [!--quoteo(post=388004:date=Jun 26 2006, 04:21 AM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ Jun 26 2006, 04:21 AM) [snapback]388004[/snapback][/div][div class=\'quotemain\'][!--quotec--] polymorphism is the keyword you want to use in your search. [/quote] i did a search on that but it led me to a tutorial on object overloading, i'll try again, thank you. Also, I think the solution I'm looking for is just to use func_get_args which will return the function arguments in an array.
  6. Hello, nice site. I am trying to create a class or a function (if its possible) that can have an unknown number of arguments. I've searched google/various forums and i have found nothing, can anyone point me to a good tutorial on this? I should probably just keep it simple and pass the arguments as an array, but it would be nice to know how to do this.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.