39,402 Topics
![]() | |
Dear All; I have table in vehicle.php file that contains vehicle information(plate number, vehicle model, reg. and exp. dates). I pprovided each record with href(more) if he want to know more about this specific vehicle in vehicle-info.php file. in vehicle-info.php I get the plateN and I pass it to the … | |
Hi everyone. i'm having the following problem with the PHP code that i'm writing: [B]Notice[/B]: Undefined index: email in [B]c:\program files\easyphp1-8\www\gestao_perfil.php[/B] on line [B]15[/B] [B]Notice[/B]: Undefined index: password in [B]c:\program files\easyphp1-8\www\gestao_perfil.php[/B] on line [B]22 Here is the code: [/B][code=PHP] <?php parse_str ($_SERVER['QUERY_STRING']); //Tenta estabelecer uma ligação ao servidor MySQL @mysql_connect("localhost","root","") … | |
How would you execute MySql commands found in a text file? It's really beginning to bug me! | |
Dear all; I write this php file and when I want to view it does not make sense. It also can't retrieve the necessasry info from my database:( . Please can any one guide me. Note: I attached my DMV database. Thanks alot //=========== <html> <head> <title>Displaying Your Vehicles</title> </head> … | |
Hi I have recently attempted to make a forum with phpBB using a free php and mysql web hosting site. This is the link: [URL="http://www.zendurl.com/directory/dgcforum"] www.zendurl.com/directory/dgcforum[/URL] As you can see, error messages appear. I am new to all this and was wondering if anyone had any solutions to get the … | |
hey guys anyone knows a way to direct the browser to the page he came from like the Back button php plz | |
I am new to PHP. I am trying to connect mysql with PHP with mysql_connect but i m getting "A link to the server could not be established" I have used ODBC 3.51 driver for odbc and made connections with odbc with odbc_connect but i don't know how to connect … | |
I have been getting tons of email spam from my own domain name. It is coming from a contact form that uses sendmail.php. My guess is someone is trying to use it to spam other people, but it keeps going directly into my inbox. I can't block sender. I can't … | |
<h3>In php how do you create accounts and let the user send messages to each other which cannot be viewed by other people .</code></h3> <h2>The only thing i have come close to is by creating accounts by giving each one them an unique email id and let them send and … | |
If I have a string like this: [code] blah test asdf [/code] What kind of regex would I use to change all single newlines (like between 'blah' and 'test') to <.br> and all multiple newlines (like between 'test' and 'asdf') to a maximum of two <.br>'s? I've tried these already: … | |
I got this error from my php code... [B]Parse error[/B]: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [B]C:\Program Files\xampp\htdocs\projko\sign_in_sub.php[/B] on line [B]11 here is my code: [code=php]<?php ini_set('display_errors', 1); function sign_in(){ $con = mysql_connect("localhost", "root", "dodong"); if(!$con){ die('Could not connect: ' . mysql_error()); } mysql_select_db("dbko", $con); … | |
Hi Is there any free web hosting sites that suport php and mysql? (and work with them be easy) | |
I am looking for a PHP news system. I guess it will be more like any other news paper site online. I am looking for an open source or paid version. Does anyone know such thing? | |
how would I upload files with php if someone can steer me into the right direction that would be great. | |
Hi, I am not getting why my modifications for mod_rewrite is not getting working... Apache 2.0 Windows OS i uncommented the loadmodules line for rewrite but i do not find in my httpd.conf a single line with clearmodulelist nor addmodule. I do not know how to enable mod_rewriting in the … | |
i having been programming for 10+ years now, so I always try to adhere to good programming practices (variable naming, spacing, etc). Yet, almost every snippet of code for JS or PHP that you can pull up goes against those practices. even when writing JS or PHP, where var type … | |
Hello I have changed the process code abit so it receives the data from the form and ensures the data in array format. This has eliminated my previous error. The problem I am experiencing is the looping is not displaying the all contents of the arrays. Do you have any … | |
I am trying to delete a member of staff from a table using php using a drop down menu of staff id's he is my code <!-- deletestaffmember.php --> <html><body> <?php putenv("TNS_ADMIN=/u1/oracle/Products/shu10g/network/admin"); $conn = OCILogon("wkagonye","maniki", "shu10g"); $query = "select StaffNo from tblstaff"; $stmt = ociparse($conn, $query); ociexecute($stmt); ?> <form action="deletestaffmember.php" … | |
Hey all I need to compress mp3 audio files so that it can be downloaded to mobile phones..... without disturbing the quality. Could someone tell me how to do this? any useful link or similar code.... please help cheers Prati | |
I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\ and Mail.php and PEAR.php are in this dir C:\php\PEAR\pear When I add the files to the dir the log file is complaining about below, the wiki spits out the following: [code] Could not send confirmation mail. Check address for invalid … | |
any body can help me give any suggestion for my final year project? i want a project web based. any body have an idea?? | |
Hello, I recently downloaded and uploadee Secuimage CAPTCHA Class Version 0.3 PHP4 from [url]http://www.neoprogrammers.com/[/url] and Im having some problems. 1) It always says that the code entered is wrong, even in the example forms. I tried it with my altered code and without and it still never says it is … | |
Hi there, I'm trying to screen some programmers I'm looking to potentially hire & I have a list of questions a previous programming consultant drew up, but I don't know what to do with them b/c he did the screening b4. Can someone please help me determine if I place … | |
i need a script that would tell the server to fwrite every other request, not every time. anybody got an idea? | |
Hi I have used a tutorial on full text search which was brilliant...I now want to add in pagination to it....Bu ti can;t seem to work it from the pagination tutorial... This is the code for my full text search... <html> <head><title>Search</title></head> <body> <?php // Database Connection include 'db.php'; // … | |
hi there. please help me on this. Am working on a website. On one page i put a login form that will authenticate an administrator. However am trying to find a way that when the administrator logs off, no one can be able to press the back or forward button … | |
Hi all, I am having a problem with my php and forms. Any help would be verty greatly appreciated. The problem is form objects are not showing up at times and they are at other times. Has any one heard of this happening and if so is there a fix? … | |
I am having problems getting the user selected form info to inserted into the mysql database. I am also rec eving an error: Warning: Variable passed to each() is not an array or object in D:\web_server\webroot\common_list_process.php on line 1) I can display the contents of the $op array (see below) … | |
Hey guys. Ive been working on an online game and Im attempting to code the attack arena. Bascialy what i want is people to be able to "sit down" at some sort of "table" (kinda like online poker) then they would battle it out at that "table" or arena etc. … | |
k, i want to display error message from my php file to html file. say i have this in contact.php [CODE]if(empty($visitormail)){ $message = "enter email"; }[/CODE] now in html file do i have to have this include: [CODE]<?php include 'contact.php'?>;[/CODE] and then where ever i want to display the error … | |
any one any ideas with this just trying to update the total value of a receipt after a money off voucher has been added to it here is the error `Parse error: parse error in /homedir/ilex-s04/dsmith25/public_html/voucher.php on line 146` here is the script <!-- voucher.php --> <?php putenv("TNS_ADMIN=/u1/oracle/Products/shu10g/network/admin"); $conn = … | |
Hi, I'm new to this site so don't bite my head off if im repeating an existing post. Ok, So im trying to install this portal on my server called eazyportal. Everything was going fine with the installation until it said GD Library : [COLOR=red]Failed[/COLOR] GD Version : [COLOR=lime]Passed[/COLOR] [COLOR=#00ff00][/COLOR] … | |
Hello, First, I want say that I have heard quite a lot about this site. It is a great site and I am happy to have found it. Back to business, because I want to start early. I am building this site with PHP and I also want to attach … | |
Hii all I am working on a project implemented in WordPress. Basically developing a new theme for a client. My task is to add hyperlinks on the header so that they navigate to new page. This is possible if the pages are placed in the root folder but not in … | |
Hi every body , it's my first topic in this forum, how can I change tidy charset , I use windows-1256 and when I try to run this script [code] if(extension_loaded('tidy')) { $config = array( 'indent' => true, 'output-xhtml' => true, 'wrap' => 200); $tidy = new tidy; $tidy->parseString($source, $config, … | |
I know this is pretty dumb question but I just wanted to ask because I am not sure if I can figure it out by myself. :( So here is the deal. I have a mysql database called "appinfo" there there is a table called "appdis" Now in that table … | |
Hello all, I have been using mysql_fetch_array to read data from a query to a php array so i can then use it on my webpage. Everything was going fine until now... I cant see the problem with my code, but it keeps calling the or die() error handler when … | |
im trying to make it so when someone hits submit and a feild is empty or blank i message pops up and says "must fill in required feilds" near the bottom of the form rather than having a new page open up and say it. | |
hello, I am building a mysql/php/javascript based online timesheet system which allows users to assign themselves predefined projects and then select one of the projects assigned to them and add hours for a particular date to the database - i can get the add to work fine, but i need … | |
I am in in the process of adding mediawiki to a sever that already has Apache and php installed. | |
This is my first attempt at creating a website using PHP. My database is done in MySQL. It is for a made up university. I am having trouble creating the page that should allow current students enrolled at the university to search for courses and add them to their schedule. … | |
Hey everyone. I'm trying to write code to update a stat field within my database and I'm having some trouble passing the variables from the form page to the process page. Below is my code. I know it's not correct. I just want a button to say "Upgrade attribute 1" … | |
Hi, How safe is to allow users to submit the entries with single or doube quotations to the database? and wondering is there any free site or service to check vunerabilities of the site? Hope to see it in daniweb. Thanks! | |
hi there, i have created a php website for my mobile DJ business, and want a booking enquiry form so people can fill out their details and email the data to us and we can then contact them about their booking. I have created the form in html, and using … | |
I just started doing this site and did a extremely minimal update only to get this pesky error. I am not sure what the deal is and seriously want to fix this ASAP. I'm sorry as well, as i'm brand new to this coding. (Didn't think i'd get such an … | |
I recently installed CrackerTracker v5.x in my forums (phpbb2 with no mods, running a custom interface) and I'm having a massive amount of parsing errors. Examples: Parse error: parse error, unexpected ',' in /forum/includes/functions_post.php on line 103 [code]103: }$lang, $phpEx, $phpbb_root_path; [/code] Parse error: parse error, unexpected T_INCLUDE_ONCE in /forum/includes/page_tail.php … | |
I am making a site to list my domain names for sale (1200) and was looking for some kind of dynamic program so I could just make 1 template for the domain details page to use with all 1200 domains for sale, what are your recommendations? Thanks! | |
im doing my project which is soccer system.and i want the admin to be to able do the draw by himself with clicking the button. and each time the admin clicks it, the number will be different. any help on the script? this is my first time using php.. helppppppppp~ | |
I make a query and I get all the result I need but I'm stock now I wont this result to be send via email or save the result to another html file, is it' possible, thanks for all replies :sad: |
The End.