[PHP] Interbase

2001-03-07 Thread Chris
mercial license is? Is it still free? Thanks, Chris

Re: [PHP] Auto Prepend/Append

2001-03-07 Thread chris
On Tue, Mar 06, 2001 at 12:28:33PM -0600, Boget, Chris wrote: > > >Is it possible to use the auto prepend/append directives to > > >prepend/append particular files only to files with a particular > > >extension? > > I don't believe you can do this directly w

[PHP] Date Question

2001-03-08 Thread Chris
Hi, Since there is no Date type in php, is there a way to compare dates? Something like: if ((3/8/2001) < (3/9/2001)){ // Date is newer } Thanks, Chris

Re: [PHP] Good Free PHP Editor?

2001-03-14 Thread chris
Do any of these editors support server mappings allowing one to auomatically preview files through a server? I find this invaluable in HomeSite (which is also VERY stable for me using Win2K) and I think HTMLKit does it too-- but do anyof the leaner text editors? By server mappings I mean that I

[PHP] Header Help!

2001-03-14 Thread Chris
ine # allways different too!) Can someone tell me what the proper header to send is? I looked at HTTP1.1 protocol page, but it just refers to multipart/form-data but does not actuall show it in an example with Content-Type. Thanks, Chris

[PHP] Array help

2001-03-14 Thread Chris
Hi, Is there a way to do an array_pop with php3?

Re: [PHP] Statistics function

2001-03-15 Thread chris
On Thu, Mar 15, 2001 at 06:10:43AM -0600, Derek Sivers wrote: > > >the connection will close when you hit cancel but the PHP > >code can continue running if you choose. > > How do you choose to have the PHP script continue even if a browser > leaves/dumps? Check out the ignore_user_abort() fun

[PHP] Zend Optimizer on Solaris8 x86. Help!!

2001-04-20 Thread Chris
Anyone know how to get the Zend Optimizer work on Solaris 8 x86? i can only download the Sparc version of Zend Optimizer, but it don't work on x86. Thanks in advance. ---- Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] HTTP Authentication with PHP

2001-05-17 Thread Chris
I have configured mod_auth_pam for Apache and secured a directory with an .htaccess file: AuthType Basic AuthName "Secure Area" require group staff require user chris Now, I would like to control the local browser window's authentication cache via PHP. For example, how

Re: [PHP] mysql error, dont see why.. please help

2001-05-22 Thread Chris
Looks like this may be in wrong order: url = '$file_name'") ^ I think you have " ' when it should be ' " > Here is the command. > > mysql_query("UPDATE user_polls WHERE uid = '$UserName' AND type = '$type' SET > url = '$file_name'") or die(mysql_error()); > > Outp

[PHP] Constantly running?

2001-05-23 Thread Chris
Is there anyway to ALWAYS have a script running on the server without needing a browser to access it?

[PHP] Mysql('mydb", "SHOW TABLES FROM mydbname") ???

2002-01-12 Thread Chris
* FROM sometable) everything works fine. There must be something I’m missing about the SHOW query. Thanks Chris Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP] DUH!!!! Why didn't I see that?

2002-01-12 Thread Chris
DUH Why didn't I see that.. Thanks.. Chris Miles Thompson wrote: > Well, did you try looping though tables with mysql_fetch_array($tables)? > > But, how 'bout mysql_list_tables()? > > Cheers - Miles Thompson > > PS There's a bunch of other in

Re: [PHP] copy protection

2002-05-07 Thread Chris
I found this on the web one day, though I've never used it or played around with it. It does make the code a pain to read though if it does anything close to the sample on the page. Plus, its free. http://pobs.mywalhalla.net -Chris At 01:35 PM 5/7/2002 +, Udo Giacomozzi wrote

Re: [PHP] Multiple drop-down lists

2002-05-16 Thread Chris
populating the rest. IE They select Ohio in the first box, then you would refresh the page, and select * from cities where state = "OH"... -Chris At 01:21 PM 5/16/2002 +0100, Brian McGarvie wrote: >All, > >How would you implement 4 drop down lists > >Data in list 2 de

