473,799 Members | 3,111 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.
3
1,633
thread by: ralphNOSPAM | last post Sep 27 '05 by: ralphNOSPAM
I need to do some PHP CLI editing on some images - anyone recommend a class php image editing tool? I need non-GUI, in other words, to run from the PHP CLI. Thanks...
1
1,815
thread by: Phil W | last post Sep 27 '05 by: Adam
Building an app. that requres me to transfer files, using PHP's FTP put function, from a holding dir on a SAN to another SAN dir. No matter what I do the file copied to the new dir is 1024 bytes despite original being much greater (its a pdf). I have to use PHP 4.3.4/Apache 1.3.19 and have seen various comments about put not working correctly...
0
2,411
thread by: ReelMan | last post Sep 27 '05 by: ReelMan
Witajcie. Mam następujący problem. PHP korzystający z funkcji mail() nie może wysyłać email. Co gorsze nie zwraca błędu tylko true. Nieprawidłowe działanie zaczęło się pojawiać dopiero po oddaniu strony do użytku (ok 1000 odwiedzin dziennie). W sumie przepuszcza ok 5% email, a przed oddaniem było ok.
4
1,440
thread by: Bruce A. Julseth | last post Sep 27 '05 by: Jerry Stuckle
I do my development on a local machine with "localhost" as my mysql server. And, of course, I have different server when in production. So that I don't have to modify my code when I promote, I first connect to my production server. If that fails, I connect to my local server. Is this the best way, or is there a better way? Is there a way to...
3
3,055
thread by: langhammer | last post Sep 27 '05 by: Colin McKinnon
Hi, anybody knows a good class who makes possible to create charts as line-graph ? Mostly I can find only classes to include with more as 50kilobytes. But I need a small programm, because I have 750 users in one moment. The most classes includes pie,circles,... so they are to big.
1
1,191
thread by: Chris | last post Sep 27 '05 by: Colin McKinnon
Hi, I want to connect PHP pages to Access database. I saw there are at least to ways: $conn = new COM('ADODB.Connection'); $conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=d:\access\newres.mdb"); or
2
2,821
thread by: Ian N | last post Sep 27 '05 by: Ian N
I have a website which puts customers into different groups, depending on the referrer they can see certain products. So for example if the referrer code = 1, they'll only be able to see the products in group 1. To achieve this I've used 2 database tables, one for all of the products, and one for the groups (AGProds) which contains 2...
3
1,473
thread by: meltedown | last post Sep 27 '05 by: navi
What is missing form this SQL-query: ALTER TABLE `logins` ADD `categories` SET MySQL said: Documentation #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
3
1,272
thread by: JahanzebSaleem | last post Sep 27 '05 by: navi
Hi guys, I am trying to make a web site and I have a forum in the website, I am having a bit of hard time to fix some of the stuff, If any one of you guys can help me with it I will really appreciate it, my question is How can I deactivate themes from the Users account, like if someone sign up on the forum and then they go to their web space...
3
1,757
thread by: Eddie Biscomb | last post Sep 27 '05 by: Marcin Dobrucki
I have a db of tens of thousands of entries. It's not too hard to pull all the entries and build a table that displays them one at a time, but in my case, that will be a huge waste of space. What I want to do is put one record in each of the columns. I thinks it's possible to do because I have seen very elaborate thumbnail gallery scripts to...
4
1,855
thread by: Bob Bedford | last post Sep 27 '05 by: Bob Bedford
I must integrate an existing mailing list manager. We must send newsletters to registered users on our site and we are looking for various features: - send text and html emails - send in "to." every message instead of bcc ones - batch sending with wait list (if the server runs out of time, our ISP has 20 sec script limits) - being able to...
5
1,929
thread by: Kevin | last post Sep 27 '05 by: Bugz
I am developing a web site with PHP and MySQL. There are many forms that need to be generated based on users' information in database, and then let users to complete the rest. Finally the users can print and sign the forms. I think a good way to implement this application is to use Adobe Acrobat to compose form templates in advance. When a...
3
3,233
thread by: Captain Dondo | last post Sep 27 '05 by: Bugz
I am working on a console app based on dialog ( see e.g. http://hightek.org/dialog/ ). I would also like to have a web-based interface with a similar look and feel. Has anyone come across a php based dialog widget toolkit? This would be really handy.... Thanks, --Yan
2
1,515
thread by: Kyndig | last post Sep 27 '05 by: Bugz
This is 'weird'. I'm trying to port my project to php5 so I can get tidy support in php , and its stripping out my CSS _after_ I do a page reload and each page after that. The first page visit once the webserver is started outputs correctly. Every page visit after that strips my css. *boggle* restart webserver and visit page: Example from...
3
1,164
thread by: Bob Stearns | last post Sep 26 '05 by: Michael Vilain
The problem is that some functioning (I thought) code has stopped working: $n = @odbc_num_rows($res); $debug .= "<br>isset(n) " . $code . "=" . isset($n) . ";<br>"; $debug .= "<br>ncode " . $code . "=$ncode;<br>"; $debug .= "<br>n " . $code . "=$n;<br>"; switch ($ncode) { case -2: /* 0 or 1 */ if(!isset($n) || (($n!=0) &&...
8
1,741
thread by: smorrey | last post Sep 26 '05 by: Justin Koivisto
Hello everyone, just wanted to share my experiences with Zend "the php company". I decided to do the test drive of the Enterprise grade developer studio. Big mistake! >From day one I had nothing but problems. After realizing that something terrible had happened to my webserver during the install process, I figured WTF maybe I did something...
1
3,485
thread by: fufik | last post Sep 26 '05 by: Erwin Moller
Hi, I'm trying to connect to an application server using sockets. Everything is fine with a small exception. I would like to store socket in session, so that I wouldn't have to reconnect at every request. I open socket using (PHP5): stream_socket_client. Then I try to: $_SESSION = $newSocket. With every new request the $_SESSION is 0.
0
3,087
thread by: chris | last post Sep 26 '05 by: chris
Hi, I try to connect to Access with php with te code below. The database and table are ok. <?php include('../adodb/adodb.inc.php'); $db =& ADONewConnection('access'); $dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=newres.mdb;Uid=Admin;Pwd=;"; $db->Connect($dsn);
3
1,253
thread by: windandwaves | last post Sep 26 '05 by: Jerry Stuckle
Hi Folk I was just wondering ... I use the following a lot: include_once("connectToDB.php"); include_once("some_functions.php"); include_once("HTML_snippets.php");
2
5,283
thread by: phpuser32423 | last post Sep 26 '05 by: totalstranger
Hi everyone Is it by any chance possible to use mysql and php to auto create the content for drop-down lists on forms by retrieving the values from a database? The reason i ask is that on a site i am making i am asking users to select from list (e.g. nationality) however i would like to avoid typing out every possible value of which there...
23
5,096
thread by: Han | last post Sep 26 '05 by: rossz
Our app runs on end-users machines (apache2.x + php5). At this moment it is quite easy for someone (who has access to the console) to insert a couple lines of php code to steal sensitive info. Is there a way to check the integrity of the php and javascript code by using digital signatures/simple hash/etc. ? What do you do to verify that...
1
1,122
thread by: Joseph S. | last post Sep 25 '05 by: Toby Inkster
If I define $_SESSION=5; and later, use $x say, as, $y = $x * $x; will it work only if register_globals is set to On? Am i correct in saying that usage of $x in place of $_SESSION will
3
2,342
thread by: www.douglassdavis.com | last post Sep 25 '05 by: www.douglassdavis.com
I am trying to retrieve latitude and longitude via geocoder.us I use this code, as seen on (http://www.developer.com/lang/php/article.php/3548171): <?php // Create new instance of the SoapClient class // You'll need to download the WSDL file from: // http://geocoder.us/dist/eg/clients/GeoCoder.wsdl $client = new...
4
2,438
thread by: John Cecere | last post Sep 25 '05 by: Mladen Gogala
I've run into this bug: http://bugs.php.net/bug.php?id=29902 I'm beside myself trying to get around this. My application is dying after processing 20 transactions because there is no way to close the connection. I've tried downloading and building the latest 5.1 CVS source via cvs -d :pserver:cvsread@cvs.php.net:/repository checkout -r...
5
2,300
thread by: hntgzr | last post Sep 25 '05 by: juglesh
I am trying to include a function in a .php file on a different server from the main .php files. I am using: include_path=http://www.anotherserver.com/foldername; include(http://www.anotherserver.com/foldername/phpfiletocall.inc); The .inc file is php formatted. Variables are passed to it (not via GET or POST though) and returned...

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.