39,402 Topics

Member Avatar for
Member Avatar for Dukane

I'm trying to process a text file saved in the directory below where the PHP script is running. First, it lists all of the files in the directory, skipping over . and .. Finally, it attempts to get a file handle for each file one at a time and then …

Member Avatar for Dukane
0
1K
Member Avatar for anuj_sharma

HEY GUYS i tried to open a php file with a notepad but accidently when i was opening it the check box which said that always use the selected program got checked. Now php files always with a notepad. whether i run it on the browser it opens teh file …

Member Avatar for peter_budo
0
62
Member Avatar for justinmyoung

Thanks to the help of many on this forum I've been able to put together a script that allows me to do some basic CMS functions, like pulling data from the MYSQL database, displaying it in rows/tables, etc. Now I have tried to extend the functionality of my search by …

Member Avatar for mcd
0
307
Member Avatar for ishlux

Hi all, I have two buttons, submit and back......after clicking the submit it will go to the action part, but i have another button back , if i click on the submit it has to go to previous page so how to do. as i think we can only one …

Member Avatar for jsrpatna
0
170
Member Avatar for heni_pro

i've anothe question, in here. I've made a registration form which 've region and zone with selection type. Main thing is wheni select the region, the zone list must come out as selection method from the DB. i've got the problem in php codes... help me outt...

Member Avatar for peter_budo
0
71
Member Avatar for AliHurworth

Hi, I'm creating a small application with a "mood generator" on it. Basically, the user chooses a colour and a saturation, and this data is queried against a database to produce a sentence. For example, choosing a deep red in a very pale shade might show "I'm really angry, but …

Member Avatar for AliHurworth
0
143
Member Avatar for ramseswar

i have made the form action a variable..ie code echo the 1.php if registration values have been set by the user accordingly....and register.php if user have entered some improper values. then i save these values in session variables and call these variables on 1.php to enter in the database. my …

Member Avatar for ramseswar
0
109
Member Avatar for danishbacker

[code=php]<? //inbox.php $data = mysql_query("SELECT * FROM mailbox WHERE `index` <= $index_end and `index` > $index_start") or die(mysql_error()); $info = mysql_fetch_array( $data ); if($info['read'] == 0) { echo "<span class=\"tableStyle\">"; $tabColor = "tableStyleNew"; } else { $tabColor = "tableStyleOld"; } //print table start echo "<table class=\"$tabColor\" bordercolor=\"#FFFFFF\" border=\"1\" cellpadding=\"0\" cellspacing=\"1\" …

Member Avatar for danishbacker
0
113
Member Avatar for queenc

hi i have a longtext field in mysql.i want to write the data which is in longtext to a .doc file.so tat when the user clicks download all the data will get downloaded in a doc file thanks in advance

Member Avatar for langsor
0
85
Member Avatar for Scooby08

Is there way to tell if a radio button is checked by not using the value at all?? And by not using any javascript either.. Here is what Im using: [code] <input type="radio" name="item_id" value="1" /> <input type="radio" name="item_id" value="1" /> [/code] Now I need the name and value to …

Member Avatar for mackone
0
115
Member Avatar for Ole Raptor

hello, i am having some problems retrieving email from gmail. im not sure if its because its pop or what. unfortunatly my host doesnt have the pop module. but here is the code. [code=php] $imap = imap_open("{pop.gmail.com:995}INBOX", "username", "password"); $messages = imap_sort($imap, SORTFROM, 1); foreach ($messages as $message) { $header …

Member Avatar for Ole Raptor
0
294
Member Avatar for mrcniceguy

CAn any one show me code or explain how i can display data from mysql database in drop down menu. I will appreciate your Help))))

Member Avatar for mrcniceguy
0
87
Member Avatar for sarithak

Hey.. here i am going to do root map ..its working fine..but i have some extra features.. it includes (WHEN WE CHOOSE A COUNTRY ,THEN AUTOMATICALLY DISPLAY STATES IN THE OTHER SELECT BOX...THEN THE LOCATION WILL GOES TO SELECTED STATE..] PLZ DO SOME HELP AEAP............ its very urgent... here is …

Member Avatar for langsor
0
257
Member Avatar for oscexperts08

Hi all, Is Article writting helpfull to increse PR? Can any one Describe me about Types of Articles? To get PR3-5 in google what we have to do? Right now we have a launched a new site <URL SNIPPED> Can anyone help me for this? Regards, OSCE <EMAIL SNIPPED>

Member Avatar for langsor
0
79
Member Avatar for forzadraco

i have a problem how to make a lock feature with ajax-php where a user view some file in the list file, another user will view lock message without refresh it page.

Member Avatar for langsor
0
93
Member Avatar for jynx_o7
Member Avatar for langsor
0
75
Member Avatar for ufucuk