[PHP] PHP - mssql

2002-03-20 Thread chris
tried everything i can think of that can work but with no luck. So if someone have a solution for me... i would apriciate it :) (and yes i do have defined all the vars in the script they are just not that important here) -Chris -- PHP General Mailing List (http://www.php.net/) To

[PHP] why doesnt this work???

2002-03-20 Thread chris
this script receives vars "b" and "p" from a form. If "b" and "p" matches the echo on IF, then it works just fine. The problem is that if the vars dont match the ELSE ECHO does not apear... why not? -Chris -- PHP General Mailing List (http://w

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
nope... that did not do the trick... -Chris "Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > if( $line[1]='$bruker' and $line[2]='$passord') {echo "hei > $bruker.";}

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
lso I think you need to enclose the variables in double quote. > >if( $line[1]=="$bruker" and $line[2]=="$passord") echo "hei > $bruker."; > else echo "FEIL"; > > > > -Original Message- > > From: chris [ma

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
o: [EMAIL PROTECTED] > Subject: Re: [PHP] why doesnt this work??? > > > You need two = signs for comparision not just one . > Also I think you need to enclose the variables in double quote. > >if( $line[1]=="$bruker" and $line[2]=="$passord") echo &qu

Re: [PHP] why doesnt this work???

2002-03-20 Thread chris
> Webmaster > New Orleans Regional Transit Authority > Phone : (504) 248-3826 > Email : [EMAIL PROTECTED] > > > -Original Message- > From: chris [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 20, 2002 8:33 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] w

[PHP] included files not reread by php when i edit the files

2002-03-22 Thread Chris
sure the browser is not caching the page. Win98 + 'foxserv', that is: apache, mysql. php, zend. Using: Postnuke 0.7.1 with sessions (it did not happen before the sessions, but cannot imagine the sessions do this.). I would suspect zend but it also happened with the normal php 4.06.

Re: [PHP] included files not reread by php when i edit the files

2002-03-22 Thread Chris
it now uses sessions. IE6, caching turned of, and check page every time as well as 'automatic'.. Also reproducable in Opera. Chris > - Original Message - > From: "Chris" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 22

RE: [PHP] Variable problem

2002-03-22 Thread Chris
makes my html not work right. Any ideas? > > > > > It's something like this: > print <<< END > $varableABC > END; > > > -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works

Re: [PHP] MySQL query results

2002-03-22 Thread Chris
x27;.__LINE__ .'The query used was: '.$query .'MySQL says '.mysql_error() ); I find it is extremely useful in debugging. -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works ! ! email [E

Re: [PHP] MySQL query results

2002-03-22 Thread Chris
der, CO 80303, U.S.A. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works ! ! email [EMAIL PROTECTED] is a black hole since januari 2002 ! Chris Hayes - Droef 35 - Wageningen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Echo Informative Text will Script Runs - how ?

2002-03-25 Thread Chris
Hi, How can I echo some text such as "Processing, please wait..." whilst the PHP script runs. Rather than displaying a blank screen with the results being echoed once the script has fully completed. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] FTP RAW

2002-03-25 Thread Chris
Can anyone help me with the command I need for a RAW FTP file upload? I can create connections and they empty file, but I have no idea how to get the data into the file and I have tried everything. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] FTP RAW

2002-03-26 Thread Chris
Yes. Your solutions fails for any file over 5k about 99% of the time. The server I use does not have the FTP functions installed so I cannot use these, that is why I am looking to this solution.' Chris "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAI

Re: [PHP] FTP RAW

2002-03-26 Thread Chris
TED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Chris: > > > Yes. Your solutions fails for any file over 5k about 99% of the time. The > > server I use does not have the FTP functions installed so I cannot use > > I wouldn't really cal

Re: [PHP] [Session] (it seems to be a bug in PHP 4.1.2)

2002-03-26 Thread Chris
ion and suggestions to solve it http://bugs.php.net/bug.php?id=16102 Chris -- ! please check my email address ! ! only my email [EMAIL PROTECTED] works ! ! email [EMAIL PROTECTED] is a black hole since januari 2002 ! Chris Hayes - D

[PHP] Mail - max_execution_time problem

2002-04-02 Thread Chris
I'm trying to use the mail() function to send mail to a mailing list and because of the junk mail problem of hotmail, I'm trying to send mail one by one. The problem of using this method is that it always exceed the max execution time of 30s before the script reaches end of parsing. I'm using a

[PHP] Dynamic Binding for PHP?

2002-04-04 Thread Chris
Is there a way to implement Dynamic Binding using PHP? Chris Lee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Under what circumstances would you use Sockets in PHP?

2002-04-05 Thread Chris
Just wondering, under what circumstances would you use sockets under PHP? Any examples? How is it different from Java sockets etc? Thanks for any reply. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Transfer Session Vars to different server

2002-04-08 Thread Chris
. What is the best way to do this? Clearly, I don't want to do this as a list of vars in the URL - some of the vars are sensitive. I would appreciate any comments. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD Gif or PNG

2001-10-23 Thread Chris
Before creating a graphic, I would like to detect what type of graphic files are supported. For example if GD is enabled and GIF Support is available I'll create an GIF image. I know phpinfo() will tell me this but I don't want to burden the user with this check. Any Suggestio

[PHP] Detect mySql Install

2001-10-23 Thread Chris
Is there a way to detect, using PHP, if mySql is installed on a server? Can a version # be determined also? I know this can be done using phpinfo, but I don't want to use that approach. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP] GD GIF or PNG Detect Part 2

2001-10-29 Thread Chris
ver when there are no GD libraries installed the following error is thrown: Fatal error: Call to undefined function: imagetypes()… Any suggestions to prevent the error message being thrown. Are there other methods to detect the presence GD libraries before testing for GIF or PNG support? Regard

[PHP] Saving Dynamically Generated Pages

2001-11-09 Thread Chris
. Any suggestions welcome. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Saving Dynamically Generated Pages

2001-11-09 Thread Chris
It appears this function is only available for PHP4+. I have been trying to stay compatible with PHP3 but maybe I should abandon this requirement. Do you know of any URLs that may provide stats on versions of PHP in use? Thanks, Chris Wolfram Kriesing wrote: > > I’m considering writi

[PHP] PHP Usage Stats

2001-11-09 Thread Chris
Are there any refrences that would indicate the percent of sites (PHP installs) using various versions of PHP (i.e., 60% PHP4, 30% PHP3, etc.)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

Re: [PHP] PHP Usage Stats

2001-11-09 Thread Chris
That Report doesn't seem to identify PHP version only total Matt McClanahan wrote: > On Fri, Nov 09, 2001 at 10:11:50AM -0800, Chris wrote: > > > Are there any refrences that would indicate the percent of sites (PHP > > installs) using various versions of PHP (i.e., 60%

Re: [PHP] Setting title via included file

2001-11-20 Thread Chris
[posted and mailed] Jim Lucas addressed php.general and spake thusly: >> I have a page that includes a file in the middle, but I wish to set >> the title of the page based on a variable set in the included file-- >> is this possible? >> >> Basically, I was doing this for the output buffering:

[PHP] XML and PHP - dynamic hell

2001-11-30 Thread Chris
I'm having one page output XML for other sites to parse. Unfortunately if I give an RSS parser the site (the php file) it errors out. But if I put the output in a XML file, and give that to the RSS parser everything works perfectly. Does anyone know why it can't read it straight from the php file?

Re: [PHP] XML and PHP - dynamic hell

2001-12-01 Thread Chris
It didn't help :( - Original Message - From: "Matthew Loff" <[EMAIL PROTECTED]> To: "'Chris'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, December 01, 2001 10:03 AM Subject: RE: [PHP] XML and PHP - dynamic hell > &

[PHP] Delete File Contents?

2001-12-17 Thread Chris
d deleting the file and creating a new one but that seems like a lot to do. It would be nice if there were a way to set a pointer to the top of the file and overwrite. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] Header problems

