473,788 Members | 2,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
10
2,106
thread by: Patrick Drouin | last post Dec 21 '07 by: AnrDaemon
Hello everyone, I am puzzled at PHP's handling of regex. Here's the code: <?php $str="aabcc"; $pattern="/((a+)b?(c+))/"; preg_match_all($pattern,$str,$matches);
1
3,594
thread by: Jim McCullars | last post Dec 21 '07 by: stepotronic
Greetings: Getting configure errors trying to build PHP 5.2.5 under Solaris 9. The configure command I use is this: ../configure --with-mysql --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local and I get this error:
0
1,145
thread by: Wim Hoogenraad | last post Dec 21 '07 by: Wim Hoogenraad
Dear Webmaster, As you may have noticed we have had some trouble with the Linkpage Analyzer and the Datacenter Analyzer tools on our website. The resultpage that shows your profile had some errors showing the PR of your portfolio to. All these problems were caused by the PageRank script we used. The usage of that script ended in a 403...
1
1,565
thread by: tromton | last post Dec 21 '07 by: Markus
hello all, ive been wondering latley if someone could change a get variable, so he can change a sql statement that way, that he could delete data from my database. the following ive thought of: $_GET = "123" $sql = "select * from test where id = '".$_GET."'"; .....
1
1,199
thread by: Davinder16 | last post Dec 21 '07 by: Markus
I want to create website in two language (English and Spanish). How can i create .Please help me.
1
1,989
thread by: shankari07 | last post Dec 21 '07 by: Markus
hi guys, I'm trying to run an excel report using php. It runs ok but if i give some conditions it says like this The resource cannot be displayed The resource you are looking for cannot be opened by your browser. --------------------------------------------------------------------------------
0
5,014
thread by: pac1250 | last post Dec 21 '07 by: pac1250
Hi, I am searching how to solve a problem and I dont find it :( I want to access a page from a script behind a proxy : (my script) <-(a proxy with authentification) <-(https serveur with authentification) -----------------------------------------------------------------
2
1,265
thread by: rpain | last post Dec 21 '07 by: Markus
Hi - I'm looking for a simple editor which can edit static text files online (php based). I'm doing a site for a client and they'd like to be able to edit the text in some of the pages. Rather than either going down the adobe contribute route or stretching to a full db based solution with admin area I thought it'd be easier to come up with a...
1
1,717
thread by: Sean128 | last post Dec 21 '07 by: Markus
Hi, I hope someone can help me - this seems like it should be a really simple problem but I've been having trouble trying to solve it all week. I have hosted my website on a Linux server in 1 and 1 that I can not modefiy the Apache server. They told me I need to create the .htaccess file. The code that I put in my Biocon folder in my...
1
1,267
thread by: Vincent | last post Dec 21 '07 by: Vincent
Hello, I am trying the auth module like in the example : http://pear.php.net/manual/en/package.authentication.auth.intro.php But I don't understant why if I reload the test page , a new session is set. How keep the same session for many pages ?
1
1,587
thread by: mgn2683 | last post Dec 21 '07 by: Ranjan kumar Barik
I am working on a project using Dreamweaver CS3, and I am not very familiar with html or php code. Essentially I am trying to set something up so that a user is allowed to enter information into forms, but I would like to have a 3 hour session time. Does anyone know any code that would work? I tried: <?php // Prolong session...
1
2,473
thread by: mrbadboy | last post Dec 21 '07 by: rpnew
Hi, I need to submit multiple forms with using single button. I've mentioned my code below. <? if(isset($_POST)){ print_r($_POST); } ?> <script type="text/javascript">
1
3,391
thread by: chicago1985 | last post Dec 21 '07 by: Ranjan kumar Barik
I have a unique constraint in my Oracle table for 3 fields. If I enter duplicate info on the table using Oracle client I will get an Ora message error ORA-00001 that tells me it is a duplicate entry attempt. How do I capture that in my PHP page if someone tries to enter duplicate record info? My PHP Oracle insert statement in the action...
1
2,735
thread by: bhargavi514 | last post Dec 21 '07 by: Ranjan kumar Barik
<? session_start(); $username=$_POST; $password=$_POST; mysql_connect ("localhost", "root", "sunkalpid") or die ('My SQL Error: ' . mysql_error()); mysql_select_db ("appzsolute"); $stuff = mysql_query("SELECT * FROM `employee_login` WHERE username='".$username."' AND password='".$password."'") or die("MySQL Login Error: ".mysql_error()); ...
2
1,807
thread by: bhargavi514 | last post Dec 20 '07 by: eihabisaac
friends i need a php code to retrieve 10 records from database and display values in a table by using php and my sql
2
2,145
thread by: Gordon | last post Dec 20 '07 by: Warren Oates
I'm a web developer who does a lot of work in PHP. The back end database we use is bases on Postgres. I am trying to set my new MacBook Pro up as a development system. I have managed to install Postgres from http://sourceforge.net/projects/pgsqlformac/ and can access the database on my mac with tools such as pgAdmin. I have also enabled...
1
1,393
thread by: fruityfreak | last post Dec 20 '07 by: prabhakarb
Hi everyone! I was just wondering if it's possible to do the following... And is it hard to implement such function into PHP codes... Assume that I have a drop down field whereby a user can select the different brand mobile phone i.e. Nokia, Samsung... For instance, when a user selects Nokia, another drop down field will update its values...
3
1,702
thread by: sbettadpur | last post Dec 20 '07 by: fruityfreak
hello all, i have one problem, after submitting form values into database table, at the same time page has redirect to another page i.e email form but i am getting error as header already sent. please get me the solution
6
1,949
thread by: John Doe | last post Dec 20 '07 by: Rob
Here's my issue: I have an instant messenger type feature for my site, its basically an ajax IM feature. I run with a mysql backend on the site, i have a div on my main page that runs a javascript timer to load the php page via ajax every 15 seconds which checks the "pinguser" table to see if the user has any chat requests, then echoes them to...
5
2,011
thread by: movieking81 | last post Dec 20 '07 by: nathj
Hello All, I'm building an inventory database for my company and I need to setup some specific select statements to write the material to a web page. There are duplicate descriptions in the database that we don't need to display on the web page and I need to total the quantity even though it doesn't display every description. So I'm trying to...
2
6,710
thread by: dsudhakara | last post Dec 20 '07 by: Anthony2oo5
Hi, I want to disable the refresh button in toolbar and F5 key also in Mozilla Firefox . Please help me immediatly
11
1,600
thread by: Bob Bedford | last post Dec 20 '07 by: Toby A Inkster
Hi all, we have many people that have registered to our newsletter and we are getting every time more people who the email is unavailable. It's there any technique to detect such unavailable address ? We tought about using a special email (like newsletter@ourdomain.com) then using a PHP script to catch the returning email and catch some...
1
2,199
thread by: bhargavi514 | last post Dec 20 '07 by: Markus
friends i need the code to retrieve value from database and display value in text area using php
3
6,217
thread by: Johnymap | last post Dec 20 '07 by: code green
Hi Everyone! I am building a site where users upload files in rtf format. The problem is I want to implement a script to automatically convert this rtf files to html files and build a links page with all this files, so when a user clicks on the link the file should open up in an html format. Can anyone please help. Thanks in advance.
3
1,710
thread by: Bint | last post Dec 20 '07 by: Toby A Inkster
Hi, I'm trying to parse an xml file into an array tree. From the PHP site in the comments, I got this code. But it doesn't work for me. It's saying that the passed variable is not an array or object in the call end($stack), in the first function startElement(). Anyone know why that would be? $stack is an array, as far as I can tell. ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.