Hi; I have a simple problem. I want to match anything between "<td>...</td>" tags. My string is <td> <a class="page" title="myPage" href="/mypage/888"><img class="hotel" src="mypage.png" /></a> </td> I have tried several ways but couldn't get "<a class="page" title="myPage" href="/mypage/888"><img class="hotel" src="mypage.png" /></a>". Thanks.

Member Avatar for langsor
0
115
Member Avatar for asyieen

hi guys.....can anyone check my coding....what's wrong with my coding? the iframe that i'm trying to make, doesn't works well......when i click on the link, it goes to next page.....what i want is, when i clicked on the link, the info will come out in the same page....here's my coding.... …

Member Avatar for Demiloy
0
164
Member Avatar for veledrom

Hi, When i hit the F5 to refresh the page, sql statement in that page runs again. It means last insert, update or delete process is triggered again. How can i solve this problem. Is it necessary for me to do insert, update or delete processes in other pages to …

Member Avatar for digital-ether
0
216
Member Avatar for Scooby08

Im just curious as to how one would approach adding up a column that is dynamically built from the database.. Each loop passes a price and I can't figure out how to collect each price to get the total price..

Member Avatar for buddylee17
0
97
Member Avatar for siliconsmiley

Howdy folks, I need to open a dialog with some people that know more about Linux than I do. Specifically Apache httpd. I'm not sure that this is the appropriate place for this, so be gentle if not. Here's my situations, I have a Fedora install of Linux up and …

Member Avatar for dickersonka
0
142
Member Avatar for arulkkumar

