39,320 Topics

Member Avatar for
Member Avatar for dbalas

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!

Member Avatar for LastMitch
0
518
Member Avatar for Noth

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 …

Member Avatar for broj1
0
154
Member Avatar for mrcniceguy

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.

Member Avatar for yanmyoe
0
5K
Member Avatar for phpHelp

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

Member Avatar for Djmann1013
0
185
Member Avatar for muhammad.waleed.9699

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> …

Member Avatar for muhammad.waleed.9699
0
229
Member Avatar for rizzi143

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 …

Member Avatar for diafol
0
278
Member Avatar for VEL Hassan

Hi, How to downgrade php from php 5.3.6-13 to Php 5.2.13 version? Thanks in advance. Velhassan.

Member Avatar for diafol
0
91
Member Avatar for chandbasha

[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

Member Avatar for diafol
0
251
Member Avatar for joseph.akinadewo

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 …

Member Avatar for joseph.akinadewo
0
323
Member Avatar for jessa_lee

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 …

Member Avatar for smartedesigners
0
1K
Member Avatar for gws75

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 …

Member Avatar for LastMitch
0
99
Member Avatar for jilkin

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.

Member Avatar for jilkin
0
139
Member Avatar for subratabanerjee

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 …

Member Avatar for subratabanerjee
0
187
Member Avatar for phphelp123

<?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)); // …

Member Avatar for veedeoo
0
117
Member Avatar for 68thorby68

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 …

Member Avatar for 68thorby68
1
181
Member Avatar for dbalas

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 …

Member Avatar for dbalas
0
767
Member Avatar for dbalas

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. …

Member Avatar for dbalas
0
181
Member Avatar for Riu 2009

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 …

Member Avatar for Riu 2009
0
267
Member Avatar for molla.getachew

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 …

Member Avatar for diafol
0
231
Member Avatar for vizz

How to add **Facebook like button** , **twitter share button** and **google plus button** on website?

Member Avatar for vizz
0
182
Member Avatar for vizz

How to get computer name and computer username using php? Computer name and server name are same or they are different?

Member Avatar for vizz
0
105
Member Avatar for missy_mi

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 …

Member Avatar for missy_mi
0
372
Member Avatar for ditty

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

Member Avatar for LastMitch
0
93
Member Avatar for abhi10kumar

How I can create Pop-up Login window on a particular page. If user login successfully, the back page will refresh.

Member Avatar for jalpesh_007
0
228
Member Avatar for Tristan2036

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 …

Member Avatar for LastMitch
0
107
Member Avatar for vishalonne

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: …

Member Avatar for vishalonne
0
1K
Member Avatar for np complete

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 …

Member Avatar for LastMitch
0
790
Member Avatar for MB.ShadowFox

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 …

Member Avatar for MB.ShadowFox
0
286
Member Avatar for cigoL..:)

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 …

Member Avatar for cigoL..:)
0
294
Member Avatar for hueylouis

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']; …

Member Avatar for doubleN
0
654

The End.