39,316 Topics

Member Avatar for
Member Avatar for ChrisJ

In a php script I'm using the Registration page only had fields for name and email address, basically. I added fields, just by copying the code on the page. I added Address1, Address2, City and State. Then I added those fields to the mysql db. However, I need help with …

Member Avatar for ChrisJ
0
305
Member Avatar for gingank

Can anyone tell me is i want to post the $to with the select box how to do it i write the code [code=php]$to= $_POST['to']; if($to == ''1") {POST "address 1";} else { $to=="0" {POST "address 2"}}[/code] Then i mail will post to email address 1 or 0. But the …

Member Avatar for cwarn23
0
136
Member Avatar for Arctic wolf

Hello, as you all already know from my previous question I'm new in PHP(by the way,thanks again for the previous help), I am trying to build a simple "walking" program,so I'll have "forwards", "backeards","right" and "left" buttons and when I click on one of them the picture on the page …

Member Avatar for Arctic wolf
0
123
Member Avatar for borntowin_786

Hi , I am a new in using codeigniter.I want to use a single show_404 page for both admin and user side.But in different way.i.e.if user try to change anything in URL he should be redirected to custom 404 page.this is not required in admin side.So how to differentiate between …

Member Avatar for cwarn23
0
87
Member Avatar for SoulMazer

This is my first PHP script, so please excuse my clumsiness. I have a HTML page which consists of a form and a PHP page which deals with the variables that are outputted. The HTML page functions as a small box that asks to input an email account/password, and the …

Member Avatar for SoulMazer
0
88
Member Avatar for mathman54

Hi, I am lookiing for information as to what people are doing with PHP: Are you using just php in your work? Are you using a templating system like Smarty? Are you learning php? Do you find any of the books teaching php any good? Which one(s)? When an author …

Member Avatar for cwarn23
0
109
Member Avatar for gingank

Hi Everyone, I using EasyPHP now i find out it work every thing in my pc but when i open my things on other pc using the intranet i cant be display it Someone tell me why this happen? i already set the httpd.conf already but still can not. If …

Member Avatar for cwarn23
0
70
Member Avatar for furqan219

Hi to all I have designed a entry page which is used to INSERT Data in a Daatabse table. I use meta fresh tag time =60seconds Now I want to show that in another page with 2 control buttons ACCEPT and REJECT. Problems: 1. I need to show only one …

Member Avatar for furqan219
0
212
Member Avatar for Plyswthsqurles

Ive got the email program itself working fine. It interacts with a database to get the "subscriber list" as the people it sends it too. My problem now is i need to fix it to be able to send .pdf files. I have found a couple of scripts that work …

Member Avatar for Plyswthsqurles
0
175
Member Avatar for julio gomez

Hi, I am testing a PHP web site offline using XAMPP server application. The website runs great, but the only problem is that the .css is not running. The odd thing is that if I am online and I test the website locally the .css file works, but if I …

Member Avatar for julio gomez
0
68
Member Avatar for hmajidy2001

Hi PHP community. I have a PHP script on Linux (CentOS 5.2) which produces a "failed to open stream: No such file or directory" which I am out of ideas on how to solve. I am on the verge of reverting to Perl. The line generating the code is: [icode]$fh2 …

Member Avatar for hmajidy2001
0
4K
Member Avatar for diafol

Hi folks, first of all sorry to say I ain't got any sample code and couldn't find anything obvious from Google and searching forums. Anyone got any ideas about integrating Joomla (latest version) session handling with a bog standard session_start/$_SESSION['user'] (etc) custom pages. Here's the explanation: I wrote a site …

0
181
Member Avatar for avukadomusic

here is my code with problems: [code=php]$url = 'somesite/somepage'; $str = file_get_contents($url); preg_match('/\w(\d*).*?\$/',$str,$matches); print_r($matches[0]);[/code] the goal is to type in any webpage and get its source code into $str and then find the first appearance of the symbol $ in the string and return only the number closest to that …

Member Avatar for digital-ether
0
105
Member Avatar for k2k

hi, does anyone know a secure way to login to another page with username and password. i found numerous on google but i don't know which one is good. if anyone has any good source codes please help.

Member Avatar for MehdiAnis
0
545
Member Avatar for camerman

Hi all. I am just beginning with PHP and I'm having some trouble installing PHP5 with Apache 1.3.29. Both finally seem to be installed and running after some tweaking of the httpd.conf file AddModule comand. However when I run a php file in my browser (IE) I get a message …

Member Avatar for b3n222
0
226
Member Avatar for geny

Hi, There is this link -> [url]http://data.giub.uni-bonn.de/openrouteservice/php/DetermineRoute_rajan.php?Start=7.0892567,50.7265543&Via=&End=7.0986258,50.7323634&lang=en&distunit=YD&routepref=Fastest&avoidAreas=&useTMC=false&noMotorways=false&noTollways=false&instructions=true[/url] ! where I need to extract text, perhaps -> <xls:Instruction>[B]Drive half left on Kaiserstraße[/B]</xls:Instruction> <xls:distance value="[B]284[/B]" uom="YD"/> (bold text). On using something like this : [code] $url="url_just_shown_above"; $output = file_get_contents($url); $xml = simplexml_load_string($output); echo $xml->xls:RouteInstruction->xls:Instruction."<br />"; [/code] I am getting error -> Parse …

Member Avatar for digital-ether
0
107
Member Avatar for itnagusak

hello. i have a page where if you don't select an option an alert message is displayed(i'm using javascript and php). when the user clicks 'ok' the parent page is refreshed. i don't want this(the refreshing). can anyone tell me what to do?

