[PHP] Is php even right for this design?

2002-09-19 Thread William
I am interested in writing a large scale, cross platform payroll/hr/gl appl entirely in php + mysql Innodb (for transaction support). I have 2 php programmers 1 asp/foxpro/access programmer to help me. I see 4 big hurdles to overcome in my php design: Large Libraries, Long Processes, Reporting,

[PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
". My programming philosophy differs from such a lazy approach, and I will not humor it. Please limit replies to constructive workarounds. Thanks! -- William Kimball, Jr. "Programming is an art-form that fights back!" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
tiple database connections need to be used and when multiple query results need to be managed simultaneously. -- -- William Kimball, Jr. "Programming is an art-form that fights back!" "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] : William

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
If you read the code I posted, you'd see that I am sending valid resources. :) As I explained, I lifted the technique directly from the PHP documentation. Now, if you can see a bug in my implementation of this technique, by all means, please point it out. -- -- William Kimbal

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
out having to mute warnings (otherwise, your solution is faulted). Just take a few minutes of your valuable time to read the code I posted. I challenge you to find fault with my management of the resource handles. In the end, we may both be better programmers. -- William Kimball, Jr. "Pr

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
d seem only to serve your own ego. This matter is closed. Good day. -- -- William Kimball, Jr. "Programming is an art-form that fights back!" "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] : William wrote: : : > Why waste time by turnin

[PHP] Problem: Only 1 fsockopen() connection for apache at a time.

2002-12-03 Thread William Bailey
apache processes just sit there and wait for it. The remote server only ever gets 1 connection at a time even though there are free connections available. Has anybody else seen this or know of a way around it. -- Regards, William Bailey. Pro-Net Internet Services Ltd

Re: [PHP] date

2002-12-03 Thread William Bailey
along with the date() function to get what you need. -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk http://wb.pro-net.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and file uploads/downloads

2002-12-03 Thread William Bailey
ders. example: header('Content-type: application/octet-stream'); header(sprintf('Content-disposition: inline; filename=%s', $fileName)); header(sprintf('Content-length: %d', $fileLength)); // Output file now. Hope this helps. > > TIA, > > Beau --

Re: [PHP] Problem: Only 1 fsockopen() connection for apache at a time.

2002-12-03 Thread William Bailey
On Tuesday 03 December 2002 15:46, Roedel, Mark wrote: > > -Original Message- > > From: William Bailey [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 03, 2002 6:04 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Problem: Only 1 fsockopen() conne

[PHP] Paging / Navigation Help

2002-12-12 Thread William Martell
Hello ALL. Can anyone tell me why the number of rows is always 1 and count is the total number of records in my database. Thanks in Advance, William [snip] 0;",$db); //get number of rows returned $number_of_rows = mysql_num_rows($result); if ($number_of_rows != '0&#x

[PHP] Fw: printf %d

2002-12-13 Thread William Martell
- Original Message - From: "William Martell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Friday, December 13, 2002 2:13 PM Subject: printf %d > Hello All. > > Can anyone tell me what this '%d' refers to? > > A pointer would be gr

[PHP] Fw: Paging / Navigation Question Solved!

2002-12-13 Thread William Martell
Thank you all for your input. Here is the answer that I was looking for. I am posting it here so that anyone else looking for this answer can benefit as well. Thank you all again for your responses. Merry Christmas!! William - Original Message - From: "Jay Blanchard" <[EM

[PHP] printf %d

2002-12-13 Thread William Martell
Hello All. Can anyone tell me what this '%d' refers to? A pointer would be great. Thanks [snip] if (!$result) die ("Query Failed\n"); else printf ("Number of rows returned: %d\n", <-HERE '%d' mysql_num_rows ($result)); while ($query_data = mysql_fetch_array ($result))

[PHP] Using -> to access hash elements

2002-12-13 Thread William Martell
Can someone shed some light on the '->' syntax seen below. Is this like similar to Perl '=>' syntax to access hash key value pairs? Thank you one and all. [snip] // print mailing list while($data = mysql_fetch_object($result)){ print($data->name . ", " . $data->address . ", " . $data->city .

[PHP] XML fopen($url)

2002-12-20 Thread William Bradshaw
Reading Remote Files With FOPEN: This appears to be quite a common problem for installations that run a really tight ship. I am trying to do some XML and have a slight problem: My hosting company does not allow for file sockets. I assume that this means that allow_url_fopen will not work. Exam

[PHP] Document(),passing argument

2003-02-19 Thread William S.
I am trying to get document() to work when the content of an xml file is passed as an argument using Sablotron. My goal is to apply this method to bringing in several xml files to the stylesheet. Below is the test situation. Can anyone see where I am going wrong? --- begin doc_test.php --- %s",

[PHP] passing content of file as argument

2003-02-20 Thread William S.
I would like to pass the content of "./doc_test2.xml" as an argument. How would I alter the file below to accomplish this? Do I need to change the stylesheet as well? begin *.php %s", xslt_errno($_parser), xslt_error($_parser) ); } ob_end_clean(); xslt_free($_parser); e

Re: [PHP] passing content of file as argument-SOLVED-

2003-02-20 Thread William S.
Please disregard the previous post. I figured it out. On Thu, Feb 20, 2003 at 04:24:00PM +0100, William S. wrote: > I would like to pass the content of "./doc_test2.xml" > as an argument. How would I alter the file below to > accomplish this? Do I need to change the s

[PHP] Adding to md5 checksums.

2003-04-02 Thread William Bailey
: $checksum=md5("abcdef\x00\x00"); -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk http://wb.pro-net.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zip to postcode

2003-04-02 Thread William Bailey
nge the following code: > if (!ereg("^[0-9]{5,5}(\-[0-9]{4,4})?$",$postcode)) > > to a UK postcode QQ1 1QQ > When i fill out the form it tells me that the postcode is not valid and i > think it is because it is in zip code format. > > Thank you > > Andy -- Rega

[PHP] Apache compile

2002-09-10 Thread William Allmendinger
'/usr/web/phpinfo.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 Any help would be great. ________ William F. Allmendinger Network Manager University of Detroit Mercy -- PHP General Mailing List (http://www.php.

Re: [PHP] Apache compile

2002-09-11 Thread William Allmendinger
> that should not > be inside of any PHP tags...just at the tip top of your > page)? > > Answering these questions will help us solve your > problem. > > ~ Matthew > > -Original Message- > From: William Allmendinger [mailto:[EMAIL PROTECTED]] > Sent: Tu

[PHP] Ereg help

2002-10-25 Thread William Glenn
Part # / Description / Price. I'd appreciate any help, I know this is probably real simple :) Thanks in advance. Thanks, William Glenn Import Parts Plus http://www.importpartsplus.com

[PHP] Code help

2002-11-06 Thread William Holroyd
I am fairly new to the PHP language and have built a website with it before, but nothing very complicated. Is there anyway of grabbing information from the browser as to where a user may have come from (referring page, search engine, etc.)? And if so, how would I go about getting it? William

[PHP] Uploading images to Mysql

2002-11-17 Thread William Glenn
MYSQL_CLOSE(); echo "$data"; } else { // else show the form to submit new data: ?> File Description: File to upload/store in database: Any ideas? Thanks, William Glenn Import Parts Plus http://www.importpartsplus.com

Re: [PHP] Sablotron broken in 4.2.1 ?

2002-06-08 Thread William S.
Thank you for the feedback. Sablotron is running fine now. Just had to do some modifications with my *.xsl file. Here is what I have going now with the implementation: http://213.84.71.105/ On Tue, Jun 04, 2002 at 10:57:45AM +1000, Tom Rogers wrote: > hi > I am using 4.2.1 and it works fine, I

[PHP] Running PHP script within stylesheet?

2002-06-09 Thread William S.
I am very new to PHP, Sablotron, XSLT, and MySql. Right now I have created a web page that is the result of a transformation (through php) of an xsl and xml file. What I would like to do is run a PHP script so that the result is displayed within a table on my web page. How do I do this? Here is a

[PHP] Running PHP script within stylesheet?

2002-06-09 Thread William S.
Sorry, perhaps I should have been a bit more specific. Here is my *.php file. I want the "hello world" script to output to the "Right Menu" table on my web page: http://213.84.71.105/ . %s", xslt_errno($_parser), xslt_error($_parser) ); } xslt_free($_parser); echo $result; ?> On Mo

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

2002-06-10 Thread William S.
Can a "php script" be put within a stylesheet and work properly? If so, how? For instance, this script put inside an XSL stylesheet file: Then it is transformed into html via Sablotron. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Stylesheet to query an xml file

2002-06-11 Thread William S.
I am looking for an example or an explanation of how to set up a stylesheet so it will enable a user to query content in an XML file. For instance. Have an XML file with names and addresses and the user would be able to search for a name and get back a list of matches. This would need to work wi

[PHP] appending to XML file before closing tag

2002-06-25 Thread William S.
This works pretty well to append content to an XML file. However, I need to keep the closing tag where it belongs: at the end of the file. This only appends to the end and doesn't work. I use ... $myecho = "Hello World"; $file_name = "file.xml"; $file_pointer = fopen($file_name, "a"); fwrite($

Re: [PHP] appending to XML file before closing tag

2002-06-25 Thread William S.
Yes, that worked. Nice and effective solution. Thank you. On Tue, Jun 25, 2002 at 09:51:21AM -0400, Erik Price wrote: > > If you know for a fact that the ending tag for each file is consistent > and always that same tag, here's an idea. Determine or specify the > length of the ending tag (in

[PHP] gdlib list or galleries?

2002-06-27 Thread William S.
Is there a mailing list just dedicated to gdlib or any places that show a gallery with examples? I would be interested in seeing examples of images that are complex/artistic and beyond simple rectangles and boxes. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] imageellipse not working with gdlib2.0

2002-06-30 Thread William S.
Maybe I am just doing it incorrectly but I am unable to get anything displayed with imageellipse in gdlib2.0. Can anyone give me a simple php script to test it with? I am using php with Sablotron. Thank you. -- Bill Amsterdam, NL -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] svg graphics and php : is it possible

