39,402 Topics

Member Avatar for
Member Avatar for zodehala

[B]index.php[/B] [CODE] <?php /*header*/ header("Content-Type: image/png"); /*We'll set this variable later.*/ $new_string; /*register the session variable. */ session_register('new_string'); /*You will need these two lines below.*/ echo "<html><head><title>Verification</title></head>"; echo "<body>"; /* set up image, the first number is the width and the second is the height*/ $im = imageCreate(200, 40); /*creates …

Member Avatar for dezignwork
0
112
Member Avatar for Angel8552

Ok...I have decided to learn PHP and I could use some help from you guys. Though I have searched the Internet for free tutorials but could not tell which one was to choose. Could the PHP gurus here direct me to some cool PHP tutorials on the net? Help will …

Member Avatar for ProgrammersTalk
0
153
Member Avatar for MitkOK

Hi folks. I Have a question : I'm interested how you generate query string to search DB with more than 1 form with LIKE. For example : We have $_POST['name'], $_POST['title'], $_POST['phone'], $_POST['email']. How do you generate sql query to search with two criteria ( name and phone ) ? …

Member Avatar for dezignwork
0
167
Member Avatar for RobLamb

Hi Everyone. Still have had no joy on my last post but here is another. I am uploading an image to a blob field in MySql DB. Again, on my local machine its fine...however, on the server it does not get added to the field. All other information is added....eg …

Member Avatar for ashneet
0
85
Member Avatar for muruganasm

hi i have write the php language code. The login form creation. The validation part is ok.. but data is not pass to one page to another page. I have used `$_REQUEST` and `$_Post` method but not working.. any body replay me.. the following codes.. THe First file is login.php. …

Member Avatar for Cerberus
0
93
Member Avatar for Cerberus

I am trying to get this function to work and having a few problems. [CODE] if(function_exists("mysql_real_escape_string")) { $value = mysql_real_escape_string( $value ); } [/CODE] and i get an error: [B]Warning[/B]: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in w:\[B]pathname[/B] on line [B]11 [/B] Does anyone know how …

Member Avatar for Cerberus
0
98
Member Avatar for joruo

i have been trying to add javascipt in my php script to implement dynamic form filling but it seems not to work. the javascript code works well without the php script what could br wrong? [code=javascript] var alive1 = new Array("Yes","No"); var alive2 = new Array(""); var loss = new …

Member Avatar for johny_d
0
96
Member Avatar for Cerberus

Hi, is it possible to set up a PHP development environment on a home PC. I assume you still need web server software, however, i only want it to practice my PHP coding and not open up my system to the Internet. I hope that makes sense. Anyway if someone …

Member Avatar for zaphod2003
0
157
Member Avatar for MitkOK

[quote]PHP 4 end of life announcement [13-Jul-2007] Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will …

Member Avatar for stymiee
0
72
Member Avatar for w_3rabi

hey i have this problem giving me a painful headache and sleeplessness ive got these .prn files which should converted into DB and these files contain numbers along with arabic characters the problem is the encoding of these characters is not readable anyone hav an idea how i could convert …

Member Avatar for digital-ether
0
304
Member Avatar for toasty525

Hi can anyone help me with this ? Im trying to create a page that lets a user click a link and once that link has been clicked the page no longer displays that link for that user, i have all the databases set up to record clicks but i …

Member Avatar for digital-ether
0
311
Member Avatar for vssp

hi friends again vssp !!!!!!!!! I need to intagration the paypal application in my php application . first time charge of [B]$99.95 and [/B] Monthly recurring charge of [B]$9.95[/B] How to implement the paypal in myphp application . Please advise

Member Avatar for ProgrammersTalk
0
113
Member Avatar for Ganeshbabu

I have done a small web site with php and mysql. like following i need to put the record set and break the <tr> but some how its not working. can you guys please help me. ------------------------------------ | Data 01 | Data 02 | Data 03 | -----------------------------------| | Data …

Member Avatar for Ezzaral
0
82
Member Avatar for Aldebaran

Why, oh why isn't this simple thing working? I just want to understand why the variable $file1 is always empty. Other input types work just fine. [code] <?php $file1 = $_POST['file1']; echo "file1:", $file1; ?> <form ENCTYPE="multipart/form-data" action="add.php" method="POST"> File<input type="file" name="file1" /> <input type="submit" value="Submit Information"> </form> [/code] Jill

Member Avatar for Aldebaran
0
117
Member Avatar for azzu5

Hi guys, i want to start a PHP based online reciprocal web directory...please suggest me some good open source php directory! I am already using Skalinks here <snip> i want some thing more professional where i can show featured category, sponsers, banners etc Cheers

Member Avatar for brotherZ
0
81
Member Avatar for balagod

Hi, I am creating a folder through php code. but the permissions for that folder is not setting. I identified the problem is apache is different usergroup,FTP is different user group. so i want to know how can i change user group of apache. or how can i add apache,php …

Member Avatar for balagod
0
122
Member Avatar for asquiazon

Hi! I'm new with PHP and wondering if anyone here knows how to configure it in winXP..Thanks!

Member Avatar for Ezzaral
0
50
Member Avatar for omesa

Hello everyone, I got the warning below as I was using a 'register' page, Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() I would like to know how to setup a local mailserver, just for …

Member Avatar for Sylviana
0
315
Member Avatar for MB1765

For instance I want to implode these strings and prevent bad print $a = "Apple in pesian( "; $b="سیب"; $c=")use as a medicine for all illnesses"; print implode( " ", array( $a, $b, $c ) ); It's bad print // use as a medicine for all illnesses( سیب )Apple in …

Member Avatar for MB1765
0
169
Member Avatar for Dsiembab

Hello, I was wondering if someone could point me in the right direction. Is their anyway in php that I can change the outlook of an xsl file and include variables from my php script. I have an xsl file, I changed the file extension to php and it worked …

Member Avatar for Dsiembab
0
120
Member Avatar for invisal
Member Avatar for Lomas

[code=php] <?php if ($id == 1 && $lang == 1) { echo "hello"; } ?>[/code] hey guys i am working for my final year project. i have a problem. when i tried to run this url on my pc [url]http://localhost/filename?id=1&lang=1[/url] it wouldn't work.... but when i tried this on my …

Member Avatar for Eko
0
135
Member Avatar for tunday

Hello, please I need help with this problem. I am writing a web project using PHP. I have developed a wsdl for this project. Whenever I send a request from my cliet side, the server script handles it appropriately by calling the relevant function. However, the script returns null values. …

Member Avatar for tunday
0
101
Member Avatar for bubai

Suppose i upload a word file and see it html view. How it is possible in php?

Member Avatar for invisal
0
75
Member Avatar for invisal

How can I use variable from the outside of the class? For example: [code] <?php $outside = 'Hello'; class A { function printme() { print $outside; } } $cls = new A(); $cls->printme(); ?> [/code] How can I do it? please :D

Member Avatar for dr4g
0
106
Member Avatar for swaters86

I'm trying to learn php and I'm trying to build a simple form that stores data. However, I'm getting this error message when I submit my form: Parse error: parse error, unexpected T_STRING in /sites/yuma2/swaters210/home/public_html/music/music.php on line 7 you check out my form here: [url]http://www.stevenwaters.net/music/index.html[/url] [code] <? $artist=$_POST['artist']; $song=$_POST['song']; $album=$_POST['album']; …

Member Avatar for dr4g
0
177
Member Avatar for ReeciePoo

[CODE] <?php if (!$_GET['p']) { include "header.php"; echo "<br/>"; include "home.php"; } if ($_GET['p'] && $_GET['p'] == "home" || $_GET['p'] == "pricing" || $_GET['p'] == "portfolio" || $_GET['p'] == "order" || $_GET['p'] == "contact") { include "header.php"; echo "<br/>"; include $_GET['p'].".php"; }else { include "error404.php"; } [/CODE] The above code …

Member Avatar for dr4g
0
153
Member Avatar for pranto157

I am new on PHP proramming. I want to use mail() function to send mail. In my Pc there is no mail server. I have confiure my php.ini file that is - SMTP = localhost, smtp_port = 25, sendmail_from = null, sendmail_path = null. But I can not send mail. …

Member Avatar for dr4g
0
195
Member Avatar for sonirajesh

i am having trouble with uploading, when i upload big size file like >2M it hang the browser and show blank screen and file does not get upload. upload_max_filesize is set 8M also added set_time_limit(0); in my script But same thing on local network works file, seems problem in more …

Member Avatar for dr4g
0
56
Member Avatar for bhavin12300

i am littel new to this flied i need your littel help i got my database in my local pc at home and i want to use this database from remote place so is there any way to do this??? or any tutorial or some reference waiting for your reply …

Member Avatar for dr4g
0
82
Member Avatar for assgar

Hi I am php newbie and I don't know if I am approaching this properly. I need to creat a scheduler that list the appointment time on the left and client for a specific appointment time on the left. NOTE: The appointments are stored in a Mysql database This is …

Member Avatar for assgar
0
100
Member Avatar for cormee

Hi all, I've just spent the last hour or so reading the posts relating to phpbb v vBulletin here. The main issues everyone seems to have with phpbb are security/spam related. I have phpbb installed on my website and I have added a ton of mods to it so that …

Member Avatar for Dani
0
416
Member Avatar for tunday

Hi. I'm currently trying my hands on PHP and MySQL. I understand how to retrieve results from SELECT statements in PHP? However, I'm not exactly sure of how to do it when a procedure call is made e.g. [code] [COLOR=green]$query[/COLOR][COLOR=green] = [/COLOR][COLOR=green]"CALL mach_validity([/COLOR][COLOR=green]$student_id[/COLOR][COLOR=green], @result)"[/COLOR][COLOR=green];[/COLOR] [COLOR=green][B][COLOR=green]if[/COLOR][/B] ([COLOR=green]$result[/COLOR] = [COLOR=green]$mysqli[/COLOR]->query([COLOR=green]$query[/COLOR]) { [B][COLOR=green]while[/COLOR][/B]([COLOR=green]$row[/COLOR] …

Member Avatar for tunday
0
93
Member Avatar for s s paul

Hello I want to pass the database retrieved username after user logs on & hence to check login correctness I am using php & jsp [code=php] <?php $conn= mysql_connect("localhost", "root", ""); if(!$conn){ exit("Error in SQL"); } mysql_select_db("college", $conn); $val1=$_REQUEST['login1']; $val2=$_REQUEST['password1']; $sql = "SELECT * FROM tlogin WHERE tid='$val1' AND tpasswd='$val2'"; …

Member Avatar for doubledub
0
88
Member Avatar for shujjah

I would be grateful if anyone could help me i need a reviews and a news script for my gaming website written in php and sql i want a reviews,and a news script. i mean i want a script that will allow me to add reviews and some other editors …

Member Avatar for justinm
0
180
Member Avatar for ili82

Hi, My question is: which config variables in [B]PHP.ini [/B]must be set in order to show graphics? If anybody can tell me something about these settings I will be very thankful. Regards, Iliana

Member Avatar for vishu.awate
0
117
Member Avatar for mangophp

Anybody can pls tell me where we can use curl in our web applicaion ? want one example ..where we can need to see files from other websites ?

Member Avatar for mangophp
0
132
Member Avatar for steven_rhutz

Hi all, I'm having some trouble getting my php code to work properly. I'm submitting three different variables from a vxml form to my php. I then need the php to deposit the variables into files and update a mysql database accordingly, but it's not quite doing what I want …

Member Avatar for DanceInstructor
0
200
Member Avatar for sickly_man

i am opening a file using fopen() and that works fine. from there i want to print out the contents of the file....cant seem to get it to work. here's what i've tried so far. [code=php] $file = fopen("order_log_text.txt", "r+"); echo $file[0]; /*foreach ($file as $field) { echo $field; }*/ …

