39,402 Topics
![]() | |
When people add comments to my site there is always a slash before apostrophies. Is there a line of code that will prevent this from happening? | |
I've been configuring PHP with MySQL and ran into a few issues. I uncommented the line to include mysqli.dll and set extension_dir = "./ext". It still isn't working. Not sure if I'm missing anything. Got any clues?! | |
Hi, I got a web site with lots of french accents. I am not able to get the accents proper even after doing all the functions said in php.net. I tried even user documented ones... utf_decode also do not work:( How to solve this issue.Request pointers Thanks. ![]() | |
Hi Friends We have develoeped new community site, we have intagrated the mail option that site. when register the site we need to create the mail id mail server . we are using "Simple Control Pannel" how to create the mail id using php code "simple control pannel" Please acvice … ![]() | |
i keep getting parse errors on the last line of this how ever i cannot seem to find the mistake .. any help ? Parse error: parse error, unexpected T_STRING in /home/content/mydir/index.php on line 103 (i added the line numbers jsut for the post not actually in code) [code=php] 96 … | |
![]() | if you are having problems with encoding pages/characters, try this. <?php $servername='localhost'; $dbusername='myusername'; $dbpassword='mypassword'; $dbname='mydatabase'; connecttodb($servername,$dbname,$dbusername,$dbpassword); function connecttodb($servername,$dbname,$dbuser,$dbpassword) { global $link; $link=mysql_connect ("$servername","$dbuser","$dbpassword"); if(!$link) { die("Could not connect to MySQL"); } mysql_select_db("$dbname",$link) or die ("could not open database"); } ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <meta http-equiv="expires" content="now" /> … ![]() |
Hey guys! Right heres the problem, I have made this script that basically displays all the data from a table from MySQL; pricelist. However it only displays the data when i have to manually write in all the database passwords and names and stuff, however when i use the require_once() … | |
Hello everyone. I am trying to modify a script I have been working with but have no true knowledge of PHP. Currently the script creates an http post and upon successful sending it opens a new web page and posts a message that reads "Sending results: OK". I would like … | |
I am trying to use this script to enter data into my database from an html form. [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Item Entry - Opulentworx - Private</title> </head> <body> <form action="/php/itemENTRY.php" method="post" id="itemENTERdb"> <input type="text" id="itemNUM"/>Item #<br> <input type="text" id="quant"/>Quantity<br> <input type="text" id="date"/>Date<br> <input … ![]() | |
hi guyz, which of these two forums do you think is good to use? i am talking mostly about security and the confidentiality of the users. thank you | |
I have written lots of php dealing with html strings, but it's my first time trying to get a very simple page to function. It has a textarea, and I guess that all I need to do is get the text into the database on the server. I really have … | |
Hey guys, I'm looking at taking a PHP course in the spring. The prof and I get along well, and she said I could waive the college's prerequisites and sign up if I wanted to. The prerequisites (in the college catalog) are a couple of HTML courses. My question is … | |
I have a simple Contact form script. I want to change it so it shows the email address of the person sending the form, not mine. I also hope I am pasting this code correctly. Sometimes I get a blank form, but all fields are required. I would like to … | |
Hey, I'm using a while loop to display all the rows of a table in my database, and wondered if anyone knows how I can make it so the background color of each row alternates between two different colors. I'm using php to call the information, so I can stick … | |
I am using this html form page... [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Item Entry - Opulentworx - Private</title> </head> <body> <form action="/itemENTRY.php" method="post" id="itemENTERdb"> <input type="text" id="itemNUM"/>Item #<br> <input type="text" id="quant"/>Quantity<br> <input type="text" id="date"/>Date<br> <input type="text" id="cost"/>Cost<br> <input type="text" id="ground"/>UPS Ground<br> <input type="text" id="3day"/>3 Day … | |
Is it possible to have two main pages i.e index page one for wap and the other html(php driven) or do i have to determine the type of user and rewrite my index page appropriately. My main site is unsuitable for mobile phones and would have to significantly different. Cheers … | |
Hi, I have a friend who is looking to start a website similar to [url]www.Ratemyprofessors.com[/url] and I was wondering if any ofyou could suggest a script that is similar. Thank you for your time. | |
Hello everyone! :) I'm doing a website that has lots of pages - created by the user (a wiki style) - and any page can have attachments. The file upload engine is working ok. I'm moving all the files uploaded to a specific directory. The problem is: As each page … ![]() | |
Is the package libgr-progs available for OS X I can find it at the RPM find site, but when I download it real player tries to open it...which isn't quite what I expected, i've tried to use Fink to install it but it doesn't seem to be in the fink … | |
hello i am sharmila i have small doubt about php and mysql.please anybody reply me. | |
I have this code to update the DB by subitting values in the checked columns The problem is that it skips some entries and does not always subit the values entered SQL Query $thisid=$_POST['id']; $nvalue = $_POST['newvalue']; $chkd = $_POST['checked']; foreach ($chkd as $key => $value) { $sql="update invoice_subcategory set … | |
Having a strange problem with some PHP code. This code: [code] $filename = "/u2/text/TOPAShiftlog".$dateString."_AShift.rtf"; [/code] writes the file TOPAShiftlog2007-10-26_AShift.rtf to the /u2/text dir. I want it to write 2007-10-26_AShift.rtf to the /u2/text/TOPAShiftlog dir so I tried this: [code] $filename = "/u2/text/TOPAShiftlog/".$dateString."_AShift.rtf"; [/code] This code ends up removing my "submit" button … | |
I'm working in a VB environment with MS-mdb. Can I use a PHP web format to create a security key that would be sent to the VB app users to allow access to the .mdb? Can the .mdb listen and respond to the php message? If so how? | |
Hi Friends, since i am new to this script, I need your help, well this is my problem, i need to compare userdate with my backend date. for that i have used a dynamic dropdown combo as an id and i need to fetch the date associated with that id … | |
Hi, I'm looking to update a MySql database from an applet. The 2 roots I was thinking were: Applet->php->database Applet->servlet->database But my webhost doesn't allow servlets/jsp, so I would like to try the php route. I've looked on the internet, but I can't find anything concrete to use, just lots … | |
My server supported as " GD support : enabled" (linux OS using) but this program not displayed the graph. displayed the message "The image “[URL="http://xxx.xxx.xxx.xxx/test3.php%E2%80%9D"]http://xxx.xxx.xxx.xxx/test3.php”[/URL] cannot be displayed, because it contains errors. <?php header("Content-type: image/png"); $im = @imagecreate(110, 20) or die("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate($im, 0, … | |
Ok this may be a stupid questions. Is there a way to make a dynamic form? For example, if I wanted to create a form that took a users birthday, how do I make it so it would change the number of days in the month to correspond to the … | |
Hello all, i hope someone here can shed some light for me. I have to do a final year project and needed an idea fast so i decided to try something involving semantic web. now the problem is i am totally new to this concept, i am reading books and … ![]() | |
Hi I've been trying to get a email form which allows my users to send photos as an attachemt via a "upload" button. I've got it working i.e. the form is sending me the data plus the photos, but I'm still getting this error when "submit" is pressed. [B]Notice: Undefined … ![]() | |
Hello all master coders, I have been doing my site exclusivley in html. What is the big differences bewteen php and html? What are the advantages/disadvantages? What, if any would be the penalty from going from an html site to a php site? Would this hurt the PR I have … ![]() | |
The rewrite I'm using maps /products/string to products.php?product=string and the products.php is basically: [code] <header> <?php if(!isset($_REQUEST['products'])) {?> <a href="products/consumer-hardware>Consumer Hardware</a> <?php }?> <?php if (isset($_REQUEST['products']) && $_REQUEST['products'] == 'consumer-hardware') {?> <consumer-hardware details> <?php }?> <footer> [/code] Now the rewrite works, because I'm not getting a 404, but of course … | |
Hello experts, I'm having some difficults with the code that i have used from one of the PHP, MySQL books. As the error that appears is in bold on line 17, and the error that shows is listed below: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource … | |
I am very very new to all of this stuff. I have been given a username and password, and I try to run this command: mysql -p -u username < filename But everytime it prompts me for a password, and does not let me type anything in. Please let me … | |
Hi. I am using WAMP5 tools with the following features on Computer1 with IP address 192.168.0.1 and I have Windows XP Professional on this computer: i) Apache 2.2.4 (SERVER) ii) PHP 5.2.3 + PECL iii) SQLitemanager iv) MySQL 5.0.41 v) Phpmyadmin I have a small LAN Network with 3 computers: … ![]() | |
Hi I would like to know if it's possible to delete a row from a database by selecting it from a drop-down list and hitting the submit("Delete") button. If it is could you help me out with a bit of "code and description" or a link please. Much appreciated ;) | |
[B]Hi How can I add Forum by using PHP in my website…I only want to add one section as test. Please advice in details Thanks[/B] | |
I'm trying to code a Wordpress theme, and I'm getting this error message - "Parse error: syntax error, unexpected T_STRING in /home/xxxxxx/public_html/wp-content/themes/xxxxxxx/index.php on line 27" The thing is, I can't figure out what's wrong :/ Here's the code - 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4<head … | |
We are searching for a Senior Web Developer in San Francisco, CA. Please email your resume to [email]jobs@bluepointassociates.com[/email] for immediate consideration! [url]www.bluepointassociates.com[/url] | |
Not sure if this is a PHP or a MySQL problem...I am pretty new at both. Basically I have a .php form that is writing data to the db just fine and most of the data is saving back to the .php file fine. I have several "text" boxes that … ![]() | |
hi, i am using php, javascript, ajax in my Timesheet project. I made a grid displaying details of Timesheet such as Date, Day, Starttime, Endtime etc. i coded this grid using table, input tag and displayed it in php. i have used input tag name as array and i want … ![]() | |
![]() | everything works fine... i upload any picture or file that i allowed the things is, i want to add uploading progress any ideas?? here is my code.... [code] <?php //-------------------------------------------------------------------------------- $path = ""; $web = "../uploads/"; $nopic = "nopic.jpg"; $ad = "add_item"; $no = "1"; $page = $ad.$no; //-------------------------------------------------------------------------------- $isim … ![]() |
Hey sorry for any unintentioned broken rules - I'm a PHP newbie here, and a newbie to the list! Does anyone know of any problems with PHP 4.3.11 and using $HTTP_SERVER_VARS['REQUEST_URI']? I"m having a hard time getting php generated html links (ahref tags) in my php page to work. I'm … ![]() | |
Hi. I want to create a program for LIBRARY, I faced to problem on depositing book section (Giving book to someone), in this section there is a combo which should contian the books name, maybe we have from one book two, three (Quantity), if one of them given to some … | |
Does anyone know where i can find a free 7x7 or 6x6 or 8x8 Forced Matrix Script. I bought one online for $99.99 about more than 1 month now and i NEVER got the script. The script has been removed from the server. I send many emails but no response. … | |
I am relatively new to php and I want to create a basic page with dynamic content. So say I have a page called products.php that acts as an index to my products, a link such as products.php?product=box would go to a page with the particular details of 'box' and … | |
I have script that is almost done, I just need help with one more thing. I'll describe the relevant structure the best I can, then explain what I need. TABLE carlot FIELDS trackpt, id TABLE cars FIELD userid, carid TABLE grpusers FIELD id Field id from table carlot = field … ![]() | |
hi. i wonder if someone could check this script for me and tell why it isn't producing any results. here is the code: [code=php] <?php function ShowMyFiles() { // vars global configuration global $dbConn, $theme_path; // vars messages global $msg; // vars template global $error_msg, $status, $files, $owner, $test, $paginated; … | |
Please help me how to create an NEWSLETTER(php code) thanking you all. | |
Hello everyone, I have a bit of a problem. I am in the middle of developing a site that needs to use transactions. I have several different tables that comprise a single insert form. Table A, B and C all require transactions. From what I understand, mysql_query does not support … | |
Hello, Is it possible to write a php script and have it automatically excecute at a certain time everyday? I need to write a script that will do garbage collection on my database everyday. I do not have a whole lot of power over the hosting server and I can't … |
The End.