2002-07-03 Thread William S.
Perhaps this relates to the original question as an additional feature. What would be the best way to offer SVG content from the main opening page? Since SVG requires a browser that has the approprite plugin or a dedicated browser, is it better to create a hyperlink or maybe have the SVG capabili

[PHP] using xsl:value-of select within form

2002-07-03 Thread William S.
I am able to do this: But would like to do something like this: "/> I know the latter does not work, so how do I correct it? Thank you, -- Bill Amsterdam, NL -- PHP General Mailing List (

[PHP] html entry within XML "database"

2002-07-13 Thread William S.
I am experimenting with using an XML file as a database. One of the things I do is provide a way of adding records to the database by an html form. This seems to work out well so far unless one of the fields in a record contains an html reference. The result is a Sablotron parse error. What is t

[PHP] select multiple within for-each

2002-07-15 Thread William S.
This works OK with creating buttons but is not what I want. POST/INPUT myform list.php post submit insert

Re: [PHP] select multiple within for-each (SOLVED)

2002-07-15 Thread William S.
Please disregard the previous posting I made. I figured it out. On Mon, Jul 15, 2002 at 10:52:23AM +0200, William S. wrote: > This works OK with creating buttons but is not what I want. > POST/INPUT > > > > > >

[PHP] Segmentation fault with Sablotron xslt_process()