2001-03-28 Thread Chris
Help, Why did this suddenly stop working? (only code on page) header ("Location: http://www.otherserver.com/index2.htm"); It was working fine before, now the page just returns: in the source, no error messages.

[PHP] Install

2001-03-30 Thread Chris
Hi, I am trying to find some info on upgrading from php3 to php4. I can't seem to find any docs about upgrading, just installing. Is this the same thing? Do I have to re-compile apache just to go from php3 to php4? Thanks, Chris.

[PHP] Help please.

2001-04-06 Thread Chris
Hi, I am trying to find some info on upgrading from php3 to php4. I can't seem to find any docs about upgrading, just installing. Is this the same thing? Do I have to re-compile apache just to go from php3 to php4? Thanks, Chris.

Re: [PHP] Help please.

2001-04-06 Thread Chris
Yes, thank you, but this has nothing to do with what I asked, this is about CODE migration. > http://www.php.net/manual/en/migration4.php > > > -Original Message- > > From: Chris [mailto:[EMAIL PROTECTED]] > > Sent: Friday, April 06, 2001 12:19 PM > > T

[PHP] mail() limit?

2001-04-06 Thread Chris
Hi, Does anyone know if and what the limit is of bcc that can be used in the mail() function? Hundreds, thousands? Thanks, Chris

