473,799 Members | 2,935 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
2,351
thread by: jeff.battle | last post Aug 25 '05 by: jeff.battle
I'm trying to get PEAR DB to work on my machine at serverbeach but I'm getting the following error: Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/DB.php) is not within the allowed path(s): (/home/httpd/vhosts/adapttosolve.com/httpdocs:/tmp) in... phpinfo() says I have the following open_basedir values set:...
6
15,372
thread by: Daniel Loose | last post Aug 25 '05 by: R. Rajesh Jeba Anbiah
Hello, I have this strange including problem: I want to read a piece of HTML, residing in some file, into a variable, not echo it out. So far so easy - but now the HTML contains a line of PHP. And I wish not to get the PHP code into my variable but the parsed result, just like if the variable was a client ;-). I wish to keep the nice ?>...
9
5,749
thread by: Super Mango | last post Aug 25 '05 by: R. Rajesh Jeba Anbiah
Hi - Is it possible to change the status of a variable to superglobal so it'll be valid inside functions without declaring it with "global" inside each function? Thanks -
0
1,170
thread by: Mario Jannelli | last post Aug 25 '05 by: Mario Jannelli
Hullo everybody, gals and guys! I have been looking for ages for some API to parse a very large XML file, with thousands of nodes in it. I needed to parse the XML file and access its nodes and children. In particular I needed to get certain children from a specified path in the passed XML file. Unfortunately all the classes I found didn't...
3
1,500
thread by: sindre hiåsen | last post Aug 25 '05 by: sindre hiåsen
Hi, My problem is that a function in the page have a rather heavy mysql query. The query takes between 6 - 10 seconds. while the query takes place other content on the page stop loading (Opera). Explorer and Firefox seems to wait for the whole page to load befor drawing the site. Is there a way to tell the browser to draw all the content...
1
1,172
thread by: PHPGB | last post Aug 25 '05 by: Alvaro G Vicario
While I know putting a app into a folder was chiseled out of fine scottish granite and carried upto the top of ben nevis by php newbies many years ago - I dont think a folder is the best way to do it . The fact a script is in a folder means certain instant problems if you want to do certain things with . Assuming a script doesnt have...
0
1,217
thread by: windandwaves | last post Aug 25 '05 by: windandwaves
Hi Gurus I was wondering if you know of any good php class for editing mysql data from a users point of view. Kind of like PHP My Admin but then really simple and efficient. I have a look at www.phpclasses.org, but have not been able to find anything. Thank you
12
1,504
thread by: Des | last post Aug 25 '05 by: Tony
I am moving to PHP (I have C/C++ experiance) My problem is that I in converting files fromhtml to php, I can no longer test and run things localy on my PC. I could install IIS. Is there a PHP engine tha I could download (or Buy) to enable me to develop localy on a stand alone PC. TIA Desmond.
12
21,182
thread by: Larry | last post Aug 25 '05 by: Kelv
I found this basic PHP mailer with file attachment capability. It works just fine, but I want to add a CC: and BCC: to its output. I added the $cc & $bcc variables below, but unsure how to implement the rest. Can someone please help? Thank you - LM <html> <head> <title> Sending Email </title> </head> <body>
0
974
thread by: windandwaves | last post Aug 25 '05 by: windandwaves
Hi This maybe a nice little script for some new-newbies to get amongst a bit of php action (I am still a newish-b myself) http://www.sunnysideup.co.nz/clients/go.php To follow is the PHP: <?php
1
1,654
thread by: Ross | last post Aug 25 '05 by: AngelBlaZe
The following codes originally provided by a kind responder Toby A Inkster in another newsgroup for working on displaying a table on web capable of sorting are modified by me (a newbie). How to disable sorting by say, length and chart (last few codes at the end)? I find the order is important to display so cannot just single them out. <?php...
1
2,133
thread by: laredotornado | last post Aug 24 '05 by: Default User
Hello, My hosting company does not support the PHP mcrypt functions. Instead, they recomend using the command line, /usr/local/bin/mcrypt utility via PHP's exec method. Sadly, they do not provide any documentation how to do this. How would i translate the following function encryptString($p_str) { $iv_size =...
0
1,270
thread by: webslider | last post Aug 24 '05 by: webslider
I am trying to communicate with a WSDL that defines to portTypes: - <portType name="General"> - <portType name="Session"> And their exists 2 operations with the same name but in 2 different porttypes (the general "GetList" returns a default list of items, the session "GetList" requires a session ID to be passed in the header and returns...
1
1,408
thread by: JPK | last post Aug 24 '05 by: ZeldorBlat
Hello Group, I am wondering if there is anyone on this list that has a sample ZenCart customer requirements document, or checklist of some sort that can facilitate us asking the right questions of our client, the first time. My developers have a lot of experience with ZenCart itself, but not a heck of a lot of experience dealing with our...
30
6,418
thread by: Mark | last post Aug 24 '05 by: PHPGB
I am a complete novice with php scrip but I am wiling to learn. I am in need of some help, please. Can anyone sort this code out for me so that it works correctly and adjusts the price for the quantity selected on the front end. _______________________________________________________________ if(article_get_field('type')== 'Croclight...
1
1,378
thread by: Robert Oschler | last post Aug 24 '05 by: Steve
How can I get "parse" errors, not runtime errors, output to a log file of my choice (and preferably in a format I can choose)? I'm running PHP4. Thanks.
4
1,480
thread by: varungupta | last post Aug 24 '05 by: Erwin Moller
Hi Group members ! We are hosting a Apache/PHP/MySql based website at our college since January,2005. It was working fine since then. The web server is plaed in our college itself and we are using IP binding method to make it available globally. We are having a login page which redirects the user again to home page after authentication...
9
3,423
thread by: Domestos | last post Aug 24 '05 by: Oliver Grätz
Here an unusual one... Say i am writing a few lines of code in php script as so... <?php echo '<table>'; echo '<tr>'; echo '<td> blah blah </td>'; echo '</tr>'; echo '</table>';
2
1,975
thread by: Domestos | last post Aug 24 '05 by: Oliver Grätz
Does anybody have any advice on XAMPP? i.e. is it any good as an apache, php and mysql installation or does it lack functionality? As a one of installation and set-up I have found it easy to install and begin but I am new to all these areas and wanted to know other peoples thought. i.e. have I made the right choice or should I have...
7
1,613
thread by: fingermark | last post Aug 24 '05 by: Kenneth Downs
I'm writing an upload script and would like to know what is the safest way to validate a file type that is being uploaded to a server? I am accepting just bmp, jpg, png, and gif. Here are is what I have come accross: $_FILES - I heard this is not safe $imginfo = getimagesize($filename); - I heard this is safer
4
1,806
thread by: Doug Johnston | last post Aug 24 '05 by: John Dunlop
Hi, I am trying to pass the following and it keeps giving the same error... http://www.megamotza.com/cst_hsql.php?firstlogin=Y&abc=sysman&sql=select%20*%20from%20sysuser%20where%20companies%20LIKE'%0002%'%20AND%20usrflag%20='U'&tblname=curSysuser ....the problem is the LIKE '%0002%'. If I remove the %'s from each side of the value, no...
3
1,330
thread by: Dross | last post Aug 24 '05 by: Alvaro G Vicario
WinXP Pro, PHP4, Webserver=xitami, Mysql I have written a php program which I would like to schedule for a daily run. The program queries a database for about to be due quality system tasks (this is a manufacturing org and we have scheduled events, a big list actually) and emails the about to be due requirements. But it appears the php...
1
1,671
thread by: aljosa.mohorovic | last post Aug 24 '05 by: Erwin Moller
is there a bookstore in Italy where i can buy ZCE study guide and/or practice test book? Treviso, Trieste, Venezia or somewhere in that part of Italy? any help would be appriciated. Aljosa Mohorovic
2
1,848
thread by: JAPIO | last post Aug 24 '05 by: Alvaro G Vicario
I have two variables which look like: $begin = "23-08-05" $end = "26-08-05" Now i want also to know the dates between them. 24-08-05 25-08-05 How can i do this? Any help would be appreciated.
2
1,826
thread by: alex | last post Aug 24 '05 by: Alvaro G Vicario
Hi, I've got a problem with a script that needs about 1 minute to run as the max_execution_time is set to 30 seconds only. I don't have the rights to modify the max_execution_time parameter on the server. How can I postpone this time out ? Many thanks in advance,

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.