Member Avatar for spincycle
0
173
Member Avatar for php_coder

Hello all I am trying to generate a PDF file and then edit it from the PHP script. Tried the example given in the manual......but facing a fatal error [B]Fatal error: Call to undefined function pdf_add_outline()[/B] so i tried [B]pdf_add_bookmark[/B] for bookmarking instead of pdf_add_outline() but of no use... can …

Member Avatar for php_coder
0
157
Member Avatar for zachisevil

Hey how is everybody doing today? I am a noob in php (i actually just wrote my first php script yesterday) but I am running into a problem. I have a .php file and when I go to it on firefox it tries to either open with a program or …

Member Avatar for zachisevil
0
105
Member Avatar for joo123

HI ALL DOES ANYONE KNOW TAHT [url]http://www.ebazar.am[/url] IS RUNNIG ON WHICH SYSTEM OR DOES ANYONE KNOW ANY FREE SYSTEMS LIKE THIS. Thanks

Member Avatar for roobik
0
96
Member Avatar for etienne.grove

Hi. Im a new php user. Teaching myself. I need to findout how to do a script for: example: Im using oscommenrce for our online shop. Our payment company thats going to do the credit card transaction requires people who buys online to accept the terms and conditions before the …

Member Avatar for Puckdropper
0
96
Member Avatar for sandeshsm

