39,402 Topics
![]() | |
Hi People, I have this problem, i have created an upload form which includes some text fields and also an image upload which then gets sent to a server. I haven't yet got any validation or sanitisation on there at the moment. Im abit new to PHP and can code … | |
Good mornin' y'all, I'm looking to add a search engine to my site and was hoping for a recommendation on a free downloadable script based on the following criteria: [LIST] [*]Yes, I would prefer something that I can implement on my own and then tweak compared to an engine that … | |
Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate … ![]() | |
Hello! I want to continue a session even after the browser was closed. What I want to do is to remember the host, username, password, of mysql. Whats the trick? | |
hheyy yall!! i really wuld lik a quick a reply 2 dis cos i really wnt 2 knw hw i can encode a php/phtml script 2 go unnotice/untraceable 1luv!! | |
Hi!! Evri1. I gat a bit of a problem dat i need solved i register at freehost site e.g x10. But whenever i try 2 upload a file 'tutorial.php' mi accunt gets blocked. Nd den a message is sent to me saying i ve broke their terms of service by … | |
hey all i'm busy makin an online bookin system for a project. What i need is when the rooms get displayed, the customer can select, using check boxes which rooms he/she wants. ranging from 1 room to all 6 if he/she wants. then on the next page i need only … ![]() | |
![]() | Hello, Can somebody help me to make a logon script? I want to make this script like that I add useres manually, in the database. And when people are going to the admin content it will show up: Pleas Login! Username: Password: Forgotten your password? click her! (And when the … ![]() |
i'm having a bizarre issue with a form that seems to not want to post the file data array... [code=php]<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="hidden" name="category" value="music" /> <input type="file" name="image_upload" class="multi" accept="jpg|jpeg" maxlength="1" /> <input type="submit" name="cat_music_img" value="Update" /> </form>[/code] the following is a snippet i just … | |
Hi new to PHP...very new..I created some pages for a class I'm taking in php. Eight pages with a query and dynamic results table on each page. They all work fine but the problem is they only work locally. We have a remote server for school use, but of course … | |
I know PHP include is server sided, but is there something similar I can implement that can work across different servers? Or something server sided that can work on the same server but across different URLs? Thanks! | |
Hello, I am trying to map a URL to a sub path using .htaccess. Does this look right? //Rewrite to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.co.uk/sub-path[nc] RewriteRule ^(.*)$ http://www.domain.co.uk/sub-path/$1 [r=301,nc] //301 Redirect Old File Redirect 301 [url]www.anotherdomain.co.uk[/url] [url]www.domain.co.uk/sub-path[/url] //301 Redirect Entire Directory RedirectMatch 301 [url]www.anotherdomain.co.uk(.*[/url]) www.domain.co.uk/sub-path/$1 Many thanks! | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … | |
Below is the XML response you get from the W3C Validation API: [code=xml] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator"> <m:uri>http://www.pritaeas.net/</m:uri> <m:checkedby>http://validator.w3.org/</m:checkedby> <m:doctype>-//W3C//DTD XHTML 1.1//EN</m:doctype> <m:charset>utf-8</m:charset> <m:validity>true</m:validity> <m:errors> <m:errorcount>3</m:errorcount> <m:errorlist> <m:error> <m:line>10</m:line> <m:col>1</m:col> </m:error> <m:error> <m:line>12</m:line> <m:col>2</m:col> </m:error> <m:error> <m:line>14</m:line> <m:col>3</m:col> </m:error> </m:errorlist> </m:errors> <m:warnings> <m:warningcount>0</m:warningcount> <m:warninglist> </m:warninglist> … | |
Hi there, I have a few sites plus a few clients' sites I have designed and manage. At present, when I want to add a new feature to all of the sites, I code it into each site individually. What I want to achieve is to be able to update … | |
Hi i am trying to connect to an SQL Server using mssql_connect, the problem is that it is giving me a fatal error. I ran a script to see if the mssql functions are installed and seems like they do not exist. I read around and seems like i have … | |
is there any job demand for people who have skills in developing drupal? | |
hello everyone, i think this a rather complex question but i'll have a go. i have this output from mysql printed on a php page: user1 ------------------- week | hours worked | hours had to work | missing hours 32 | 30 | 32 | 2 user2 ------------------- week | … | |
Hi All, Can anyone tell how the import and export to and from Auto desk Revit works and where I can find out more about the procedure of Linking the drawings to a SQL database that when you edit the drawing it updates the tables and when editing the tables … | |
I'm trying to make a script that makes a HTTP POST with some headers, and with a file as the body. I've found all sorts of documentation online about making a HTTP POST with headers, but can't figure out how to make the POST with a file as a body. … ![]() | |
![]() | Hello!:) I have made a script that can insert the data to the database but i can't get it out with my codes! I have chekked that names with tables, and rows are correct, but with no result! I hope that some one on this forum can help me?:) Code … ![]() |
I'm try to design a web page that displays pictures (thumbnail) with a link to the full size picture under the picture.. The code below shows the full path to the picture but I can't figure out how to make it into an link. Here is the php code:[code=php] <?php … ![]() | |
Hello, I was hoping somebody could help me. I have an estimator on a page that calculates cost. Its in a form and I Post action to pricing.php. On pricing.php I display line by line cost for the user. What I would like to do is once the user is … | |
Hello everyone, In my last company i was working with LAMP. I was using quanta as editor. I have never worked on windows platform for php web development. And now i have changed my company, Right now i have to use windows plat form, can anyone suggest me, good and … | |
well PHP is a powerfull text processing language designed mainly as a CGI ( common Gateway Interface ) programming language. But PHP supports rest of other features using the library extensions. For a example you can call any win32 API call in your PHP script using the win32 API library … | |
After a day of trying to code a simple tutorial from a book I have come to a point where the keyboard is about to go through the monitor :) Can somebody please help me. I have an admin screen, code below [code=php] <?php require_once('Connections/nib.php'); ?> <?php if (!function_exists("GetSQLValueString")) { … | |
Aww. I'm so sorry. I've been reading topics posted here about updating database using form. but i can't seem to find my error. I want to update my database using HTML forms. where in after i click a button "Edit Record" A page containing forms will appear where i can … | |
Hi, I have developed a SMS Application. There is a file name my.php I want to execute it after every 10 seconds so I can get new files which arrive. please guide me | |
I'm trying to display an array of images by using the following code but no images are displayed. The images are in a folder named images. Is there some problem using a variable in a path name? Or am I doing something else that is wrong? The variable $thumbnail refers … | |
Hi i have a form which also uses php to insert records into database, just name and address but also need them to pay via paypal, please help Form code [code=php]<form action="insert.php" method="post"> <div align="center">Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Email: <input type="text" name="email" /> <input … | |
Hi, I have a folder with ten photos and i want to give link for that photo.when i click the link first photo will only display and the remaining photos will be viewed by clicking next button or previous how to do that using PHP. [CODE] <a href="photo/dec1209"><font color="#0000FF">Click Here … | |
Hi there, I have a few sites plus a few clients' sites I have designed and manage. At present, when I want to add a new feature to all of the sites, I code it into each site individually. What I want to achieve is to be able to update … | |
hello am new here. i have a difficult problem i have been trying to solve for the past few months. i just installed lamp on ubuntu 10.08 and started building my first database application. i intend to build a form. the form is called sign.php and the script is defined … | |
Hi I have to develop a code for file configuration in PHP. My basic text file is stored in C:\abc my text file name format is Mobile#_Code.request Example: 923135470808_9033.request Now I want to read code 9033 from the name of text file which always be there after _ and before … | |
hi...... i am using window xp.....apache server m new in php i inserted record in database through forms .now i m facing problem to delete the records from database in php code..... above code is not working properly...give me solution within 2 days.... | |
Ok we are working with a script and we get the following error [CODE]Warning: Invalid argument supplied for foreach() in /xxx/xxx/xxx/spider.php on line 149 [/CODE] Im not sure what the problem is and I havent had any luck fixing it, here is the line in question [CODE]foreach ($array as $value) … | |
Hi All, I have a functionality in my website. When a user answers a question. The mail goes to the person who asked the question and also to the people who have already answered it. Suppose, A person opens his/her mailbox and finds that a question he asked or a … | |
Hi, I have found script on internet that grab received emails from inbox and store some basic info (like subject, message, author of email...) into MySQL. That part works great, but I have problem with getting doubled message. So when I receive email, script grab message but somehow she do … | |
Hi this is scorpionz, I have an hosting server of windows 2003 server machine, I have installed a xampp in it and hosted my dotproject installation on xampp, and installation went successful. Now when i run the web dotproject software PHP based, this is what happen: Firefox: (After login to … | |
Hi i am trying to create an RSS feed for my mobile application. I seem to be getting an error that i cannot seem to solve. I was hoping someone here could enlighten me. index.php [code]<? header("Content-Type: application/xml; charset=ISO-8859-1"); include("RSS.class.php"); $rss = new RSS(); echo $rss->GetFeed(); ?> [/code] this is … | |
hello friends, I am developing a database oriented website in which i have to handle alot of data. i am looking for a functionality similar to datagrid view of .Net in Php. Please help me out.... Thanks Marisha | |
Hi all, the following script will not increment (2nd level), but updates fine at level 1 (COMPLETED POSITIVE). can anybody see why? regards [code] if ($_REQUEST['16emp'] == 'Yes'){ $flag = $_REQUEST['flag']; $flag2 = 'COMPLETED POSITIVE'; mysql_query("UPDATE accounts SET `flag` = '$flag2' WHERE `client_id`='$clientid'") or die(mysql_error()); } else if ($_REQUEST['16emp'] == … | |
I am trying to build a Standings page for a hockey pool site that shows Wins, Losses, Ties, etc. I am struggling with the Tie section. If two teams have the same number of points (PF=PA) the team gets one point. I can get this part to work. However, at … | |
Well I have a lot of confusions about wordpress. And I unfortunately could not find a satisfactory answer to my questions. So expecting a detailed answer. To what extent we can customize a wordpress website? for what kind of projects we should use wordpress. Can we create a database oriented … | |
Ahm. after my problem about editing and stuff. here's now another problem. i'm updating multiple data on my database i patterned the codes in my previous post and after i've done editing here's what happened: [COLOR="Green"]mysql error You have an error in your SQL syntax; check the manual that corresponds … | |
I created a mobile version of a client's website. I created a subdomain called mobile.sitename.com In the past I have used this code on the index.php page: [CODE]<?php $mobile = "http://mobile.cogistix.com"; if(preg_match('/Windows CE/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");} elseif(preg_match("/iphone/i",$_SERVER["HTTP_USER_AGENT"])) { header("location: $mobile");} elseif(preg_match('/Blackberry/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");} elseif(preg_match('/PalmOS/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");} elseif(preg_match('/PalmSource/i',$_SERVER['HTTP_USER_AGENT'])) { … | |
I am running a form that pulls data from multiple mysql tables. However whenever the php/mysql code is in the html form tags it will not read the php/mysql nor will it read any php for exampl echo "here";. I have done this several times before so I imagine it … | |
Hi guys, I'm wanting a PHP code snippet which will search a database table based on 9 individual text boxes containing 1 character each. And then return all entries which contain those characters in any order using each character only once. So if it were the following characters; H E … | |
[code] <?php include("conn.php"); include("session.php"); ?> <html> <head> <title></title> </head> <body> <form action="user.php" method="post"> <table border="0" align="center" width="100%"> <tr> <td align="center"><a href="editevent.php">Edit Event</a></td> <td align="center"><a href="addevent.php">Add Event</a></td> <td align="right"><a href="logout.php">Logout</a></td> </tr> <tr> <td colspan="3"><b>List of events</b></td></tr> <?php $str="SELECT * FROM eventdesc "; $res=mysql_query($str); if(mysql_num_rows($res)!=0) { while($data=mysql_fetch_array($res,MYSQL_ASSOC)) { echo '<tr> <td>'. $data['eventdesc'].'</td> … |
The End.