
shibbi3
Members-
Posts
23 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
shibbi3's Achievements

Member (2/5)
0
Reputation
-
Hello Everyone, I just wanted to get everyones opinion on this, I am looking to build an online shopping cart, would it be best to build one from scratch or to see what is out on the net and build from there? Thanks for any suggestions!
-
Alrighty, here is it. I managed to get into the setup script and make the config.inc file and copy it over to the main folder but it says this: Error MySQL said: #1130 - Host 'localhost' is not allowed to connect to this MySQL server im not allowed to connect to my own server! ??? :-\ [code] $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['extension'] = 'mysql'; $cfg['Servers'][$i]['port'] = '3306'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['auth_type'] = 'config'; [/code] any suggestions?
-
hi everyone, i am trying to use phpmyadmin to configure my database but i cant seem to connect to mysql server but i was able to before. does anyone know how to go about solving this error msg? Error MySQL said: #2003 - The server is not responding I am able to open up mysql command window and mess around with the database there so im not sure why phpmyadmin cant connect to it.
-
thx fert [quote]Best. Advice. Ever.[/quote] is this a joke? ??? or is phpbb not a good idea?
-
Hi everyone, I am working on a project for which I want to include a basic discussion forum, not to advanced. From searching on the web, I a few sites that offer up pre-made forums and you can tweak them to your liking. I wanted to ask the people of this forum what their opinion is on creating a a basic forum for a website. Should I create it from scratch or see whats out there a build from there? Does anyone know any ideas on how to approach this? thanks for any suggestions.
-
THANK YOU!!!!!! I needed both the submit button and the values for the select menu for it to work. was a silly mistake :S THANK YOU AGAIN!!!!!
-
hi everyone, I am having trouble integrating the select menu and php. I am not sure how to access the selected value Can anyone tell me what is wrong with this code? [code] <form method="post" action="test.php" enctype="multipart/form-data"> <select name="about"> <option selected="selected">General</option> <option>Lures</option> <option>Sales</option> <option>Other</option> </select> </form> <?php $selected = $_POST['about']; echo $selected; ?> [/code] shouldnt that echo the selected value?
-
hey everyone, I was wondering what I am doing wrong here: [code] <b>Attachment:</b><br /><input type="file" name="probe" value="<?php if (isset($_POST['probe'])) echo htmlentities(stripslashes($_POST['probe'])); else echo ""; ?>" size="20"/></p> <br /> <p><input type="submit" name="form_submitted" value="OK - Submit" /></p> <?php $fileatt_name = $_FILES['probe']['name']; $fileatt_tmp = $_FILES['probe']['tmp_name']; if(empty($fileatt_name)) { echo 'empty'; } else { echo 'good'; } ?> [/code] It keeps saying that it is empty but there shouldn't be right? lil confused... anyone know?
-
hey everyone, does anyone know what kind of error this is?? Mailer Error: Language string failed to load: from_failedtest1234@yahoo.com the program sends an email out after the user submits the form. any ideas??
-
hey everyone, Does anyone know if its possible to create a php mail attachment program that is similar to the system used by gmail? I've got an Email program working but it only sends text and html, but i want to add possible attachments to the email something similar to the gmail system. Anyone have any suggestions?
-
hi everyone, I was just wondering if anyone knows how to do the following: Right now I have a form setup and when the user submits it, I want a new page to come up that says 'FORM SUBMITTED THANK YOU', and then after a 5 second delay it auto redirects the user back to the main page say 'index.php'... Im not sure if this is a php problem... does anyone know? My form is the following: [code] <form method="post" action="<?php echo basename($_SERVER["PHP_SELF"]); ?>" enctype="application/x-www-form-urlencoded"><div> <p><b>Name:</b><br /><input type="text" name="name" value="<?php if (isset($name)) echo htmlentities(stripslashes($name)); else echo ""; ?>" size="35" /></p> <p><b>E-mail:</b><br /><input type="text" name="email" value="<?php if (isset($email)) echo htmlentities(stripslashes($email)); else echo ""; ?>" size="35" /></p> <p><b>Subject:</b><br /><input type="text" name="subject" value="<?php if (isset($subject)) echo htmlentities(stripslashes($subject)); else echo ""; ?>" size="35" /></p> <p><b>Message:</b><br /><textarea name="text" cols="55" rows="12"><?php if (isset($text)) echo htmlentities(stripslashes($text)); else echo ""; ?></textarea></p> <br /><br /> <p><input type="submit" name="form_submitted" value="OK - Submit" /></p> </div></form> [/code] Everything is working except I want a new page to come up when its submitted and After a 5 second stop on the new page, I want to redirect the user to the main page. Thanks for any suggestions!
-
Alright. I've setup a mail server using this program http://www.code-crafters.com/abilitymailserver/ I found out that port 25 is blocked. So I changed the port to 465 on my local mailserver which is not blocked by my ISP but im not sure if I can even use this port to send mail (ability mail server). I've run the code and it is still not working, and I dont think I am connecting to my SMTP server properly. (If anyone has a better program plz suggest it) All I am trying to do is to get the following to send an email to my gmail account from my local Apache/PHP5 setup. [code] <?php $to = 'joabchen@gmail.com'; $subj = 'hi'; $body = 'hello'; $headers = "joabchen@gmail.com\n"; $p5 = '-f joabchen@gmail.com'; if(mail($to,$subj,$body,$headers,$p5)) { print "successfull"; } else { print "ERROR - not sent"; } ?> [/code] Does anyone know a solution to this problem? I think I am confused on the information flow with this problem. I dont see why I need an SMTP server setup and how the information is flowing from my ISP --> SMTP --> Gmail. If thats even how the information is being transferred. if anyone has a solution plzzzzzzzzzzz help!!! thank you.
-
would this work on an local apache setup??? how would you modify the php.ini file??? im really new to this and cant seem to get this to work and i think its the smtp setup... im trying to relay it through gmail... so smtp.gmail.com port 465 [code] <?php $to = 'joe12@gmail.com'; $subj = 'hi'; $body = 'hello'; $headers = "joe12@gmail.com\n"; $p5 = '-f joe12@gmail.com'; if(mail($to,$subj,$body,$headers,$p5)) { print "successfull"; } else { print "ERROR - not sent"; } ?> [/code] plz heeelp
-
do you remember how to go about setting it up on a local network?? So what is the purpose of the mail() function?? because when I run the code it still returns a true value saying it has sent it.
-
i am currently trying it on my local server. but i eventually want it to run on a live server. is it 2 different setups? thanks for the help.