2002-07-17 Thread William S.
I am getting random Segmentation faults when I use the following script. This does not happen when I run scripts that do not include the xslt_process() So I am assuming it has something to do with Sablotron and xslt. Below is also the back trace with the problem. Can anyone suggest a solution or n

[PHP] PHP Contractors/Consultants

2003-09-07 Thread William Reardon
Are there any lists of PHP contractors/consultants available online? It looks like I may need to find outside resources for a PHP project at work. I tried searching around for sometime, but was only able to find a few & none local to my area (silicon valley, ironically). Thanks, -Bill -- PHP

[PHP] How can one find out what Headers have been sent by a script.

2003-09-18 Thread William Bailey
Thanks in advance. -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can one find out what Headers have been sent by a script.

2003-09-18 Thread William Bailey
I have found something that seems to work: Typical i get stuck on something for ages and then as soon as i post to the list i figure something out :) oh well hope it helps somebody else. :) On Thursday 18 September 2003 15:10, William Bailey wrote: > Hello all, > > Does anybod

[PHP] seems like magic_quotes_gpc is turning itsself on!

2003-10-21 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I have a strange problem with one of the sites i work on and provide support for. I the following block of code that checks to see if magic_quotes_gpc is enabled and if it is it dies with an error message: if((integer)ini_get('magic_quo

Re: [PHP] seems like magic_quotes_gpc is turning itsself on!

2003-10-21 Thread William Bailey
database connections or anything else apart from class and function declarations have taken place. CPT John W. Holmes wrote: | From: "William Bailey" <[EMAIL PROTECTED]> | |>I have a strange problem with one of the sites i work on and provide |>support for. I the following block

[PHP] PHP5 interfaces

2003-11-12 Thread William Bailey
ct == null){ ~$method = null; ~} ~if($object != null && !is_object($object)){ ~$this->onChange(); ~}else{ ~$this->onChangeObject = $object; ~$this->onChangeMethod = $method; ~} ~ } - -- Regards, Will