Hi all, Currently we are looking for a tracking system with following featues, kindly let me know what could be the best (or closest) open source system to fit into this requirements. Workflow for a project that each task needs to go through: - Loin - Design - Testing (if …

Member Avatar for buddylee17
0
102
Member Avatar for ishlux

Hi all, i am getting this error whats wrong in the following code Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\demonew\contractor_testing_checkbox.php on line 24 [code=php] <?php session_start(); include('database.php'); $result = mysql_query("SELECT * FROM autoalto_contractor" ); while($row = mysql_fetch_array($result)) { extract($row); $radio = unserialize($service_category); foreach($radio as $key ) { echo $key." …

Member Avatar for nav33n
0
81
Member Avatar for sahdev86

hai...i neeed help on how to upload image to my web...and i want the image store in the database and later retrieve image from the database to the web....i want the image in thumnail form wen it is uploaded in the web....can anybody help me with in a simple php …

Member Avatar for sahdev86
0
75
Member Avatar for eyecandydesign

Hi everyone, recently i have been recieving errors from my website like this WARNING: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to udp://194.68.45.50:0 (Failed to parse address &quot;194.68.45.50&quot;) occurred in [url]http://maniplantdoctor.com/readme.txt[/url] on line 441 on Thu Aug 7 13:40:49 CEST 2008 could anyone shed some light on what it means, and …

Member Avatar for eyecandydesign
0
337
Member Avatar for god_1896

hi all; i have found a code that would generate a time and date, this works fine, my main goal is i want to change the date and time format. here is the code that i found, [CODE]mysql_query("INSERT INTO mailrecord set date=CURDATE(), time=CURTIME()");[/CODE] this format will output [CODE]CURTIME() : 14:13:32 …

Member Avatar for nav33n
0
84
Member Avatar for webkrios

Hi, I have created a form and have successfully sent it to my email address. However, not all of the "message" comes through in the email. The only part of the message that comes through is the "contact" part. Can you please help?? I thank you very much in advance! …

0
75
Member Avatar for god_1896

hi all; i have a code that would send in two person, after submmited the form, only one person recieve the email here is my code; [code=php] <?php $name = $_POST['name']; $sender = $_POST['e-mail']; $phone = $_POST['phone']; $subject = $_POST['subject']; $message = $_POST['message']; $email = $_POST['email']; $sendTo = $email; $return_to …

Member Avatar for saikishore
0
295
Member Avatar for heni_pro

i'm doing php project on e-voting and i've a data goes from voters in the databse can u help me to give me the php code that counts the votes in voting seesion and display the result..plzzzzz

Member Avatar for R0bb0b
0
106
Member Avatar for theimben

is there a way for me to echo the whole database so it will display all the information held within the database?

Member Avatar for Demiloy
-1
85
Member Avatar for samlabs821

Hello progers There is a big question in my mind I know that now PHP is popular but JSP is also known . . . so can you answer which language will be popular in future

Member Avatar for peter_budo
0
93
Member Avatar for banrock
Member Avatar for justted

Hello, I am trying to make the code below work so that when a member visits his/her own profile they can see the $bank_balance along with all the other details. However, when the member goes and visits someone elses profile I dont want them to be able to see the …

Member Avatar for R0bb0b
0
181
Member Avatar for veledrom

Hi, I want to send authenticated mail in php. i know smtp and phpmail classes. Is there anyone to help me? I have followed scripts on net but, i couldn't send an email. Anyone with working solution? Thanks

Member Avatar for veledrom
0
133
Member Avatar for veledrom

Hi, I can't send authenticated email from phpmailer. Code and error are shown below. If SMTPAuth is false then mail goes only to my mail. Everyting under C:\wamp\www\phpMailer. I didn't do any changes in "class.phpmailer.php" file. Thanks Error: "Mailer Error: SMTP Error: Could not connect to SMTP host." Code: [code] …

Member Avatar for veledrom
0
99
Member Avatar for Rakesh Nagekar

hello friends, Good Morning , i require code for saving path of file in database can any one provide me. Thank u Rakesh Nagekar

Member Avatar for Demiloy
0
486
Member Avatar for mindfrost82

I'm sorry for my ignorance, but I'm fairly new to PHP, so let me explain what I'm trying to do. I'm using a CSV file as my data source, which isn't a problem, I can read/write fine. I'm using this code to create a table from the CSV file: [code] …

Member Avatar for mindfrost82
0
2K
Member Avatar for AliHurworth

Hi all, Where am I going wrong here? I'm getting a syntax error... [QUOTE]Database ERROR1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[/QUOTE] [code=php] <?php require_once('Connections/connect.php'); # this is …

Member Avatar for nav33n
0
94
Member Avatar for skinbug

Hi, I've looked at various tutorials/forums at this but I still can't get my head around it... The senario is a html form processed by php, where the user has the option to check some boxes. Once the user has submitted the form, the admin wants to be able to …

Member Avatar for skinbug
0
104
Member Avatar for rezvi

hello everyone, I am having a problem with populating second a drop down list depending on selected value of first drop down list. I have been searching the net for the last couple of days i found php with mysql and but couldn't find anything for oracle + php. in …

Member Avatar for Shanti C
0
150
Member Avatar for skinbug

Hi all, when inserting values stored in an array to MySQL database, where do the values go? I have a form with 5 checkboxes that may or may not be checked, their names all being an array. Question: how do I write the sql file? assuming the names are nature[] …

Member Avatar for praveen_dusari
0
113
Member Avatar for Q8iEnG

Hi all my friends :) I hope you're all doing great :) I need a small help from you, and I hope you'll not let me down *shy* I have a script that it shows all images in the directory of my site under the folder (Albums) for (.jpg) only! …

Member Avatar for nav33n
0
155
Member Avatar for justted

Hello, I was wondering if anyone could help me as I am trying to add all the rows of a particular field in a MySQL table using PHP. I have a table named members2 which has a field named points! What I want to be able to do is display …

Member Avatar for justted
0
227
Member Avatar for AliHurworth

Hi all, I'm struggling to write an SQL query. I'd like to search a database for either a person or an organisation. I have an HTML form on a homepage, and this returns two values: [LIST] [*]a search term [*]a search type, either 'person' or 'organisation' [/LIST] code: [code=php] <form …

Member Avatar for AliHurworth
0
177
Member Avatar for andrew13d

hello people. I am extremely new to web design, I have read html quite alot I need yo help however to design a database for an inventory that is accessible over the internet. Can I use MS Excel or Access for the inventory database? Which scripting language of php and …

Member Avatar for langsor
0
136
Member Avatar for lydia21

hi, i written a code for sending html maIL.MAIL FUNCTION IS WORKING BUT THE MAIL I AM GETTING I HAVE DISPLAYED BELOW.please do tell me how to send html mail [ICODE] $headers = "From: [email]cggroup@car.com[/email]"; $toa = "lydia@gmail.com"; $subject1 = "An Agreement has been signed for your Job Order"; $body2="<html><head></head><body>"; …

Member Avatar for buddylee17
0
145
Member Avatar for veledrom

Hi, I need to send email with authentication. I have downloaded class.smtp.php and class.phpmailer.php files. I have tried to send an email but, i thing i miss something. Therefore, i cant send it. Can anyone help me to do this? Thanks guys 1-What settings do i need to do in …

Member Avatar for veledrom
0
101
Member Avatar for goodwin69

ok well here is the deal , currently started a webhosting company , been going 3 months now , as i have only been selling from msn and irc , im looking to expand , so what i am in need of is a fully working php site with site …

Member Avatar for nikesh.yadav
0
48
Member Avatar for god_1896

hi all; I have code that proform the dropdown list of the country. then after submmitted, it show the ouput, but the country i select from my drop down list, did not display. here is my whole code of drop down list. [CODE]<?php echo '<input name="country" type="hidden" id="country" size="30" maxlength="75">'; …

Member Avatar for nikesh.yadav
0
290
Member Avatar for blood08

I am trying to make my script install a config file with the right settings so the it can be used by anyone. Here is the file that will create the config file: [CODE=language] <?php $dbhost = $_POST["dbhost"]; $dbuser = $_POST["dbuser"]; $dbpass = $_POST["dbpass"]; $dbname = $_POST["dbname"]; $location = $_POST["location"]; …

Member Avatar for digital-ether
0
118

The End.