[PHP] setcookie() woes

2001-06-20 Thread Chris
no avail. Is this a well known problem, with a well known solution? Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Any ideas if a form needs a signature?

2001-08-09 Thread Chris
I am digitalizing a companies Application in an online system. The problem is that companies they deal with require the app to be signed. Obviously an online application cannot be signed conventionally. Does anyone know of a way or a work-around to accomplish this?

[PHP] How to Read a URL dynamically generated by a server with POST method ?

2001-08-16 Thread chris
The PHP function fopen() can read a URL generated by a server with the GET method. In that case, the arguments of this server's script are part of the the URL. Unfortunately, I have to read & parse the result of a form using POST method. Is there another function than fopen() that can be used ?

[PHP] PHP as an Apache module

2001-08-26 Thread Chris
this would be great... Thanks, Chris Irwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] imagecreatefromgif

2001-08-30 Thread Chris
ks well to display my gif. Unfortunately what I want to do is annotate the gif before I display it. Any comments welcome. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: imagecreatefromgif

2001-08-30 Thread Chris
OK, NOW I FEEL STUPID!!! Upon trying the suggestion I notice a missing semicolon. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Setting session vars in a function - some weirdness!

2001-09-10 Thread Chris
have to use the bare varname. What's odd is using $HTTP_SESSION_VARS to read a variable works fine. Since I like to always use $HTTP_SESSION_VARS for safety, rather than the bare varname, I'm not too thrilled with all this. Can anyone explain why it's so? Thanks, Chris -- PHP General

Re: [PHP] Re: IMPORTANT: Please Verify Your Message

2004-08-06 Thread Chris
Josh Acecool M wrote: I've requested that you do not contact me again. http://www.acecoolco.com/legal.php You know that email isn't coming from this list right? And you also know that, right now, you're annoying me more than the two of those that I've received have. -- PHP General Mailing Lis

Re: [PHP] php4 objects

2004-10-12 Thread Chris
Thing(); ..but he wants it to run some stuff in the functions that he is calling and wants to do it in one command if possible. -Robby No, he can't. That functionality WAS added in PHP 5 though. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to figure out whether a query returns RESULT or NON-RESULT

2004-10-15 Thread Chris
A non-*FALSE* return value means that the query was legal and could be executed by the server." So , (false !== $result) means the query was sucessful , and if it was successful (true === $result) would mean that no rows were returned. Chris -- PHP General Mailing List (http://www.ph

Re: [PHP] is_dir on WIndows