[PHP] PHP5 interfaces

2003-11-12 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am currently starting a new personal project and thought that i would start to implement it in PHP5. Now the new object model in PHP5 is really nice and haveing objects bassed by reference by default saves a lot of head aches :)

[PHP] PHP5 interfaces

2003-11-12 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am currently starting a new personal project and thought that i would start to implement it in PHP5. Now the new object model in PHP5 is really nice and haveing objects bassed by reference by default saves a lot of head aches :)

[PHP] Getting the required GD Memmory Usage.

2003-11-26 Thread William Bailey
if i could work out the GD memory requirement without having to load the image it would be most useful. - -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG

Re: [PHP] Getting the required GD Memmory Usage.

2003-11-27 Thread William Bailey
error out. Is there a way to calculate the memory required to load the image without haveing to load it? Would the following work... $memSize = $imageWidth * $imageHeight * 4 This assumes that gd uses 32bits per pixel. Regards, William Bailey. Pro-Net Internet Service

[PHP] PHP5 XSLT how to.

2003-12-05 Thread William Bailey
documentation in the online php manual but am finding it to be all out of date in respect to the php5 implementation so if anybody could also point me to the correct information i would be very happy. - -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro

Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread William Bailey
ionNode->appendChild($dom->createTextNode('Its a test')); $xsl = new domDocument(); $xsl->load('loading.xsl'); $proc = new xsltprocessor; $proc->importStylesheet($xsl); print($proc->transformToXml($dom)); loading.xsl --- http://www.w3.org/1999/XSL/Transform";>

[PHP] stdin/stdout/etc

2004-01-13 Thread William Astle
doing to socket operations but I'd rather not do this. -- William Astle finger [EMAIL PROTECTED] for further information Geek Code V3.12: GCS/M/S d- s+:+ !a C++ UL$ P++ L+++ !E W++ !N w--- !O !M PS PE V-- Y+ PGP t+@ 5++ X !R tv+@ b+++@ !DI D? G e++ h+ y? -- PHP General Mailing List

[PHP] pass output of php scripts through command line program or cgi

