473,768 Members | 1,392 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.
6
1,702
thread by: luo.fengkui | last post Dec 14 '07 by: luo.fengkui
Hello I run a simple php file as: <?php $result=system("atq",$parameter); echo '<br>result='.$result; echo '<br>parameter='.$parameter; //phpinfo(); ?> run it on command line can get the parameter value as 0,but if use
1
1,764
thread by: Appu2008 | last post Dec 14 '07 by: Appu2008
Hi, Iam trying to invoke a javascript calendar in the click event of an input box. The input box is an array created dynamically. But the clicking does not works correct. I think the problem is with the text which is made bold below. Please help me. Here is the code segment: echo "<input name='eddate' id='eddate' type='text' ...
3
2,081
thread by: Anthony Smith | last post Dec 13 '07 by: Anthony Smith
In my php page I am calling a Python cgi. The problem is that originally the Python script was being called directly and it could access the environment variables that were being set. Now since the php script is being called first it has access to the environment variables, but the Python script does nt. How can I forward the variables or...
1
2,608
thread by: celery6541 | last post Dec 13 '07 by: helraizer1
Hi All, I was wondering if it was possible to insert an image on top of another image with php gd? I am using php gd to draw a diagram and I have some jpg/gifs that I want to also put inside of that diagram, is this possible? Thanks. -celery
1
1,654
thread by: kalazzerx | last post Dec 13 '07 by: Markus
I am looking for a solution to secure my connection between our php and mysql boxs. I have done some searching and have found mention of using SSH tunnels and SSL connections but have not found any details of how this can be done. Any Suggestions? Thanks for the help!
6
4,721
thread by: jeevela | last post Dec 13 '07 by: kalazzerx
hi, im doing my final year project. Project title is Research Project Tracking System. In tis project, i have to keep track the budgets and expenses for the research project from the beginning until the end. so i have to do Gantt chart and milestone. but i don't have idea how to do it.... can help me to overcome this problem...... thank you
4
1,561
thread by: turnitup | last post Dec 13 '07 by: Steve
What is the easiest way of testing whether a call to __set() has been successful? At the moment doing $success = ($foo->bar = "fred"); echo $success returns "fred", even though the __set function returns TRUE.
1
1,232
thread by: dvaddi | last post Dec 13 '07 by: numberwhun
Hello, we have linux , mysql 5.0 with php scripts. Yestarday evening we changed the parameters in worker MPM to 100 from the default 256 and increased the key_buffer_size to 48M from 8M. The number of failed attempts have increased when I see in the console. When we hit the webpages , it throws an error " typo 3 Database Error The...
11
6,497
thread by: Lo'oris | last post Dec 13 '07 by: Steve
I'd like to have a set of "allowed characters", and strip a string from everything besides those. I've tried and tried but so far every time I enter strings containing unicode, it goes mad and output makes no sense. I'm sure I'm missing something but no idea what. ...
4
1,195
thread by: jodleren | last post Dec 13 '07 by: Captain Paralytic
Hi A strange thing happens.... when loggin in and out from an app that I am doing, as a number of users with different rights for testing, something wierd happens... 1) sometimes, when logging in as a, the b, it offers "b" or a's password as password 2) sometimes it offers passwords as usernames Is it my form which causes this, or...
1
1,288
thread by: samir916 | last post Dec 13 '07 by: Motoma
i just wan a to make a mail which will be used bu client ,when client of mysite send me mail .the details of the mail is stored in the database and also .display on one page.thank you
1
1,549
thread by: rohitk | last post Dec 13 '07 by: code green
im using md5 to encrypt the password. then, how to get back the original string if i need it. I get digest(using md5 -lang java) . I want convert that digest to original string. is there any decryption possible? plz help me in this regard.
2
2,717
thread by: Jaroslaw Szczepankiewicz | last post Dec 13 '07 by: Jaroslaw Szczepankiewicz
Hi is it possible to profile memory usage of single function, ideally it would be to see stack tree with memory info of each function (current usage of memory before and after executing function), do you know any tool that allows that function? Thanks in advance.
1
1,072
thread by: crazychrisy54 | last post Dec 13 '07 by: crazychrisy54
Hi there Using an XML file containing customer elements: <customers> <customer> <namebob </name> </customer> .... ... </customers>
3
1,538
thread by: sukale | last post Dec 13 '07 by: raydenvm
how to read ms word file into text file in php and store it in mysql database
1
5,232
thread by: hello2008 | last post Dec 13 '07 by: hello2008
Hi, I have just started coding in PHP. I have coded a web page using HTML, JS, and PHP. An HTML table has to be populated dynamically using the data from the backend. Presently I have 5 records in the backend table so I get 5 HTML-table rows. I have created a session object starting from the login page. The requirement is that as soon as I...
2
1,833
thread by: smartic | last post Dec 13 '07 by: Markus
I need php code that deny any user to download the files in the site except the registerd users can download the files how can i do that with php or any language?
1
1,138
thread by: tuananh87vn | last post Dec 13 '07 by: Markus
Assume we have a form and users fill into the form with some information but the information will not be stored in database. It will be sent directly to an email address instead. So how can we use PHP to do this?
5
1,579
thread by: reflex | last post Dec 13 '07 by: reflex
Hello, I am looking for some help with user authentication. I need (if there is something like this) tutorials with different ways, how to make user authentication. Users->roles->rights user - n* roles - n* rights
2
1,593
thread by: paeh | last post Dec 13 '07 by: paeh
hello..I am beginner in programming..I want to know how to produce graph report base on mysql data? What are programming language should be use? Can anyone give me some coding example to develop it? Please help me..:(
2
9,357
thread by: Iain Adams | last post Dec 13 '07 by: Jerry Stuckle
I have a db class that sets up a connection. It then has methods to query the db and fetch results etc that encapsulate the normal mysql functions (i.e. mysql_query($sql)). I seem to get this error only when I try and create a new copy of this class when one already is open. For instance I query a db to get all the event ids from the...
8
1,175
thread by: showandbeshown | last post Dec 13 '07 by: showandbeshown
Hi, My php code generates the following line: <input type="hidden" name="PHPSESSID" value="36e197f92bsd34df4a6a20dkajkf10b4e4" /> Because of this line I cannot validate my page as HTML 4.01 strict (since the input tag is ended with "/>"). I do not know how to force my code NOT to write the hidden-input-tag
1
6,475
thread by: Jason Carlton | last post Dec 13 '07 by: Michael Fesser
I'm needing to traverse my $sth twice: list($date_found, $junk) = mysql_fetch_row($sth); while (list($date, $stuff1, $stuff2) = mysql_fetch_array($sth)) { // do stuff } But of course, when I do this then the WHILE loop starts at 1 instead of 0 because mysql_fetch_row leaves the internal pointer at 1. I tried
0
1,259
thread by: Bryan Richardson | last post Dec 12 '07 by: Bryan Richardson
Hello all, I'm attempting to use the Postie Plugin for the WordPress Weblog software to download email messages from my Gmail account. Postie uses php5-imap to do this by calling the imap_open method. I sit behind a proxy, and I can't figure out how to get php to use a proxy when trying to access the mail server at Google. Any...
3
3,308
thread by: pradnya | last post Dec 12 '07 by: Animesh K
Does php has any function like 'alert()' in javascript ? I want a popup window to display a message in php.

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.