Jump to content

Pyro4816

Members
  • Posts

    48
  • Joined

  • Last visited

    Never

About Pyro4816

  • Birthday 01/08/1985

Contact Methods

  • AIM
    pyro481666
  • MSN
    Pyro4816@hotmail.com
  • Website URL
    http://www.codedunderground.com
  • Yahoo
    pyro4816@yahoo.com

Profile Information

  • Gender
    Male
  • Location
    Georgia

Pyro4816's Achievements

Member

Member (2/5)

0

Reputation

  1. Error: Warning: require_once(../includes/DbConnector.php) [function.require-once]: failed to open stream: No such file or directory in /home/pyro4816/public_html/Instal/instal3.php on line 9 line 8 and 9 <?PHP require_once('../includes/DbConnector.php'); All the files are in the proper place, its just that the ../ isnt working properly on the server for some reason.
  2. The problem is the files ARE up one directory, i just don't know why it wont recognize it.
  3. I'm pretty sure this has been answered, and it is just general knowledge that obviously i do not have. I just moved to a server, and all of my pages using ../ to go back a directory are erroring out: saying the file doesn't exist. I know it exists, but unless I use the full exact web address, it will not function properly. Any ideas? Is there a setting in php or on the server to enable this?? Again sorry to ask here, but searching the forum for ../ is almost as useful as searching for the letter a, and Google.... well you get the idea. Thanks in advance.
  4. i am trying to use a variable variable, the problem lies in using the array from a variable variable.
  5. It wouldn't let me edit again, but an update on it is that echo $user1['ID']; Works, but since this is in a while loop, and i am trying to prevent too many server queries, im trying to set it so that if i need user 1's info again it wont query the database again, but it will query it if there is a user 2 who has not had his info retrieved.
  6. For this example, $row2['author'] = "1" $user = 'user'.$row2['author']; if (!isset($$user)){ $result = $connector->query('SELECT * FROM users WHERE ID = '.$row2['author']); $$user = $connector->fetchArray($result); } echo '<a href="user.php?user='.($$user['ID']).'">'.$$user.'</a></p>'; The problem is it is a weird variable that also has an array, but when i use echo $$user['ID']; It errors out saying Notice: So I am wondering how to word it to set the variable up properly, and how to call items in the array. Thanks in advance
  7. Hi, i hope this is in the right place, but i needed some help. I am building a PHP based Forum framework. It is quite rough and not complete, but it is in the testing stage for the code i have created. I was looking for suggestions and help with testing. I try to test and fix the problems myself, but there is quite a bit that i don't think of, i was looking to see if anyone would help me with testing it, someone to provide outside knowledge and thoughts, or provide me info on a place i could go to find that sort of help. Thanks in advance.
  8. can u give me any more to go on then that?
  9. Well, my site is running a membership system and i am having some problems with the registrations I need to block certain characters and i need to check the lingth of some of them and i'm not sure about how to do that. Example: username <?php echo 'hi'; ?> I not only need to block the characters <, $, and > but i need to make sure the username is not to long.
  10. it had something to do with another script i was using, ty
  11. that doesn't work, apparently the variable is set, its just not set to anything
  12. I am working on error handeling for a script, and i am working on what to display if no number is given. in the link: http://www.codedunderground.com/view/article.php?view= what is the variable $_GET['view'] ? i tried using this if( $_GET['view'] != ""){ echo 'bla bla bla'; }else{ echo '<center><b><h3>The content you have requested cannot be found.</h3></b></center>'; }
  13. is there a way to use that to get multiple results?
×
×
  • 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.