2004-01-16 Thread Paul William
"index.php" is: ... then that output is run through "addfooter" (a command line script) which results in: ... The footer is inserted here. Then apache outputs the above html. Any ideas? Thanks Paul -- .''`. Paul William : :' :Debian admin

[PHP] include & include_once, how do they work?

2001-01-10 Thread William Bailey
memmory once it has been called? Thanks, William. -- 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] looking for a PHP editor

2001-01-10 Thread William Bailey
g 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] > -- Thanks, William. -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Variables in 'friendly' urls

2001-01-16 Thread William Bailey
i can't seem to get it to set the variables. It will run the script (profile.php) but the variable $team if still unset. Thanks, William. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Missing Records

2001-05-15 Thread William Poarch
Hi all, I have a setup where I populate one table as a temporary holding place for data. When the user's session is complete, I want to transfer all that data to a similar, permanent table. The strangeness is this - most of the time the data is all transferred fine, but sometimes only a few o

[PHP] Help: 'php in free(): warning: recursive call'

2001-05-17 Thread William Bailey
finding out what this means. So if anybody on this list knows then can you please tell me. Thanks, William. -- 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] PHP cgi/standalone script issue.

2002-02-07 Thread William Bailey
egards, William. -- William Bailey. http://wb.pro-net.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sablotron broken in 4.2.1 ?

2002-06-03 Thread William S.
Is Sablotron broken in 4.2.1 because none of the transformations have worked that I have tried. I am using: php 4.2.1 apache_1.3.24 expat-1.95.2 my files are: 'wget http://213.84.71.105/news.xml' 'wget http://213.84.71.105/news.xsl' 'wget http://213.84.71.105/news.php'

[PHP] Miliseconds with PHP4

2002-02-22 Thread William Lovaton
Hello there, I want to know the execution time of some scripts I made, I'm using the difference of seconds (time() function) between the start and the end of the script. But, I would like to get a greater precision... so, I was wondering if there is a chance to get miliseconds. TIA Wi

Re: [PHP] Array HELL!!!!

2002-02-22 Thread William Lovaton
u can do it in this way: ... Type of car > If anyone has the time to finish it or give me some pointers on what the > hell I am doing wrong please let me know, I would be very glad to hear your > opinion and the correct way to accomplish this. (And, yes I went through > just about every tutorial I could find on how to delete records, which by > the way did nothing for putting the results of a select statement into an > array or variable for futher processing.) Have a good weekend everyone!!! > Pissed and frustrated... > Jas "> something like that? -=(O)=- Passing parameters to a PHP scripts: Do it through the URL from a link: Delete this car from javascript: window.location.href="script.php?id=20&action=Delete"; I hope that helps. William.

Re: [PHP] login determines content on page

2002-02-24 Thread William Lovaton
--> TRUE if($var) --> TRUE ---===(O)===--- $var = 0; if(isset($var)) --> TRUE if($var) --> FALSE William _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing

Re: [PHP] creating dropdown lists from fetched arrays.

2002-02-25 Thread William Lovaton
El dom, 24-02-2002 a las 17:39, Matthew Darcy escribió: > Hi, > > I want to create a dropdown list with options from a table. > > ie > > > > > $sql_select = "select * from dropdown_options"; > $results = mysql_query($sql_select); > > while ($row = mysql_fetch_array($results); > { > e

Re: [PHP] PHP & Frames?

2002-02-25 Thread William Lovaton
You have to pass the params received in index.php to the rest of the pages in the frames... eg: http://mysite.com/index.php?s=1 so, the index.php script will looks something like this: name=menu>"; name=main>"; name=foot>"; William. El lun, 25-02

Re: [PHP] get out of frameset?

2002-02-25 Thread William Lovaton
try this: Log out or Log out William El lun, 25-02-2002 a las 12:00, Jan Grafström escribió: > Hi! > > I have build a webshop inside a framset using sessions, and move around in > my mainframe. > I wonder how to get out of the mainframe when I logg out and destroy the

Re: [PHP] Why Remember Session ??

2002-02-25 Thread William Lovaton
Well, you have to destroy the session... see session_destroy() I never tried this, but you can call a PHP script on the onUnLoad event of the body page... so when the window is closed, it calls a given script and this script destroy the session. William. El lun, 25-02-2002 a las 12:29, Beta

RE: [PHP] Help needed with Sessions

2002-02-26 Thread William Lovaton
You can look at this articles too: http://www.phpbuilder.com/columns/mattias2312.php3 http://www.phpbuilder.com/columns/mattias2105.php3 William. El mar, 26-02-2002 a las 10:27, Johnson, Kirk escribió: > Start here: http://www.php.net/manual/en/ref.session.php > > You wil

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread William Lovaton
Even... there are a lot of people still working with PHP 3 El mar, 26-02-2002 a las 13:44, John Cuthbert escribió: > My Webhost, www.easily.co.uk wou.ld appear to be running PHP 4.0.3 even > although PHP 4.1.1 is out. (www.jsa3d.co.uk/test.php) as you can see. > I will be writing to them about th

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread William Lovaton
Well, every version of every program have security issues, PHP 3 have security issues as well as PHP 4. Ask them for what specifics security problems are they talking about. William. El mar, 26-02-2002 a las 14:29, Tim Thorburn escribió: > Hi, > > Consider yourself lucky - m

Re: [PHP] Sessions and switching between php and htm documents

2002-02-28 Thread William Lovaton
Did you register de variable? look for session_register() in the manual. You can see this articles too: http://www.phpbuilder.com/columns/mattias2312.php3 http://www.phpbuilder.com/columns/mattias2105.php3 William. El mar, 26-02-2002 a las 23:36, Dave escribió: > login.

Re: [PHP] Writing to files

2002-02-28 Thread William Lovaton
There is no need to use cookies, sessions, write to a file or somethings like that... just pass the vars from a page to another through hidden fields in the next page form. Eg. William El mié, 27-02-2002 a las 02:18, Chris Kay escribió: > > Question I have is, Anyway know of a bett

Re: [PHP] PHP and passwords

2002-03-01 Thread William Lovaton
If you use just and .inc file any user with a browser can hit in the URL: http://www.site.com/connect.inc and see what is inside. So, de recomendation is: Use a .php extension: connect.inc.php William El jue, 28-02-2002 a las 14:16, Sam Masiello escribió: > > What you could do is

Re: [PHP] Overriding session headers

2002-03-01 Thread William Lovaton
May be this helps: http://www.php.net/manual/en/function.ob-start.php William. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] error msg

2002-03-01 Thread William Lovaton
You have to check your php.ini and set a valid tmp directory for storing session data. Look for the session section. William. El vie, 01-03-2002 a las 02:52, mm fernandez escribió: > hi. i get this error message whenever i open my page (except during the > first time i open it). Can s

Re: [PHP] Non printable page

2002-03-01 Thread William Lovaton
But you could save the page... change the colors and then print it. William. El vie, 01-03-2002 a las 15:11, Scott St. John escribió: > Black background, white text used to work :) > > > On Fri, 1 Mar 2002, Diana Castillo wrote: > > > Is there any way tomake a page t

[PHP] RSA Encryption with PHP (code attached)

2002-03-05 Thread William Bailey
library so you will need that installed before you are able to run my code. Also please cc me directly on a any responses as they will get to me quicker then by just emailing the list alone. Regards, William. -- William Bailey. http://wb.pro-net.co.uk =0; $i--){

Re: [PHP] REQUEST QUESTION

2002-03-05 Thread William Lovaton
That is impossible. If you want to store two values you will need two variables! William. El mar, 05-03-2002 a las 11:21, karthikeyan escribió: > Hi Guys, > > I allready posted this question in detail but I believe I didn't explain it >properly. > > There are

[PHP] Help needed with speading up a function.

2002-03-06 Thread William Bailey
se i really want to know if their is some way of knowing how close you are to a possiable prime so that if the random number is too far away then it could call itself again and try a different random start location. I look forward to any ideas that you might have. Regards, William. -- Will

Re: [PHP] How does attachment works with sybase?

2002-03-06 Thread William Lovaton
mmm... an attachment could be anything, a text file, a picture, a song, etc. May be you will need a BLOB. Look for the BLOB (at least in Oracle) data type in the SyBase documentation William. El mié, 06-03-2002 a las 10:47, Caleb Carvalho escribió: > Hi, > > How does attachment w

[PHP] ODBC Cobol Driver

2002-03-06 Thread William Lovaton
ed i guess) but looking on the web I found a lot of comercial companies with the driver i need. The only problem is the price and they doesn't have it as an evaluation product. So, if the driver is free... Much better! :-) TIA, William. __

[PHP] PHP3

2001-06-20 Thread William Poarch
Hi, Does "Select a.field, b.field from table_one a, table_two b where a.id = b.id" work in PHP3/MySQL 3.22.32? Client's running PHP3, and I'm on 4. thanks. - - - - - - - - - - Scott Poarch www.globalhost.com - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] UDP Port listening, can it be done?

2001-08-02 Thread William Bailey
at you can connect to a UDP port but can you listen on one? And if you cant then does anybody know if this is planned in a future version? Thanks, William. -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: n

Re: [PHP] Re: Left Join extremely slow (MySQL)

2001-08-03 Thread William Poarch
"explain" - - - - - - - - - - Scott Poarch www.globalhost.com - - - - - - - - - - > From: "Richard Lynch" <[EMAIL PROTECTED]> > Organization: Lynch Interplanetary Enterprises > Date: Fri, 3 Aug 2001 17:09:49 -0500 > To: <[EMAIL PROTECTED]> > Subject: [PHP] Re: Left Join extremely slow (MySQL

[PHP] Seg fault when returning True from shutdown function.

2001-08-06 Thread William Bailey
/bin/php -q Thanks, William. -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBO258MK39EoU2VrU1EQLsuACgwA0egpooR3AeRBbZMwp0rqKyCIkAn00U CDtlVoWinKYPAJgq+JjbEyh1 =FupR -END PGP SIGNATURE- -- PHP General Mailing List (http

[PHP] variable variables and eval

2001-08-13 Thread William Bailey
7;$%s', $section)}.=$pData; but it is not working. But if i do this: eval('$'.$section.'.="'.addslashes($pData).'";'); it works and all is well. I don't really want to use eval() and just wanted to see if anybody has any ideas why the above doesn&

Re: [PHP] good PHP to PDF libary?

2004-07-23 Thread Paul William
So far, i have seen pdflib and r&os pdf class. But i really would like to hear from you guys what is best? I use the r&os pdf class. It works great. Cheers Paul my only main goal for this is to create a low - res pdf and a hi - res business card pdf template. [/snip] http://www.fpdf.org -- PHP Gen

Re: [PHP] unlink() & rmdir() ... Problems.

2004-08-24 Thread William Moore
. I would have mentioned this earlier but I have been away from email for the past day or so. -William On Tue, 24 Aug 2004 14:32:43 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote: > Ave, > > IT WORKS!!! > I guess it was the syntax which was the problem! Finally it works!! &

Re: [PHP] Parsing large file

2004-08-31 Thread William Moore
t the script runs correctly, but it will not finish parsing all of the data. If you check the DB, do some of the records show up there? -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Cached Templates

2004-09-02 Thread William Moore
problem was occurring. I started from the top and worked my way down the page until I found the trouble spot. If you try to pull up your page and neither your access_log, or error_log file show anything for that request then you can be pretty certain that your request is getting intercepted some

[PHP] reading MS Excel?

2006-12-28 Thread William Stokes
Is it possible to read Excel files and store the info to DB? If so how? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Arrays help

2007-01-05 Thread William Stokes
Hello, I'm making a menu script that uses mysql, php and javascript to build a "on mouse over" dropdown menu to a page. I ran into some problems and would need help to get this working. (This is just the top level of the menusystem) 1. Get the toplevel links from DB, create array and put values

[PHP] Access array data in foreach?

2007-01-06 Thread William Stokes
Hello, I Have an array $toplevel containing arrays: Array ( [0] => Array ( [0] => 1 [1] => 1 [2] => eka [3] => eka.php ) [1] => Array ( [0] => 2 [1] => 1 [2] => toka [3] => toka.php ) [2] => Array (

Re: [PHP] Access array data in foreach?

2007-01-06 Thread William Stokes
Uh. (Embarrassed) Thanks anyway!! -W ""Casey Chu"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > $value holds the value of the current array element. > > On 1/6/07, William Stokes <[EMAIL PROTECTED]> wrote: >> Hello, >> >

[PHP] Arrays?

2007-01-07 Thread William Stokes
Hello, How to print out the following array $test so that the print order is by the fourth[4] key? I need to print out all arrays in $test so that the data is ordered by the fourth key in ascending order. $test =Array ( [0] => Array ( [0] => 5 [1] => 2 [2] => sika [3] => sika.php [4]

[PHP] web form data to arrays?

2007-01-17 Thread William Stokes
Hello, I have a script which retrieves rows from DB and prints them to a user editable form to a web page. I don't know how to print the form objects so that all editable fields are put to arrays for updating them to DB. I have tried to create arrays sarjanID[] etc. but havent got it to work...

Re: [PHP] web form data to arrays?

2007-01-17 Thread William Stokes
tti viestissä:[EMAIL PROTECTED] > On sze, 2007-01-17 at 15:23 +0200, William Stokes wrote: >> Hello, >> >> I have a script which retrieves rows from DB and prints them to a user >> editable form to a web page. I don't know how to print the form objects >> so >

Re: [PHP] web form data to arrays?

2007-01-17 Thread William Stokes
I got it working like this: $counter = 0; foreach ($arr as $value) { //make the form ... print "\n"; $counter++; } Now I have array $ArrUpdate which contains sub-arrays with the update data. This can now be processed with another foreach loop -Will "Jochem Maas" <[EMAIL PROTECTED]> kirj

  1   2   3   4   5   >