[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] 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] 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] 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] 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

[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] 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] 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'

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] 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] 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] 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] 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

[PHP] regular expression help!

2007-01-18 Thread William Stokes
Hello, Can someone here give me a glue how to do the following. I guess I need to use regular expressions here. I have absolutely zero experience with regular expressions. (if there's another way to do this I don't mind. I jus need to get this done somehow :) I need to strip all characters fro

Re: [PHP] regular expression help!

2007-01-18 Thread William Stokes
Hello Roman, Could you specify the functionality of your script a bit please. (How it works) I forgot to mention that this part: ', is not always the same. The image properties can vary. Thanks -Will "Roman Neuhauser" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] ># [EMAIL PR

[PHP] sortind arrays

2007-01-24 Thread William Stokes
Hello, How can I sort an array like this so that it would be ASC ordered by the [1] key in subarrays? I need to maintain only the subarray key - value pairs. (Do I make sense?) Array ( [0] => Array ( [0] => Logo [1] => NameC [2] => Home

[PHP] php & javascript interaction

2007-01-26 Thread William Stokes
Hello, I need some advice on how to learn Javascript and PHP interaction. Any good tutorials on the web would be most welcome. I particulary need to learn how to pass JS user input/choices to PHP. My current problem is how to ask user confirmation over his actions on a web form after POST. "Ar

[PHP] Opera advice needed!

2007-02-06 Thread William Stokes
Hello, I just noticed when I published a new menu system that it does NOT work in the ISP hosted server. However it works ok on my test server. Here's the test I have done all in same client machine (=unchanged browser settings): My test server: IE6 & 7->OK Opera 9.02 -> OK Firefox ->OK IS

Re: [PHP] Opera advice needed!

2007-02-07 Thread William Stokes
If there's an opera expert around could you please check out the following link: http://www.fcviikingit.com/new/testimenu.php This script contacts a DB and prints out the results as javascript to the client browser. As I mentioned earlier It works ok with IE, FF, Netscape but not with Opera. H

Re: [PHP] Opera advice needed!

2007-02-07 Thread William Stokes
ShitSHitSHIT!!! I had javascript disabled in Opera. The browsed just ignored it's own settings while brosing my server??? Feeling stopid. :O -W (Just costed me 3 hours) ""William Stokes"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > Tha

Re: [PHP] Opera advice needed!

2007-02-07 Thread William Stokes
when the files are in my test server... -W "Frank Arensmeier" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] 7 feb 2007 kl. 09.50 skrev William Stokes: > If there's an opera expert around could you please check out the > following > link: > > htt

[PHP] IP to City detection

2007-03-21 Thread William Lovaton
Hi people, Is there a way to detect the city of a person based on the IP address? I mean something like ip2nation http://www.ip2nation.com/ but for cities so I can use it in my PHP web application. Thanks for any help you can give me, -William -- PHP General Mailing List (http://www.php.net

RE: [PHP] IP to City detection

2007-03-23 Thread William Lovaton
Hi, Thanks to all of you who helped me out. I think this one is the best option for now, it even has an API for PHP 4 and another one for PHP 5. PHP 4: http://www.maxmind.com/download/geoip/api/php/ PHP 5: http://pear.php.net/package/Net_GeoIP/ Cheers, -William El mié, 21-03-2007 a las 14

[PHP] Language detection with PHP

2007-03-27 Thread William Lovaton
I am worried about is how accurate is it... I'll check soon and post my comments later. 3) I'd really like to hear what different alternatives all of you have for this problem. Thanks a lot, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Language detection with PHP

2007-03-29 Thread William Lovaton
iacritical marks but also skipping some characters. Maybe I will use a combination of both (the PEAR class and the spell checker) when I need to detect a long sample or a short sample respectively. Thanks again for sharing your comments, -William El mié, 28-03-2007 a las 09:44 +0

[PHP] How to detect charset encoding with PHP and command line?

2007-04-02 Thread William Lovaton
atter what. Thanks for your help, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to detect charset encoding with PHP and command line?

2007-04-17 Thread William Lovaton
Any idea with this one? please?? El lun, 02-04-2007 a las 07:51 -0500, William Lovaton escribió: > Hi there, > > I'd like to know a way to detect the file encoding from PHP and Linux > command line too. > > In PHP I tried mb_detect_encoding() but it doesn't work

Re: [PHP] Re: file_exists

2007-11-15 Thread William Betts
ow valid system logins. You can get the contents to dump by using www.somehost.com/index.php?page=../../../../../../../../../etc/passwd%00 The %00 is what you call a null terminator. This will drop anything that's add after it. I hope this helps. William Betts On Nov 15, 2007 4:03 PM

Re: [PHP] IDE

2007-11-16 Thread William Betts
Have you ever used Zend Studio? If so how does it compare to PhpED? On Nov 16, 2007 5:37 AM, Arno Kuhl <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: David Giragosian [mailto:[EMAIL PROTECTED] > Sent: 16 November 2007 05:21 > To: php-general@lists.php.net > Subject: Re: [PHP]

Re: [PHP] How to ask "if private IP"?

2007-11-26 Thread William Betts
"192.168.0.0") && ($ip <= "192.168.255.255")) || (($ip >= "172.16.0.0") && ($ip <= "172.31.255.255")) ) { return true; } return false; } if (privateIP("192.168.1.1")) { pr

[PHP] Curl Javascript

2008-03-11 Thread William Piper
I have been using php's curl for quite a while now and it has never allowed to run javascript... bummer! I read on an article http://blogs.zdnet.com/Stewart/?p=627 that the new curl v6 allows this. There are a few ajax sites that I would like to scrape, but they are a pain to read through all

Re: [PHP] Php script diagnostic app?

2007-06-25 Thread William Lovaton
to the PHP equivalents and this way you can get a bit more of understanding about what is going on in your code. Finally, xdebug is real nice too. -William On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote: > > I was wondering if there was some kind of application that would pro

Re: [PHP] Disadvantages of output buffering

2007-06-26 Thread William Lovaton
ion I could find for this was to disable output buffering. Another thing: you can even compress the buffer before sending it so it will help a lot if a user have little bandwidth. Text files have a very good compression ratio. Cheers, -William On Tue, 2007-06-26 at 09:04 -0400, Robert Cummings

Re: [PHP] Newbie question - current date - time

2007-11-14 Thread William Betts
Hello, Use the date function http://us3.php.net/date. Regards, William Betts [EMAIL PROTECTED] wrote: Hi Folks, Newbie question : - how do I get and display the current date? - how do I get and display the current time? I see the getdate function - but I'm not sure if this is the

Re: [PHP] file_exists

2007-11-14 Thread William Betts
om the browser. Find the img tag and see what is src="" and try to goto that file in your browser. Also can you use a pastebin and post your code and give his the url to the site in question? William Betts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IDE

2007-11-15 Thread William Betts
I like Zend Studio. www.zend.com. William Betts On Nov 15, 2007 2:35 PM, Jammer <[EMAIL PROTECTED]> wrote: > Hi All, > > This is my first post here ... I'm very much a newbie to php but work > during the day using SQL Server, VS2005 and Foxpro. Looking to gen up > on

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread William Betts
Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > I know a good deal of us here are already using Gmail accounts, > but if you're not one of us and would like to be, let me know. I > still have 95 invites left, and whomever wo

[PHP] calendar Q

2006-08-10 Thread William Stokes
Hello, I have a calendar script that displays a simple mini calendar view one month at a time. User can click any date and the calendar opens another page that displays that date's events. I would like to highlight to the mini calendar view dates that have an event in database. So what would be

Re: [PHP] calendar Q

2006-08-10 Thread William Stokes
-Will ""Richard Lynch"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > On Thu, August 10, 2006 12:14 pm, William Stokes wrote: >> I have a calendar script that displays a simple mini calendar view one >> month >> at a time. User can click

[PHP] Unsealing openssl_seal's data without PHP

2006-10-08 Thread William Triplett
I get the same plaintext key if I decrypt the "envelope" from within php or from openssl command-line. Regards, William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file uploads Q?

2006-12-09 Thread William Stokes
Hello, I have somehow managed to write a scipt that is able to upload and resize images to a server :))) Sad part is that now the user can upload only one image at a time.(user has a browse button for browsing images in his local disk and can pick only one at a time). Is it possible to allow

[PHP] $POST Q

2006-12-12 Thread William Stokes
Hello, Can someone tell me what wrong or to how to manage this? //default $limitorig = 10; echo ""; echo "$limitorig"; echo "10"; echo "20"; echo "30"; echo "; When the form is first printed the selected default (10) value is shown OK and if something is selected everything is fine. If I just

[PHP] Cookies & page refresh

2006-12-12 Thread William Stokes
Hello, I have a page that uses session cookies for deciding what content to show to a visitor. User also has 2 form objecks to apply filters to the content SQL queries. So at the beginning of the script I set 2 cookies based on user selections(or defaults) and after that make DB query based on

  1   2   3   4   5   >