Is popup function in PHP-SMARTY plugins work in I.E. v 7.0 or Opera v 9.21? It worked in other browsers like mozilla,firefox,netscape navigator. Can anyone give me the solution?

0
49
Member Avatar for john1725

Hello, I am looking for a software developer to develop a utility which is accessible on the web. There is a program called Gentle Program which you can download from [url]http://www.doremifasoft.com/gentlepiano.html[/url]. This reads a proprietary file format file ending in .lmz which allows you to read the sheet music. I …

Member Avatar for iamthwee
0
82
Member Avatar for dudegio

Have a nice day to everyone! Pls help me on how am i going to configure my document root and drives for the fact that i encounter this errors: pls... pls... pls... `Warning: mkdir() failed (No such file or directory) in C:\websites\pjs3\BillingRegularDetailedSave.php on line 1928` `Warning: fopen("/PJS/2007-06-29/000002.txt", "a") - No …

Member Avatar for php_daemon
0
254
Member Avatar for soutie

Hi All I'm a home educated website owner, only been doing it for three weeks. I would like to start a free membership for certain areas of the site, so far all I have tried has failed and is very frustrating. Can someone please send me to a user friendly …

Member Avatar for digital-ether
0
93
Member Avatar for ninesevenintera

Hi I've just found this website whilst looking for tutorials on how to create an php search function for a website i'm working on and wondered if anyone could offer me some advice. Basically I need to create a search function for a recruitment company website that consists of 2 …

Member Avatar for digital-ether
0
80
Member Avatar for Sp!ke

I'm writing a CMS-style application, and I can't quite figure out templating. I have a function that returns the file contents of a templaet file within a themes directory. That part works fine. Inside one of those files is a mix between HTML and PHP variables, for example:[code]<html> <title>$title</title> <link …

Member Avatar for digital-ether
0
148
Member Avatar for hamarsheh

Hi everbody! i need single sign on software for our php website , For all application, because we used visual basic and php, and another things so we need software to do single sign on , that the user logs once to his page , and logs out when ever …

Member Avatar for hamarsheh
0
102

The End.