Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Andrew Brampton
Just a minor change, the HTTP Specification says that the Location header should use a absoluteURI which includes the full URL not just page.php... so http://yoursite.com/page.php is what you should be using there. Andrew - Original Message - From: "Chris W. Parker" <[EMAIL P

Re: [PHP] FTP - Can't build data connection

2003-07-26 Thread Andrew Brampton
ver. A quick look at the manual says that you should use ftp_pasv to make that happen. Hope this helps Andrew - Original Message - From: "Suhas Pharkute" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 26, 2003 11:29 PM Subject: [PHP] FTP - Can't

Re: [PHP] replacing & but not special chars

2003-07-27 Thread Andrew Brampton
a valid URL, so I don't think you should worry at all :))... And if you are worrying then any method you chose will have this problem and you should do the task by hand :) Hope this helps Andrew - Original Message - From: "Shawn McKenzie" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP] POST/GET using a proxy server

2003-07-27 Thread Andrew Brampton
ot tried this code, but I think I got it right :) Also please note that this connects to proxys on port 8080, you might need to change that. Oh and I changed the http/1.1 to 1.0 because I find it has less problems :) Hope this works/helps Andrew - Original Message - From: "David Yee"

Re: [PHP] fpdf

2003-07-30 Thread Andrew Brampton
email me. Andrew - Original Message - From: "Mukta Telang" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 11:27 AM Subject: [PHP] fpdf > Hi, > I want to display the results generated by the query and generate a pdf >

Re: [PHP] Pushing array onto array

2003-08-02 Thread Andrew Brampton
er a array of arrays which is roughly the same thing (and something not to worry about)... If you need more help just email me Andrew - Original Message - From: "Hank TT" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Saturday, August 02, 2003

[PHP] PHP5 Prototyping

2003-08-04 Thread Andrew Johnstone
Are there any plans to implement prototyping in PHP5? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can you turn off safe_mode for a global alias path or directory?

2003-08-14 Thread Andrew Nelson
hem... Can I turn off safe_mode and open_basedir for my /admin scripts? This DOESN"T work: php_admin_value open_basedir "none" php_admin_value safe_mode "0" HELP PLEASE! Thanks, Andrew. _ Hotmai

Re: [PHP] CRC and Polynomials

2003-08-24 Thread Andrew Brampton
gnificantly. (Rasmus)" Which seems to be called udm_crc32, and so far undocumented. I hope this information has been useful. Andrew - Original Message - From: "Methusula" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 22, 2003 1:01 PM Subject:

[PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-27 Thread Andrew Powell
I am receiving an error when attempting to use the SelectPrinter method in the CrystalDesignRunTime.Application COM object. The following code: - $crapp = new COM("CrystalDesignRunTime.Application"); $creport = $crapp->OpenReport("d:\\athermal\\reports\\backlog.rpt", 1); $creport->SelectPrint

Re: [PHP] Stupid question perhaps?

2003-03-27 Thread Andrew Powell
Tom: The install.txt file that came with PHP 4.3.1 states: At this time, support for Apache 2 is experimental. It's highly recommended you use PHP with Apache 1.3.x and not Apache 2. aap Tom Tsongas wrote: > I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been > previou

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
For the form: for ($i=0;$i<=59;$i++) { echo ""; } For the post back: for ($i=0;$i<=59;$i++) { $somedata[$i] = $_REQUEST['myfield_'.$i]; } aap Daniel Harik wrote: Hello guys, I'm trying to make grid form that will allow to edit 60 rows at the same time, it's not hard to make a loop that wou

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
Then append the id to the input name. e.g. For the input form: while (odbc_fetch_row($rs)) { echo ""; } And to read the data: while (odbc_fetch_row($rs)) { $sql = "update MyTable set MyFieldValue='".$_REQUEST['myfield_'.odbc_result($rs, "ID")]."' where (ID=".odbc_result($rs, "ID").")"; odb

Re: [PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-31 Thread Andrew Powell
gt;OpenReport("d:\\athermal\\reports\\backlog.rpt", 1); $creport->SelectPrinter("winspool", "HP LaserJet 1200 Series PCL", "Ne01:"); $creport->PaperOrientation = 0; $creport->PrintOut(False); aap Andrew Powell wrote: I am receiving an

Re: [PHP] Humour in programming?

2003-04-01 Thread Andrew Brampton
that string to one of your sites and magically it starts returning a image instead of what you expected. Actually this seems a really good way to see if a site is running PHP or not... Andrew - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Aaron Gou

Re: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread Andrew Brampton
You can use getimagesize on a jpg file to read its size, so either save the jpg in MySQL to a file and then do a getImageSize, or before you place the jpg in to the database read its size and store its dimensions with it in the db. Andrew - Original Message - From: "Phil Schwar

[PHP] PHP Install help with gettext

2003-06-06 Thread Andrew Li
ave not been able to locate the php_gettext.dll file, and it was suggested to try the libintl.dll file, but we have not had any success with it. Can you please help us? Thanks, Andrew [EMAIL PROTECTED]

Re: [PHP] PHP 4.3.2 released

2003-05-31 Thread Andrew Scott
Hi, This _still_ doesn't seem to work with Linux/Apache2. I have no problems with Apache 1.3.27. Have been running Apache/php for years, but I have been unable to get php to work with apache2 except as a cgi. I have now tried both --with-apxs2 and --with-apxs2filter. Neither appear to work. Us

[PHP] regex: line breaks to w/exclusion

2003-06-05 Thread Andrew Warner
I'm using this snippet to turn line breaks into tags: preg_replace("/(\015\012)|(\015)|(\012)/","\n",$page['CONTENT']); It works fine, but I'd like it to ignore text between tags. andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] manually unserializing session data

2003-06-14 Thread Andrew Warner
LUES ('$sess_id',$pid,$sid,$data)"; $result = mysql_query ($query, $mysql_sess_conn_id); } (...now delete expired sessions from sessions table) } andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to secure site?

2003-06-19 Thread Andrew Afliatunov
ou tell me some decision to solve my problem? -- Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Header, Directory, and SESSIONs

2003-06-21 Thread Andrew Warner
ory. This is my understanding, anyway. andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini

2003-06-25 Thread Andrew McCombe
w dir and renaming it to php.ini - then modifying that. HTH Andrew McCombe > Steve have you tried to search the entire drive for the php.ini file? > > > - Original Message - > From: "Steve Marquez" <[EMAIL PROTECTED]> > To: "PHP eMail List" <

[PHP] Re: Curl & NTLM

2003-06-25 Thread Andrew Ziem
Try the PHP file() command. Assumably you mean HTML not NTML. Andrew http://cday.sourceforge.net Boaz Yahav wrote: Does anyone have a code snippet that connects to a remote server using NTML and gets the HTML source? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP

[PHP] [] operator not supported for strings

2003-06-27 Thread Andrew McCombe
ainment and identity for ($i=0; $i < mysql_num_rows($rst2); $i++) { $r=mysql_fetch_array($rst2); $level2[$i] = $r['name']; $rst3 = sql_call("SELECT * FROM tmenu WHERE parent=".$r['id']); while ($a=mysql_fetch_array($rst3)) { $level2[$i][] = $a['name

[PHP] mysql split?

2003-06-27 Thread Andrew McCombe
Hi I have a field in mysql that has paths to files such as: project/entertainment/andrew/job/1.jpg project/corporate/roberts/job/1.jpg project/corporate/andrew/job/1.jpg project/identity/john/job/1.jpg The first level is always 'projects'. What I want to do is get the unique name f

Re: [PHP] mysql split?

2003-06-27 Thread Andrew McCombe
Does mysql have an explode function? I suppose this is the wrong place to ask... Andrew - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Andrew McCombe" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003

Re: [PHP] Here we go with PATHS - again!!

2003-06-28 Thread Andrew McCombe
idea how to solve this. It just gives me a headache. > > TIA Try escaping your paths with double slashes, ie, d:\\Apache\\htdocs\\supreme\\image.gif or d://Apache//htdocs//suprem//image.gif might work. Regards Andrew McCombe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Macromedia Flash

2003-06-28 Thread Andrew McCombe
o update the links or buttons from > page to page. > > Thanks in advance, > Dan Yes you can. I'm currently writing a script that uses php to pull info in from a mysql db and passes the results back to flash as xml. Don't ask me how the flash part works though, i don'

[PHP] which GD

2003-06-30 Thread Andrew McCombe
Hi My hosting company has disabled phpinfo(). How can I find out which version of GD they have installed? Regards Andrew McCombe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-23 Thread Andrew Chase
If all you're doing is applying the patch (not adding/removing any extensions), you should be able to use ./config.nice which will use all of the configuration commands from your last compile (This is an extremely handy thing if your GD/Freetype setup was particularly ornery the first time aroun

RE: [PHP] MySQL Backup and Restore

2002-07-24 Thread Andrew Chase
I encountered that same timeout problem once, and I wound up just installing my own copy of PhpMyAdmin in an .htaccess protected directory on the server, and extending the time limit there. It only took about 10 minutes to set up, and as an added bonus it was a more recent version of PhpMyAdmin t

RE: [PHP] Re: Where do I specify a DSN?

2002-07-25 Thread Andrew Hill
dows, you are trying to use a File/User DSN instead of a System DSN. 4. on *nix - you haven't specified your ODBCINI environment variable like: putenv("ODBCINI=/path/to/odbc.ini"); (note LD_LIBRARY_PATH and ODBCINSTINI may have to be defined as well!) Best regards, Andrew Hil

RE: [PHP] Using PHP to access a Microsoft SQL server

2002-07-25 Thread Andrew Hill
ODBC can do this directly - no root privs needed. http://www.php.net/odbc Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: Lazor, Ed [mailto:[E

RE: [PHP] [GURU] PHP w/ Informix DB ISQL 7.20 and Dynamic server 7.30

2002-07-25 Thread Andrew Hill
Hi Emile, Sure, ODBC should work just fine. Let me know if you need info on setting it up. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: Emile B

RE: [PHP] ODBC Failures

2002-07-25 Thread Andrew Hill
How does it fail? Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: David Busby [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 4:29 PM To:

RE: [PHP] Where do I specify a DSN? v0.2

2002-07-25 Thread Andrew Hill
- the instructions should be similar for UnixODBC. Hint - look at the "putenv()" calls. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: David

[PHP] HOWTO: ODBC-PHP-Apache2

2002-07-25 Thread Andrew Hill
http://www.iodbc.org/odbc-php-apache2.html Please provide feedback and comments! Best regards, Andrew Hill Director of Technology Evangelism - OpenLink Software What is Virtuoso? http://www.openlinksw.com/virtuoso/whatis.htm -- PHP Ge

RE: [PHP] Close A Databse Connection

2002-07-26 Thread Andrew Hill
+1 right. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 2:22 PM To: [E

Re: [PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread Andrew Brampton
Just install apache (for windows), MySQL (for windows), and PHP... voila a local webserver, and the only way to view your pages, no need to upload since you can point your webserver to where you are developing your php. andrew - Original Message - From: "Marcus Unlimited&quo

RE: [PHP] web services and PHP

2002-07-31 Thread Andrew Chase
There is also a PEAR SOAP package available: http://pear.php.net/package-info.php?pacid=87 Some web services also use XML-RPC, a simpler predecessor to SOAP: http://www.xmlrpc.com There are a couple of PHP classes available for implementing XML-RPC clients and servers: http://phpxmlrpc.source

RE: [PHP] Creating Image...

2002-07-31 Thread Andrew Chase
To write a GD image to disk as a jpeg, do this instead: $im = imagecreate(50,100); imagejpeg($im, "test/im.jpg"); You don't need to use file handlers. Of course, without doing anything like adding text or lines to $im, it will just be written to disk as a blank image. :) -Andy > -Origin

Re: [PHP] php3 to php4 migration woes

2002-07-31 Thread Andrew Brampton
Since 4.1.? the way things worked changed... Instead of using $album you need to use $_GET['album'] you can default back the old behaviour with a php.ini change, but the new way is prefered andrew - Original Message - From: "Bruce Riddle" <[EMAIL PROTECTED]> To

Re: [PHP] .htaccess

2002-08-02 Thread Andrew Brampton
place a phpInfo() page behind the .htaccess and you will see what varibles php has :) I'm pretty sure there is ones contianing the username/password that was entered Andrew - Original Message - From: "Oliver Witt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP] PHP Hosting

2002-08-02 Thread Andrew Brampton
This has been discussed in great detail before.. but the simplist solution is running PHP in safe mode, it does limit the user to certain things, but it stops them bringing the server down or altering others files andrew - Original Message - From: "Matt Babineau" <[EMAIL P

[PHP] Safe Mode seems to turn on and off randomly

2002-08-03 Thread Andrew Brampton
ng this because I'm curious as well I can't give any more server specific details then what is publicly available on the phpInfo page since I don't know them :) Anyway thanks for any reply Andrew

[PHP] Vote to ban Acer

2002-08-03 Thread Andrew Brampton
e I set outlook to block his mails would the mods of this be able to remove him and stop him flaming our gods.. Thanks Andrew

Re: [PHP] which function can do so ?

2002-08-04 Thread Andrew Brampton
the bit in the middle is... If you need help doing that just post again :) Andrew - Original Message - From: "php @ banana" <[EMAIL PROTECTED]> To: "PHP-GENERAL" <[EMAIL PROTECTED]> Sent: Sunday, August 04, 2002 8:19 AM Subject: Re: [PHP] which function can

RE: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-08 Thread Andrew Hill
Doug, Have you tried setting the variables with putenv() ? Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: Doug Smith [mailto:[EMAIL PROTECTED]]

RE: [PHP] Re: can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-08 Thread Andrew Hill
Doug, It may be - I'm a bit more familiar with iODBC. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: Doug Smith [mailto:[EMAIL PROTECTE

[PHP] Random mirrors and download quota

2002-08-10 Thread Andrew Conner
er, and if it isn't, will just add one to it and update the file. How would I go about this, or is there a better way to do this? Thanks in advance. Andrew Conner The script (I know it doesn't use the best design, but it works, any better ways of doing this?): http://www.s

Re: [PHP] Case Sensitivity

2002-08-11 Thread Andrew Brampton
ggest in your PHP coding that you get all the cases (of files) the same throughout your app, or if you want to be lazy do what you are doing at the moment (ie changing the case with strtoupper()) Andrew - Original Message - From: "Rich Hutchins" <[EMAIL PROTECTED]> To: <

Re: [PHP] Making PHP faster?

2002-08-12 Thread Andrew Brampton
plus 60minutes of code changes/tweaks.. Just my 2c Andrew - Original Message - From: "Jean-Christian Imbeault" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 4:39 AM Subject: [PHP] Making PHP faster? > I'm using PHP to load data into a Po

Re: [PHP] PHP-Ebay Interface

2002-08-13 Thread Andrew Brampton
Well not a legal idea no :) Andrew - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 4:52 PM Subject: [PHP] PHP-Ebay Interface > Anyone have any idea how to easily > interface with the Ebay

Re: [PHP] requesting sites running OS X

2002-08-13 Thread Andrew Brampton
doesn't show other MacOSX websites... But if you want to guess a few than you can check... I know that apple.com is MacOSX :) Andrew - Original Message - From: "Michael Geary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 5:28 PM Subj

Re: [PHP] Shared network server failing to include files

2002-08-14 Thread Andrew Brampton
apache at that Andrew - Original Message - From: "Julio Nobrega" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 4:58 PM Subject: [PHP] Shared network server failing to include files > Hi all, > > I am not 100% sure if this is a

Re: [PHP] A Doubt!

2002-08-19 Thread Andrew Brampton
In the php.ini file there is somewhere to set the smtp server to use if you don't have sendmail... Look for that and that might help Andrew - Original Message - From: "Thiruvelraj Pokkishamani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Augu

Re: [PHP] Embeding images in HTML emails

2002-08-20 Thread Andrew Perevodchik
Hello, Michael Sims! MS> I imagine that MS> Manuel Lemos' PHP Classes site has a class that would take care of MS> this for you... url, plz :) -- Andrew Perevodchik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] exec problem

2002-08-27 Thread Andrew Brampton
If you are trying to receive the output of the command line you can use the backtick notation $list = `ls`; Hope that helps Andrew "Mark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i'm basicly trying to execute an execut

Re: [PHP] Does this call for an array?

2002-08-28 Thread Andrew Brampton
helps Andrew - Original Message - From: "Duffy Betterton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 2:48 PM Subject: [PHP] Does this call for an array? > Here is what I would like to do. I have a simple form that asks for > info

Re: [PHP] How can I strip the code from HTML pages to extract the contents of a HTML page.

2002-08-28 Thread Andrew Brampton
the striptag function is what I think you want, it just removes all HTML tags and returns whatever is left php.net/striptag Andrew - Original Message - From: "Charles Fowler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, Aug

[PHP] FW: php question

2002-08-29 Thread Andrew Fry
istant pattern at offset 3" > > >do you have any idea what would cause this? >any help you can provide would be very appreciated. > >thanks, >Andrew > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Average Number For Math Functions

2002-08-29 Thread Andrew Brampton
I can't seem to see a pre-built functions but here is one I just wrote in my email client: function average($numberArray) { $sum = 0; for ($i=0;$i To: <[EMAIL PROTECTED]> Sent: Friday, August 30, 2002 1:55 AM Subject: [PHP] Average Number For Math Functions Ok I looked at all the math f

Re: [PHP] few things...

2002-08-31 Thread Andrew Brampton
ets say I have a form with 10 variables. > Is there a function where I can do something like: > > hidden($var1,$var2,$var3) etc etc so it will write this: > > > PHP doesn't really write HTML for you, thats your job... so a function or a simple loop could do this... for

Re: [PHP] Download site down?

2002-08-31 Thread Andrew Brampton
find the other day that I wasn't able to download the PHP Source from one of the mirrors, but a quick refresh of the download page supplied me with a working mirror :) Andrew - Original Message - From: "Rodolfo Gonzalez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]&

[PHP] Re: PHP / Bulk Email

2002-09-04 Thread Andrew Cowles
s the MTA that causes the biggest overhead in the equation... and Qmail is so much nicer than Sendmail! Cheers, Andy Andrew Cowles KAPOW! SMS Gateway http://www.kapow.co.uk/ --- To text or not to text.. that is A question. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] xml to mysql

2002-09-04 Thread Andrew Hill
Server is available as a free download - let me know what you think. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: DtM [mailto:[EMAIL PROTECTED]]

Re: [PHP] whois query

2002-09-12 Thread Andrew Brampton
rence, www.hotscripts.com is a GREAT site which has tons of PHP scripts, allways look there 9 times out of 10 you will find a script you can use. Andrew - Original Message - From: "Adam Williams" <[EMAIL PROTECTED]> To: "yasin inat" <[EMAIL PROTECTED]> Cc: <[EMAIL

[PHP] session_start function breaks flush function in 4.2.1

2002-09-23 Thread Chris Andrew
I use a script which initially sends a friendly message to a browser, and then goes about some lengthy processing. The browser is IE and I am aware of the 256 byte issue. The script worked nicely in php.4.1.1 but since installing 4.2.1, the flush function doesn't do its job. However, it works if

Re: [PHP] Using PHP to create tables?

2002-10-02 Thread Andrew Brampton
t the correct command Andrew - Original Message - From: "Andre Dubuc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 2:44 PM Subject: [PHP] Using PHP to create tables? > In order to get my site on-line, I need to upload all my files,

[PHP] formatting / beautifying PHP code

2002-10-06 Thread Andrew Ziem
Is there a utility that formats / beautifies PHP code like indent does for C code? -- Andrew Ziem Is Jesus Your Answer? http://www.ChristianAnswers.net/gospel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Does anyone knows File Maker

2002-10-07 Thread Andrew Hill
Elliot, PHP works just fine with ODBC, using the iODBC Driver Manager as per the HOWTO at http://www.iodbc.org. This should work against FMPro under Windows as well. Best regards, Andrew Hill Director of Technology Evangelism - OpenLink Software Universal Data Access and the Virtuoso Universal

[PHP] CC Processing Merchants

2002-10-09 Thread Andrew Brampton
done it before. Thanks Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] WinAMP Plugin Question

2002-10-12 Thread Andrew Brampton
, you can either do it via your webserver, it just let your webserver link straight to your SpyAmp page. Andrew - Original Message - From: "eriol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 12, 2002 8:06 AM Subject: [PHP] WinAMP Plugin Ques

Re: [PHP] Detecting GD version

2002-10-13 Thread Andrew Brampton
try function_exists('imagecopyresampled'); otherwise I'm sure there has to be some function that returns versions of libs. Andrew - Original Message - From: "Owen Prime" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 14, 200

Re: [PHP] php and databases

2002-10-26 Thread Andrew Hill
Or, more simply - set up an ODBC DSN on the Windows box to the MySQL database, and simply link the tables into Access. Best regards, Andrew Hill Director of Technology Evangelism - OpenLink Software Universal Data Access and the Virtuoso Universal Server http://www.openlinksw.com/virtuoso

Re: [PHP] Best way to store Votes for Survey app

2002-10-27 Thread Andrew Brampton
te is made/changed/deleted. That way MySQL isn't adding up 20,000 records each time you want to display the current results, and this also leaves you the flexibility to do other statitisics on your data later. Hope this helps Andrew - Original Message - From: "Monty" <[E

Re: [PHP] OCDB Connection from unix box

2002-10-27 Thread Andrew Hill
Hi Peter, Check out the PHP-ODBC HOWTO's on http://www.iodbc.org, this will help you get the *nix side set up. You will also need an appropriate driver to install on the *nix box - OpenLink has 30 day trials if you require one. Best regards, Andrew Hill Director of Technology Evang

[PHP] Decimal Places

2002-10-29 Thread Andrew Wilson
around it is if i piped the above statement into another varible and set that variable to an integer then printed that. I dont really want to do this as i will end up with 50 extra variables. Thanks in advance for your comments. Andrew Wilson Technical Support Netway Networks 8920-8877

Re: [PHP] ftp_rawlist problems

2002-11-02 Thread Andrew Brampton
This is a known bug on the windows platform. It has been fixed in CVS, and is most likly fixed in the current 4.3.0pre2 release. I experience this problem a few weeks ago, but once I downloaded the lastest CVS Snapshot it worked as expected. hope this helps Andrew - Original Message

Re: [PHP] Problem with is_dir function

2002-11-02 Thread Andrew Brampton
/incoming are invalid Hope this helps Andrew - Original Message - From: "Roger Lewis" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Saturday, November 02, 2002 7:06 PM Subject: [PHP] Problem with is_dir function > I'm having a problem wi

Re: [PHP] Rotating Ads

2002-11-09 Thread Andrew Brampton
use. Andrew - Original Message - From: "Stephen" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Saturday, November 09, 2002 7:45 PM Subject: [PHP] Rotating Ads I have a link exchange script and I need to rotate the ads each time a page refr

Re: [PHP] Rotation of images

2002-11-12 Thread Andrew Brampton
You could write your own rotation code, moving every pixel one by one, Otherwise I've not used GD enough to know one... but actually quickly looking at the GD Function list I found: http://www.php.net/manual/en/function.imagerotate.php Voila Andrew - Original Message - From: "

Re: [PHP] Listing files and their details on a text file

2002-11-18 Thread Andrew Brampton
You would do it just like you would if you were outputing to the browser look up the following: dir, fopen and fwrite. Just be looking at the examples and user comments you will have all the source you need Andrew - Original Message - From: "Carlos Fernando Scheidecker Antunes&quo

Re: [PHP] flush() issue

2002-11-20 Thread Andrew Brampton
Are you outputing each row in a table? IE won't start displaying the table until the tag, that might be causing your problem... Andrew - Original Message - From: "Jock Pereira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 1

Re: [PHP] Graph Question..

2002-11-20 Thread Andrew Brampton
Try going direct to the image's URL, this might show any PHP errors. If that doesn't work, you can request the page via telnet and see if any errors are appearing Andrew - Original Message - From: "James Hatridge" <[EMAIL PROTECTED]> To: "PHP-GEN"

[PHP] Detect new messages?

2002-06-07 Thread Andrew Ziem
. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Detect new messages?

2002-06-07 Thread Andrew Ziem
. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can a php script be placed within a stylesheet?

2002-06-10 Thread Andrew Brampton
Yes you can place one in a style sheet you just need to tell apache (or whatever) that .css should be parsed by PHP, this can be done via a .htaccess or something similar... Here is a example in a .htaccess file: AddType application/x-httpd-php .css andrew - Original Message - From

Re: [PHP] Editor

2002-06-13 Thread Andrew Glanville
was last updated before PHP4 was released - you can snag a replacement syntax file off of the GNOME CVS tree under the midnight commander source section) HTH -andrew PS. It has no relationship to the win32 based sound editor > Actually it is macromedia now. And it is windows based, w

RE: [PHP] RE: ODBC for Informix

2002-06-18 Thread Andrew Hill
Hi Kevin, You can also obtain ODBC Drivers for Informix from OpenLink - http://www.openlinksw.com Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -Original Message- From: J

RE: [PHP] Error Reporing Questions with Mac

2002-06-18 Thread Andrew Hill
Kevin, This can either be set dynamically by the error_reporting() function, or changed in the php.ini file. http://www.php.net/manual/en/function.error-reporting.php http://www.php.net/manual/en/features.error-handling.php Best regards, Andrew Hill Director of Technology Evangelism OpenLink

Re: [PHP] Is this a BUG?

2002-06-23 Thread Andrew Brampton
If the code is in a function then don't you need to call global $HTTP_POST_VARS; at the top of the function so that it knows you can use that varible? Andrew - Original Message - From: "César Aracena" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL

Re: [PHP] PHP with IIS

2002-06-24 Thread Andrew Brampton
Does the user to which ISS runs under have network permissions to access p:\ ? IIRC you need to set up ISUR_machine_name to have permission to the remote share. Andrew - Original Message - From: "Dave Leather" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mond

RE: [PHP] PHP to create static images

2002-06-24 Thread Andrew Chase
To save an image to disk with the imagepng/imagejpg/imagewbmp functions all you have to do is give the file name as the second parameter to the function; so if you wanted to call the first graph 'graph1.png', it would go something like imagepng will attempt to save graph1.png in the same direct

RE: [PHP] Image aliasing

2002-06-24 Thread Andrew Chase
Hi Morgan, None that I'm aware of. I guess this is somewhat OT, but does the person you're giving the images to realize that resizing the images by means of the HTML width/height attributes doesn't do anything to size of the file the person viewing the page has to download? I don't know the par

RE: [PHP] redeclaring functions

2002-06-26 Thread Andrew Chase
http://www.php.net/manual/en/function.include-once.php http://www.php.net/manual/en/function.function-exists.php HTH, -Andy > -Original Message- > From: Taylor York [mailto:[EMAIL PROTECTED]] > > I am having a problem with two scripts that use the same function name. > The two functions

[PHP] Using COM to generate excel file - php version of vb Sheets("Report First page").Copy After:=Sheets(1)

2002-06-26 Thread Andrew Braund
ot;).Select Sheets("Report First page (2)").Name = "new Sheet" My problem is that I can't work out the php version of Sheets("Report First page").Copy After:=Sheets(1) ie there is a space between Copy and After and how do I get the := operator? Any suggestion much a

RE: [PHP] base64_encode

2002-06-26 Thread Andrew Braund
26+10+2=64 sounds right. HTH Andrew Braund > -Original Message- > From: Gerard Samuel [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 27 June 2002 11:15 > To: php-gen > Subject: [PHP] base64_encode > > > What other characters are possible from the output of ba

Re: [PHP] Design Tips

2002-06-26 Thread Andrew Brampton
hour to write, and I eventually got it to do posts and get, and to send all headers So using PHP is totally possible for what job you want Andrew - Original Message - From: "David Redmond" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 27, 2002

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