2004-09-27 Thread Chris
if (is_dir($file) && ($file!=".") && ($file!="..")) { $users[]=$file; } It's only adding it to the array if all 3 of those are true. and since $file can't be both '.' and '..' at the same time, it's never matching. I'd do something like: if (is_dir($file) || ($file!=".") || ($file!=".."

Re: [PHP] is_dir on WIndows

2004-09-27 Thread Chris
John Nichel wrote: Chris wrote: if (is_dir($file) || ($file!=".") || ($file!="..")) continue; That will match everything and anything, files and dot directories... The first statement by the OP should work fine. All three will eval to true if it is a directory, and the

[PHP] Open or Save PHP page?

2004-10-18 Thread Chris
file with Dreamweaver - associated with PHP. Server's not interpreting the script. ideas? -Chris

Re: [PHP] mySQL query question

2008-11-16 Thread Chris
Jim Lucas wrote: [EMAIL PROTECTED] wrote: Ok, so just that I am clear, you are SELECTing and pulling all the data that you are submitting in the above INSERT statement from the DB initially, then you are only modifying the confirm_number value and then re- submitting all the values, as they or

Re: [PHP] Model Web Site

2008-11-20 Thread Chris
Stephen wrote: Boyd, Todd M. wrote: http://www.w3schools.com/html http://www.w3schools.com/xhtml http://www.w3schools.com/css http://www.w3schools.com/js http://www.w3schools.com/php http://www.w3schools.com/sql http://www.php.net http://www.mysql.com most important link: http://www.google.com

Re: [PHP] SQL - RANDOM

2008-11-24 Thread Chris
Korgan wrote: Hi, i would ask what is the best method for random select from database. I have table with 20k items.. - If i use ,,select * from table order by rand() limit 3", the query took 0.0524 sec ... its slightly enough and as your table grows in size, it gets slower and slower.

Re: [PHP] pear mail() verses net-smtp()

2008-11-26 Thread Chris
Al wrote: Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. Pear mail puts everything together and if necessary uses net_smtp to send it. If you want to have to build the emails yourself, you can do it and then use

Re: [PHP] pear mail() verses net-smtp()

2008-11-26 Thread Chris
Al wrote: Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. Pear mail puts everything together and if necessary uses net_smtp to send it. If you want to have to build the emails yourself, you can do it and then use

Re: [PHP] SNMP Functions

2008-11-27 Thread Chris
Rui Quelhas wrote: Hello guys, i'm running php on Leopard 10.5.5 with native php and snmp builds. I was hoping someone could tell me how can i activate the php snmp in order to use the snmp functions. I've searched everywhere for this but i didn't find anything usefull. Appreciate any kind of ans

Re: [PHP] question about corrupt db?

2008-12-01 Thread Chris
Terion Miller wrote: could a corrupt db make php pages stop functioning? My pages no longer go anywhere, I went back found the original scripts and still it didn't fix the problem (thought I had messed the code up) so it has to be something external of the code its doing this locally on my box an

Re: [PHP] category and sub category traversal

2008-12-01 Thread Chris
VamVan wrote: Hello, I need some help in figuring out this logic. I have two tables one for category and other for category_hierarchy. category_hirerarchy has a column to determine the parent. So the query I have to retrieve tree of one specific category is: SELECT t.tid, t.*, parent FROM ter

Re: [PHP] Which is the right list?

2008-12-01 Thread Chris
Geek (de=German top level domain) wrote: Hi everyone, Sorry for my stupidity, but I couldn't see which of the lists is the right one to know about important news and or features that I might not think or be aware about for PHP. I'm a PHP developer, mainly using the Symfony framework and would li

Re: [PHP] Multiple MySQL INSERT

2008-12-01 Thread Chris
ddg2sailor wrote: Hi People My real problem is that I dont know code. I can sort of edit it in a sloppy more or less works fashion. Any help would be great. This is the code Im having problems with: //Example// $id = 0 + $_GET["id"]; $md5 = $_GET["secret"]; $gig = 1; $giveupload = $gig*1

Re: [PHP] Multiple MySQL INSERT

2008-12-02 Thread Chris
ddg2sailor wrote: chris smith-9 wrote: ddg2sailor wrote: $row = mysql_fetch_array($res); $res = mysql_query("SELECT passhash, editsecret, status FROM users WHERE id = $id"); $row = mysql_fetch_array($res); I hope this is a copy/paste error or are you running the same thing twice?

Re: [PHP] $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Chris
[EMAIL PROTECTED] wrote: There are httpd.conf settings to reject POST requests, but I don't think it would behave like that... But maybe it's a bit more complicated than what I've ever seen for httpd.conf Could be mod_security getting in the way and killing some content. -- Postgresql & php

Re: [PHP] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Chris
Did you check the apache logs or the php error logs? Apache logs show no errors at all. The PHP error log is more interesting - I turned on logging to /var/log/php.err once I started trying to diagnose this, and that file has yet to be created. Apache can't write to that location. You need

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Chris
ddg2sailor wrote: I have been looking at this code all night and at one point I drew the same conclusion. But I havent been able to find it Il beg the moderators indulgence here.. But I really do need to add this code which calls the other code as a user hits a link. Find the file where do_

Re: [PHP] PHP - Jasper Report Integeration

2008-12-04 Thread Chris
Johny John wrote: Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says "Unable to create Java Virtual Machine " Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html asking the same things multiple times will not

Re: [PHP] Re: A MySQL Question

2008-12-07 Thread Chris
Nathan Rixham wrote: tedd wrote: At 3:24 PM + 12/7/08, Nathan Rixham wrote: On the same not does anybody else frequently use (or even know about) the awesome spatial extension for mysql? or use the information_schema tables? I've certainly never used them, but I can imagine information_

Re: [PHP] A MySQL Question

2008-12-07 Thread Chris
tedd wrote: Hi gang: I just interviewed for a job teaching at the local college (imagine me taking minds of mush and molding them to the world according to tedd -- frightening huh?) In any event, the interviewer asked me how long I've been using MySQL and I replied several years. After whic

Re: [PHP] A MySQL Question

2008-12-07 Thread Chris
German Geek wrote: EXIST? Yeah I certainly have seen it before in the result of a mysqldump, but from the top of my head, I probably wouldn't have known in exactly what context it is used. I've used MySQL for 5 years now and i think if you ask such a question, you don't know what you should be a

Re: [PHP] A MySQL Question

2008-12-07 Thread Chris
And 'exists' is not for mysqldump. DROP TABLE IF EXISTS `mytable`; "if exists" can be used in lots of places other than "drop table", like triggers, functions and i'm sure other things. I said, I've seen EXIST in a result of a mysqldump before, which is not wrong is it? Unless I'm ha

Re: [PHP] A MySQL Question

2008-12-07 Thread Chris
German Geek wrote: On Mon, Dec 8, 2008 at 3:24 PM, Chris <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: And 'exists' is not for mysqldump. DROP TABLE IF EXISTS `mytable`; "if exists" can be used in lots of places other than

Re: [PHP] A MySQL Question

2008-12-07 Thread Chris
Sorry, I couldnt find EXIST there, only EXISTS. If you're going to be that pedantic, "exist" isn't in mysqldump either :P I know it's pedantic, but unfortunately computers are strictly pedantic and I wasn't sure why you said "if exists" can be used in lots of places other th

Re: [PHP] A MySQL Question

2008-12-07 Thread Chris
Right So, how are these different: SELECT * FROM t1 WHERE id EXISTS (SELECT id FROM t2) If there are *any* results for the subselect, the exists returns true. It's the equivalent of: select * from t1 where id is true; ie select * from t1; If there are no results for the subselect, t

Re: [PHP] Re: file_exists and wildcard/regex

2008-12-09 Thread Chris
Daniel Kolbo wrote: Maciek Sokolewicz wrote: Daniel Kolbo wrote: What is the preferred method with php to test and see if a file [pattern] exists? For example, i only need to search in one directory, that may have any number of files named such as afile1.txt, afile2.txt, afile3.txt, A

Re: [PHP] Dates and Mysql

2008-12-10 Thread Chris
VamVan wrote: Hello Gang, I have a Mysql table which has timestamp for the date the record was created. I was wondering how is it possible for me to query the table to retrieve all the records that are one week less than the time stamp? http://dev.mysql.com/doc/refman/5.0/en/date-and-time-fun

Re: [PHP] restrict fsockopen spam etc.

2008-12-10 Thread Chris
Andre Hübner wrote: Hello List, in last times i recognize that some scripts/formmailer of customers get abused by spammers. Some scripts avoid to use smtp-server and do smtp-dialog by its own using fsockopen etc. Problem ist that if mails are sent by fsockopen directy to other servers they no

Re: [PHP] Re: Foreign Keys Question

2008-12-11 Thread Chris
Micah Gersten wrote: Colin Guthrie wrote: The ON DELETE CASCADE option is key here... "DELETE FROM students where student_id=1" will remove all traces of that student from the db... all the course they've attended, all the instructors who have taught them etc. keeps things nice and tidy without

Re: [PHP] Foreign Keys Question

2008-12-11 Thread Chris
Waynn Lue wrote: As a side note, FKs do enforce other table specific properties like indexes on the fields being constrained, so they do add value there as well. But there's of course an extra cost on updates and inserts to see if the FK is violated. On the external table? No they don't. mysql

Re: [PHP] Credit Card processing: Chase PaymenTech

2008-12-14 Thread Chris
phphelp -- kbk wrote: Hello - - --- -- - -- I need to develop Credit Card processing for my current application. We have our own shopping cart. We have been trying in vain to get technical information from PaymenTech for *months* -- but it seems that Chase sold part of it, or split it off in

Re: [PHP] checking local file size

2008-12-16 Thread Chris
John Pillion wrote: "Bojan Tesanovic" wrote in message news:... Well you need to know the TMP file name that has been in progress of upload, it is usually at /tmp folder I know how to get that... also you need to know the actual size of file uploading, there is an extension for PHP that

Re: [PHP] checking local file size

2008-12-16 Thread Chris
In short, what next? http://pecl.php.net/package/uploadprogress I already downloaded that, thanks. How do I apply it is my question. There's no documentation for the installation of it, that I see 'Course it is :) http://www.php.net/manual/en/install.pecl.php Linked from here: http:/

Re: [PHP] Phpmyadmin password

2008-12-16 Thread Chris
It flance wrote: Hi, I lost phpmyadmin password. Is there anyway to recover it? ask phpmyadmin: http://www.phpmyadmin.net/home_page/support.php -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Can PHP be used to snatch images cross-domain?

2008-12-16 Thread Chris
Rob Gould wrote: Brilliant! Now why do all these other scripts I've found make it look so hard?? http://wiki.dreamhost.com/index.php/CURL curl can handle timeouts much better (file_get_contents will timeout when the server on the other end says so). it can also tell you if a 404 is returned

Re: [PHP] Variable as an index

2008-12-21 Thread Chris
Anthony Gentile wrote: True, it might mean the very slightest in milliseconds...depending on what you're doing/hardware. Connecting to a db will (probably) take longer than most of those differences, let alone running a query & processing the results. Ternaries that make a lot of people feel

Re: [PHP] Variable as an index

2008-12-21 Thread Chris
Anthony Gentile wrote: for e.g. $var = 'world'; echo "hello $var"; vs echo 'hello '.$var; The first uses twice as many opcodes as compared to the second. The first is init a string and adding to it the first part(string) and then the second part (var); once completed it can echo it out. The seco

Re: [PHP] unsubscring from the list

2008-12-22 Thread Chris
Sudhakar wrote: hi i would like to unsubscribe from this php list as i keep getting too many emails. how do i unsubscribe. http://php.net/unsub.php -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] php beautify downloaded...great how does one run the program???

2009-01-05 Thread Chris
Fred Silsbee wrote: I looked at all the downloaded docs Ask in a more appropriate place for one thing. It has a forum: http://sourceforge.net/forum/?group_id=65412 -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

<    1   2   3   4   5   6   7   8   9   10   >