Member Avatar for itnagusak
0
88
Member Avatar for gingank

I a newbie on using the phpmailer. Correct me if i wrong. I create a html index page that a submit form. When i fill up the detail on the form press send it will send mail to my email account using phpmailer function. Question why i cant recieve the …

Member Avatar for Atli
0
241
Member Avatar for skaiwayne

I have 2 mysql tables companies and owner. 1 company can have multiple owners. So far I can insert the company and one owner just fine. But I am having a hard time inserting more owners on the same company. I don't fully understand how to get my value out …

Member Avatar for djjjozsi
0
108
Member Avatar for krm08

Hi experts, I'm extreme beginner in PHP.My problem is that,i've an html page and there's combobox on it,I want to load the form according to the selection of items. The html page is [code=html] <form action="search.php" method="post"> <select name="option" size="1"> <option value="1">value1</option> <option value="2">value2</option> <option value="3">value3</option> <option value="4">value4</option> </select> <input …

Member Avatar for djjjozsi
0
96
Member Avatar for mbabaali

am writting my class work project assignment but am stuck can some one help me out, am tring to pick data from patients table and diagnosistreatment tables which are mysql tables but the code is not working [code]<?php //This code retrieves a particulat patients record from dianosis and treatment table …

Member Avatar for djjjozsi
0
94
Member Avatar for mr.khurrams

I want to make the clone site of [url]http://fishershippingcompany.com/home.php[/url] . is it possible in wordpress or I have to self code this all??? Please suggest me

Member Avatar for mr.khurrams
0
311
Member Avatar for nigelburrell

Hi I am developing a login screen for my website, with usercode and password fields, and a Login button. I need to know how I can make the Login button automatically submit when the user hits the Enter key in either field (as apposed to the user clicking the Login …

Member Avatar for diafol
0
2K
Member Avatar for enzogoy

I just create a php page where user will enter their name in then the page will send them an email with a few word in the body message. Here is the code: [code] $fromEmail = "admin@domain.com"; $subject = "Welcome"; $body = "Hi,\n\nYou have visited the page."; if (mail($Email, $subject, …

Member Avatar for gingank
0
151
Member Avatar for gingank
Member Avatar for gingank
0
103
Member Avatar for devin.lawks

I have no idea why, but the form mailer I'm using is not working correctly. Granted, I'm still a newb, but everything in the code looks fine to me. I'm using a modified version of the free form mailer available at [url]www.TheDemoSite.co.uk[/url] The exact problem is this: I fill out …

Member Avatar for peter_budo
0
227
Member Avatar for kings

hi, my clients have asked to do payment gateway using RBS worldpay.please do tell me how start the integration using php. thanks in advance.

Member Avatar for nikesh.yadav
0
125
Member Avatar for duttydea

Hi all, I need some help creating a cart system. I’m currently using roman cart & MySQL which means I have to maintain two separate databases. The MySQL database holds the Product information and a Link to RomanCart. When the user clicks the “Add to Cart” info is added to …

Member Avatar for chris055
0
193
Member Avatar for Suhacini

hi, How can I search from multiple tables in a db?DB I am using is MySql db. Thank You, Suhasini

Member Avatar for digital-ether
0
339
Member Avatar for abhi_elementx

Hello guys, I m trying to run a simple php code. I have Apache Tomcat/6.0.18 running. I dont know if it is php enabld or not. i've created a hello.php file: [ICODE] <html> <body> <p>This is going to be ignored.</p> <?php echo 'While this is going to be parsed.'; ?> …

Member Avatar for KevinADC
0
84

The End.