39,320 Topics
| |
Hi! Im getting this error : Warning: preg_replace(): No ending delimiter '.' found in C:\wamp\www\oa\include\config.inc.php on line 67. This is the line `$file = preg_replace(".*/",'',$e_file);`. tried to put . everywhere but its not so simple for me hahaha... Anny ideas? Thank you! | |
Before I start, I just wanted to make it clear that I have never used PHP before, therefore none of the code in this post is mine. It is all from tutorial sites that I am trying to get to work. My mistakes will probably be incredibly basic. Anyway, I'm … | |
Is there anyone who can explain to me how can i store image in a folder to the server then the path to mysql. i dont know even how to get started,i will appreciate for your help. Or links where i can find the tutorials. | |
hello, can any1 me help with live chat module in php for e-commerce site???how to keep the track of visitor's queries and replies in DATABASE? Plz help | |
i try my best but fail,,, department.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Page</title> </head> <body><pre> <?php echo $_SESSION['userid'] ?> has Logged In <a href="logout.php"><input type="button" name="Logout" value="Logout" style="width: 62px"/></a> </pre> <h2 align="center">Student Clearance Information</h2> <form action="students_clearance.php" method="post"> <table align="center"> <tr> … | |
hi. i have a html form that allows user to browse and upload the code using the upload button ( which runs php). the files gets uploaded. now i need to either change that existing php file or add a new button in html file and compile and run the … | |
Hi, How to downgrade php from php 5.3.6-13 to Php 5.2.13 version? Thanks in advance. Velhassan. | |
[CODE] Options +FollowSymLinks RewriteEngine on RewriteRule ^100bestbuy/products/(.*)/$ /100bestbuy/search.php?categoryId=$1 [L,NC] RewriteRule ^/100bestbuy/search-(.*)/$ 100bestbuy/search.php?id=$1 [L,NC] RewriteRule ^/100bestbuy/product-([0-9]+)/$ 100bestbuy/product.php?id=$1 [L,NC] RewriteRule ^/search/(.*)/$ search.php?categoryId=$1 [/CODE] any thing not working please tell where to modify the code | |
Can someone help me with this php script for form processing. I use the script for processing my contact form, but I could not received a reply from my contacts. instead whosever contact me, the system returns back to me the followings thereby making it impossible for me to actually … | |
I've got a basic subscription list signup for a website, and a basic form to input the text for sending an email to the subscribers... but I need to know what steps I need to take to create an HTML email, place a different main topic in the newsletter each … | |
Hi, I am using openinviter for email contacts importer for my own cms local & online, & on loging in openinviter with few of email id's of some domains it login successfully. But for few other valid email id's & passwords, login always failed with msg "Login failed. Please check … | |
PHP how do I - in a password protected dir stop anyone typeing anything after the "/" or if they try to change the address at all they will simply be directed to the login page with message? Hope somone can help am stuck. | |
My concept is to load contents of a div on other div in html. In short I want to learn how the new Facebook inbox works, when we click on a message on the right, the contents and fetched from the database and loaded in the center column. I know … | |
<?php $host="localhost"; // Host name $db_username="root"; // Mysql username $db_password=""; // Mysql password $db_name="shop"; // Database name $tbl_name="users"; // Table name // Connect to server and select databse. mysql_connect("$host", "$db_username", "$db_password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $username=@$_POST['username']; $psswd=@$_POST['password']; $password = md5(trim($psswd)); // … | |
I have been reading lots about the use of cookies and session id's but keep thinking i'm missing something. I currently set cookies when users login and add things like the users database id or email so I can retrieve their details when needed, and for forms, but I don't … | |
Hi! I have a problem with .pdf upload size... In input form i have set it like so: <input type="hidden" name="MAX_FILE_SIZE" value="1000000000"> in php.ini ; Maximum allowed size for uploaded files. upload_max_filesize = 150M but i can not upload the file of 1MB... I have looked at my error log … | |
Hi! I have a problem... I need to make simple upload script which for me as a novice php programmer isnt so simple aat aall! So if someone could point me to a good tutorial or solve my problem, it would be great! Ok, this is what i have now. … | |
hi everyone :) i have two tables (learningmaterial & evaluations) in mysql DB and i want to display all the learning material (from learningmaterial table ) and evaluations (if any) from evaluations table.. here is my code and i just want to ask how will i insert another select query … | |
Hi, I have file into which I am getting feedbacks from users. But when the file is open, users can not give feedback because it does not write into it. Worse of all, Plus it gives Warning erros on users browser. So the code has to check if the file … | |
How to add **Facebook like button** , **twitter share button** and **google plus button** on website? | |
How to get computer name and computer username using php? Computer name and server name are same or they are different? | |
HI, i am new at this programming stuff. so, i really dont know much about programming especially when it come to converting pages to pdf. so, i need to understand one thing, this..fpdf,mpdf,wkhtmltopdf and others..do they convert php page..because they said "convert HTML to PDF"..so i am confuse..i did try … | |
Can anybody help me to get the code for google check out payment confirmation. After the payment using google checkout i want to update the order details with the payment status. may i know the post values to the website | |
How I can create Pop-up Login window on a particular page. If user login successfully, the back page will refresh. | |
This is for an ecommerce site. This is supposed to display a complete list of categories with their ids next to it. The names should be like this Animals : Pet Supplies : Dog Supplies : Dog Bowls, Feeders & Waterers 41 The problem is that each parent category with … | |
Hi I just wan to to pass the value of Input Type File html tag to a 2nd PHP page where I will insert the image in mysql but I am always getting a notice and isset() is not getting the $_FILE('IMAGE'). Here is the notice - `Notice: Undefined index: … | |
As C++ has nice read me's like, `C / C++ FAQ's and Practice problems`, `C++ Books`, `"Flushing" the input stream` , how about some read mes's in PHP forum. Its a widely used language like C++, so it would be nice to have some read me's. What do others think … | |
Hi all, I'm pretty new here but I do have "some" knowledge of sql and PhP, I'll start by telling you what I have and then ask what I need. What I have: I have a database which holds multiple tables, the one in question is called storage.sql The table … | |
Hi guys! I'm currently making an integration of 2 different web apps. I would to ask if is it possible to restrict adding duplicate data in your table. for Example i have two different tables from two different databases. App1_Invoice (from Web App 1 database) e.g. transno name amount App2_Invoice … | |
Can anyone assist me. I keep getting and error stating that the Column count doesnt match row 1. I have counted all of my fields and referenced all of them but still no dice. $con=mysql_connect($host, $username, $pass); if(!$con) { die("Could Not Connect: ".mysql_error()); } mysql_select_db($db); $CustLName=$_POST['CustLName']; $CustFName=$_POST['CustFName']; $CBR=$_POST['CBR']; $AcctNum=$_POST['AcctNum']; $CustCode=$_POST['CustCode']; … |
The End.