473,775 Members | 2,489 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.
1
2,301
thread by: vps | last post Dec 12 '07 by: vps
I have Apache 2.2 server running on Windows XP SP2 with PHP 5.2.5. I have run go-pear.bat in PHP directory (system-wide, all defaults). Running “pear” command lists additional commands. I cannot find “mail.php” on local drives (performed a Windows search). Using “mail.php” from separate PEAR package does not solve the problem, since...
2
1,839
thread by: Bint | last post Dec 12 '07 by: Steve
Hi, I asked a question yesterday but no one answered, I will try again. Anyone use stream_filter_append, specifically to decompress zlib-compressed data? I'm trying to use it on a section of data in a file, but I don't know if that's possible. Most of my file is made up of normal bytes which I read with fread. When I get to the part which...
51
4,159
thread by: Ojas | last post Dec 12 '07 by: Steve
Hi!, I just out of curiosity want to know how top detect the client side application under which the script is getting run. I mean to ask the how to know whether the script is running under Command Prompt or Browser or some other application? Ojas.
2
1,734
thread by: Rob Wilkerson | last post Dec 12 '07 by: AnrDaemon
Hey all - I'm trying to create a developer-friendly environment on my production server. By that, I mean an environment where developers don't need to worry about certain things. Among those is the include path. I have a "core" include_path set in php.ini, but most projects will require an include path of their own _in addition to_ the...
1
6,075
thread by: RenzoG | last post Dec 12 '07 by: AnrDaemon
Hello, when i declare a db connection using try { $db = Zend_Db::factory('Pdo_Mysql', array( 'host' ='localhost', 'username' ='xx', 'password' ='yy', 'dbname' ='zz' ));
2
336
thread by: punjabizm | last post Dec 12 '07 by: AnrDaemon
Has any1 worked with Zend Studio?
7
17,999
thread by: chowdary | last post Dec 12 '07 by: AnrDaemon
I am developing a PHP-mysql database. It is noted that when the browser window is refreshed the data is inserted again in the database. unfortunately there is no unique keys that I can use to verify the existance of the data, so as to prevent the multiple insertion.
4
324
thread by: redog6 | last post Dec 12 '07 by: AnrDaemon
Can anyone advise on the correct regex to specify a string that starts with two letters followed by 11 digits? Many thanks. Redge
1
1,610
thread by: Rozzy | last post Dec 12 '07 by: Rozzy
I have this problem were I've created a script to enable users to upload files, but since my host has disabled the natural php functions for this I have been forced to turn to ftp. The problem I am having is that when I try to upload files semi-large files (not really, just in comparison to everything else), such as a 2.5 megabyte video...
1
1,231
thread by: ccesporlas | last post Dec 12 '07 by: Rik Wasmus
hi how do you stream text from a dynamic source the source will output the data in an array format
3
1,382
bugboy
thread by: bugboy | last post Dec 12 '07 by: bugboy
Hi everybody, I need to pass a secure key around in a session variable and i'm having trouble finding a manual that gives me a clear idea as to what is happening with, and how to use sha1(). When the user logs in their static key is retrieved from the db and then this key is passed around in the session and is used in every query that the...
2
7,277
thread by: goyalak | last post Dec 12 '07 by: samisa
Hi All, I am new to PHP and am facing some problems. I am trying to access the http://ops.espacenet.com/. Its a SOAP based service. I am trying to access it via PHP (PEAR) from Apache web server on my computer. I connect to the web via a proxy server. I have enclosed the code below and also the error given. Any help will be appreciated. ...
2
2,819
thread by: Kalayar | last post Dec 12 '07 by: samisa
Hi all, I'd like to know how to call C#.NET web services in php web application. If you can I'd like to get a simple sample code for you. Thanks in advance,
1
2,651
thread by: Rajen | last post Dec 12 '07 by: Jerry Stuckle
I've a automatic configuration proxy (http://xxx.xxx.xxx.xxx/xyz.pac) which I use in the Internet explorer Lan Settings to access the net. How do I read a webpage by specifying this proxy in my PHP code. By the by, I'm using curl to read the remote webpage. I've tried the option curl_setopt($ch, CURLOPT_PROXY,...
7
1,604
thread by: jodleren | last post Dec 12 '07 by: Jerry Stuckle
Hi all! I have a problem - I have a list of checkboxes, with certain data... the point is, that some of them are set, and the important thing for mere is to get those values, which have changed from CHECKED to NOT CHECKED. Certain values are marked, once done, the user removes the flags, and I need to know what was set to not being checked...
1
1,569
thread by: chowdary | last post Dec 12 '07 by: Rik Wasmus
hi, when the user clicks the logout.php the session variables are destroying. my doubt is when the user clicking back, again they are entering into the pages. how to check whether session variables exist or not. if the sessions variables are not exist i use header to go login.html page. if yes the user can enter the pages.......in every...
1
1,362
thread by: runway27 | last post Dec 12 '07 by: code green
my question is about tracking the previous page. there is a form(ex=subscribe.asp) which is an asp page where users can sign up for newsletters. this asp file calls a php file in the form action which i have written and this php file processes information user entered and inserts to the database. this works fine. in the website there are...
12
13,353
thread by: backups2007 | last post Dec 12 '07 by: clai83
How do I submit form entries to the database and redirect to the same page, with the entries still display on the fields of the form? I really need help on this. Thanks.
14
1,920
thread by: adam.timberlake | last post Dec 12 '07 by: Rik Wasmus
This is a really basic question for all you people out there who know PHP. This is not a problem but just something I'm confused about. I was reading the article below and wondered why are normal constants set with quotes around them, while "class constants" (those little things I learned yesterday from the article) don't have to have quotes...
13
12,446
thread by: Gordon | last post Dec 12 '07 by: Gordon
I want to use my new Macbook Pro as a development platform for work, so I went looking for info on installing Apache, PHP, Postgres, etc on Leopard. I discovered in my search that Apache and PHP are already installed by default, but disabled, so I'd just have to enable the already-installed versions. Getting Apache up and running was no...
0
1,370
thread by: hindsy | last post Dec 12 '07 by: hindsy
I'm writing a script for CLI on a windows server that needs the password characters hidden or masked from the user. I've found information on how to do it in a Unix Shell but not in a Windows MS-DOS environment. All I need is the characters typed at the CLI to be hidden or masked with say a ' * '. Any ideas?
1
1,753
thread by: shailajaAdiga | last post Dec 11 '07 by: shailajaAdiga
Hi All, there are 4 different categories which each month will bw updated. In each category(source),there are many editions. I have to display 6months updates. its like one is month array which contains 6months' names. source array contains source of that month. $table_row conatins editions of particular source. looking forward to get...
1
1,149
thread by: geantbrun | last post Dec 11 '07 by: Michael Fesser
Hi, is there a way to evaluate in PHP a string like "2+3*5" ? I'm expecting 17 as a result. A way to achieve that would be to invoke the bc calculator but I was wondering if you can do such a thing directly in PHP? Cheers, Patrick
4
4,368
thread by: cherryst152 | last post Dec 11 '07 by: cherryst152
I keep getting problems with this. What i want to do is populate my dropdown list with the names of the columns in one of my database tables. Whatever i try to do i keep somehow filling it in with like 5 Array's or 5 Object's. Code is below and any help is greatly appreciated. $query33 = "SHOW COLUMNS FROM $January"; $result33 =...
3
3,118
thread by: Ming | last post Dec 11 '07 by: Steve
I have two list box (A and B), and I have two buttons to move list items (options) from this box to the other.I have a submit button to submit the form. I know how to move items from A to B by using Javascript, and I know how to use <option ... selectedto select an item. However, how can I select an item after the page is rendered? In...

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.