Jump to content

unkownname

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://tempostudios.com

Profile Information

  • Gender
    Not Telling

unkownname's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello everyone, Ive been having problems with the following mysql and dont know why or what could someone explain. $uid=$_SESSION['uid']; mysql_query("INSERT INTO game_pm (subject,message,to,from,inbox) VALUES('$subject','d','$_POST[to]','$uid','$uid')"); mysql_query("INSERT INTO game_pm (subject,message,to,from,inbox) VALUES('$subject','d','$_POST[to]','$uid','$_POST[to]')")or die(mysql_error()); Error is You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to,from,inbox) VALUES('sd','d','3','2','3')' at line 1
  2. Well im using my linux system to host my site. Yet To say for somereason I cannot set a cookie i d k wy. This is how I set them. [code] SETCOOKIE("username",'$show[username]'); SETCOOKIE("password",'$show[password]'); [/code] Yes i have also tried a static value and still nothing. EDIT Figured it out forgot no HTML before cookie set.
  3. hmm well theirs this php class on the net i forgot the name i think PHPSend look it up on google. Ill try looking for it sorry about that.
  4. no stmp line is username:password@smtp.myisp.com just as you see it.
  5. I could host you a website and help you with a  member area and stuff.-For free.
  6. thats easy make a folder with no index files and then click parent directory in the folder. so lets say the file that is being viewed. as main is /home/wwe/public_html/ ->http://we.com/ you make a folder here: /home/wwe/public_html/wwe/ ->http://we.come/wwe then go to it click parent directory and thats it.
  7. you could i was put the search in the url like so http://site.com/browse.php?search=whatever and read it like this. $_GET['search']
  8. quick and simple code for you. EX URL: http://example.com/index.php?id=1 if(isset($_GET['id'])){ $id=$_GET['id']; }else{ $id=0; //this is not very necessary// } switch($id){ case 1: //EX: This is were the url goes to.// include("news.php"); break; case 2: //EX: Include about// include("about.php"); break; default; //EX : Include home page// include("home.php"); } FOR Words just put case 'word': //Make sure it has " ' " because it prob will screw up with " not sure its been a while
  9. you could post the html to a txt file then include it into the php file makes it alot easier to do than doing javascript just to put it in and html well just tell your dad to use front page or some website maker theirs a free website maker on yahoo.com look it up on the small business area meaning were they do hosting.
  10. Fenway thanks for the help but i figured it out a simple minor little problem fixed by a simple  "@'localhost'" to some script i made to create users haha well thanks again
  11. are you sure it dosent? hmm plus it would first have to be a service. what about GO TO RUN type in "msconfig" without quotes and a window will pop up click the last tab and look for apache start up control THATS ALL I GOT.
  12. ..........................................................Dude i speak for all i think-my opinion ok. When i say your confusing first you want index then you dont now you do then you talk about file systems in apache. ---Answer 1 -- You want a file manager like website as index bringing up all your files and stuff instead of it having the apache crap.USE PHP if you need more information ill give you a full file manager WOOO cuz im cool like that its not really a file manager its more like a file viewer like apache wen theres no index.html or w/e index.* --Answer 2--- You have lost your mind and should search help or need to learn more english to explain better.
  13. Hey Wild thanks for the help but i solved i have to stop solving my problems dimeans the reason for the post right? its already happen 5 times well thanks anyway And the way is not that its to Take out the <directory></directory> im using suse 10.1 pro for all those who have the same question.
  14. Ive installed apache and everything but i got some problems I have it installed  on SUSE/Linux 10.1 Ive been having problems with viewing the file system if their is no index.* in the public_html How can i do it so it can show files in public_hmtl ?? Cuz it says Access Forbiden when their is no index.*.
×
×
  • 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.