473,538 Members | 2,706 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.
0
376
thread by: groups | last post Sep 19 '05 by: groups
Hello, I am building a diet/weight loss website where a customer would subscribe for 1,3,6 or 12 months. I am using Paypal IPN to handle the subscription payments. I would like to create a schedule when the customer first logs in from the date they signed up to the date when the subscription ends and every 7 days is highlighted as the weigh...
0
376
thread by: Bob Bedford | last post Oct 6 '06 by: Bob Bedford
Hi all, I've to parse XML files on the fly and I must admit I'm far away to understand why the parser are done. The files I receive have all the same structure, and due to limitations of my hosting (I can't change, so don't tell me to) I have a 10 seconds script limit. My XML files contains datas and images.
0
376
thread by: LittleAlex | last post Sep 15 '08 by: LittleAlex
spam
0
377
thread by: Garry Jones | last post Feb 20 '06 by: Garry Jones
I am new to php and just using it to replace frames and simplify code. I have a website with 7 sections. Each section can be identified by a number. The user can click on any one of 7 buttons to choose a section. I want a different colour for the button of the page that is activated. I have tried this <?php $page = 1 ?> 'to...
0
377
thread by: IchBin | last post Jul 30 '06 by: IchBin
I am trying to use Java from with in PHP. I have looked at the docs from PHP and still having a problem. Looks like the docs came from Zend. I have been looking at docs at: http://us2.php.net/java. When I look at the 'User Contributed Notes' I find a proliferation of examples to do the same thing of which I can not get to work. Some...
5
377
thread by: Sudhakar | last post Mar 31 '08 by: Jerry Stuckle
i have a registration page which is a self submitting form <form action="<?php echo $_SERVER; ?>" method="POST" id="test2" name="registrationform"> where in a user fill a form, after the data has been inserted to a database i would like to redirect the user to a different page. i am not able to use header(Location: filename.html) as i...
0
378
thread by: yatin.smile | last post Apr 26 '07 by: yatin.smile
I am a fresher in php and java script. that's wy i join a group for do a discussion on different concepts of php and java scripts. now i m working on file uploading.So i need a discussion on this topic. Any one who concern about this topic can mail me on my id.
7
379
thread by: John | last post Aug 5 '05 by: John
I am fairly new to php but I think I must be completely missing the poiny here (or going mad) I would have expected this to match, am I right? if (eregi("a89", "a." )) {echo "<br>match";} else {echo "<br>no match";} Thanks for any help
0
379
thread by: Christian Decker | last post Dec 17 '05 by: Christian Decker
Hi, I'm trying to figure out how my users may use (or better misuse) the input fields of my site to to insert JavaScript. I'm already replacing all occurencies of "script" in every input field but I wanted to know if anybody here ever stumbled upon a trick to disguise the <script> tag? Greets, Snyke
0
379
PDF
thread by: | last post Feb 15 '06 by:
Hi, I have a problem with my web application. If I try to open a PDF in my Firefox webbrowser it opens. If I try to open it with IE it won't open and PDF Reader says: This is now PDF file. Can anyone help me? mfg Bruce ----
1
379
thread by: ocbermudez | last post Oct 3 '06 by: Ron Barnett
Hi, I need to make some interaction between 2 diferents php site. For that, in 1 site I have a php function, it wait for some values on the POST method. It verify the value and return a xml with the result and one unique ID if all is well or the error code. This function I can not modify it and I can not any access, I can only use it. In my...
2
379
thread by: Jerim79 | last post Apr 7 '07 by: Toby A Inkster
Here is my form: <?php $Number; $Email; $error=0; if (empty($Number)){ $msg1="* You did not enter the number of people in your household.";
1
380
thread by: Olaf Noehring | last post Jul 17 '05 by: Jan Visser
Hi I am getting the followin error - but I really do not understand why: Warning: dir(): open_basedir restriction in effect. File (/srv/www/htdocs/user999/html) is not within the allowed path(s): (/srv/www/htdocs/user999/html/:/srv/www/htdocs/user999/phptmp/:/srv/www/ht docs/user999/files/) in...
4
380
thread by: comp_guy | last post Mar 26 '06 by: Nicholas Sherlock
hey guys, i have been working on a simple form which validates if a user is valid or not. i am a newbie and just want to deny unauthorised access to a 'members' page. I wish to compare the password entered by the user with that they entered into their submitted registration form.. however i keep getting a mySQL error message 'query was empty'....
3
380
thread by: foaud167 | last post Apr 9 '06 by: seajay
Hi I am just starting to learn php, and i am haveing some issues with authentication and login. I saw a lot of tutorials online, but i am not finding what i want. How to prevent access to other files, other than the file doing the authentication What prevents a user from getting files by putting their names in the browser.
8
380
thread by: lorenzdominic_ | last post Aug 18 '06 by: Jerry Stuckle
Hi I am new to sessions and php and have been playing around with them - and would like to know why this is happening? Firstly I have a login page and it goes to a verify page which creates a session like so:
0
380
thread by: Peter Parker | last post Feb 25 '07 by: Peter Parker
preg_match("/<some_tag >(*?)<\/some_tag>/", $data, $matches) preg_match_all("/<p>(.*?)<\/p>/", $matches, $paragraphs); foreach ($paragraphs as $paragraph) { $content=$content.$paragraph; } The above code only works if <pis the first tag under <some_tag>. i.e, works with
3
380
thread by: Geoff Cox | last post Mar 6 '07 by: Simon Stienen
1
380
thread by: Lloyd Harold | last post Nov 21 '07 by: Darko
I've noticed that the following HTML form and PHP script are being used on a site to which I contribute. Do they pose a security risk? The HTML Form <form name="FormName" method="POST" action="formprocess.php"> Name <input type="text" name="name">
0
382
thread by: upendrajpr | last post Jul 25 '07 by: upendrajpr
Dear friend, I am trying to send some login variable with <? session_start; ?> if(!isset($_SESSION)) { $_SESSION = 1; } it works on the same page but when I come to some other page
0
382
thread by: quicyvictor | last post Sep 20 '18 by: quicyvictor
i've been on it for 2 days. can someone help search.php **************************************************************** <form method="post" action="search.php"> <select id="name" name="name"> <option value="entertainment">Entertainment</option> <option value="romance">Romance</option> </select> </br>
3
383
thread by: Ed Eichman | last post Dec 30 '05 by: Oli Filth
Hi Everyone, Before I write the script myself, I'm looking for PHP code that checks that a link's content type matches it's contents. I need this for my "broken link" checker script, which fails to spot the "broken" links http://www.awin1.com/show.php?mid=1014&linkid=36515&aid=49007 and...
0
384
thread by: auction | last post Dec 31 '07 by: auction
AJ Auction Pro is the most advanced Auction script. It has got all the features of the most advanced auction script. The script is fully automatic from listing to deletion of listing on the prescribed date. It is integrated with payment system like paypal or e-gold which ever preferred. Sources: http://www.ajsquare.com
4
385
thread by: comp.lang.php | last post Nov 25 '06 by: comp.lang.php
I am trying to simply pipe in 2 very small commands and not have to create a PHP script to do this: However, I do not have the "-r" option in PHP 4.3.9, and I would think that I would, but why not? Here is all I have to work with:
1
385
thread by: smayadewi | last post Aug 19 '07 by: C.
I am trying to use PHP on a 300 MHz PowerPC based board. On some pages, I am using $_SERVER and $_GET to get data from the webserver or from other PHP pages. The loading/execution time for those pages are painfully slow (about 30 - 40 seconds per page). This only happens if I run them on PowerPC. At first I thought it was the webserver (I...

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.