Re: [PHP] Technology Forums

2005-06-30 Thread Chris Kay
Considering it dont even have 1 post... spam it is.. :P And yes i am getting a heap of spam recently... can someone do something about this.. :P CK On Fri, 2005-07-01 at 02:45 -0400, Robert Cummings wrote: > On Fri, 2005-07-01 at 02:20, anshul wrote: > > Hi all, > > > > We've our new Technolog

Re: [PHP] Technology Forums

2005-06-30 Thread Robert Cummings
On Fri, 2005-07-01 at 02:20, anshul wrote: > Hi all, > > We've our new Technology Forums started from India. > http://forums.mediasworks.com/ > I invite you all to join our community. > http://forums.mediasworks.com/ My eyes, my eyes!!! It's like someone ran over kermit. FYI it's still spam since

[PHP] Technology Forums

2005-06-30 Thread anshul
Hi all, We've our new Technology Forums started from India. http://forums.mediasworks.com/ I invite you all to join our community. http://forums.mediasworks.com/ Thanks & regards. This mail is not a SPAM or solicitation badly. This is a one-time notification news. You won't recieve this messag

[PHP] PHP Magazine

2005-06-30 Thread Nadim Attari
Hello, Two PHP magazines available are: - php|arch (www.phparch.com) - phpMag (www.php-mag.net) Want to subscribe to one of these 2. Please help me decide by sending your comments on these 2 mags. Regards, Nadim Attari Alienworkers.com -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Conversion of period and space for $_GET, $_REQUEST, etc. is rather senseless

2005-06-30 Thread Joe Krahn
PHP imports GET and POST data to array elements by senselessly converting periods and spaces to underscore. The intent is to make strings variable-name compatible for conversion directly into global variables via import_request_variables or register_globals. String-to-variable name mangling sh

[PHP] Upload and Read pdf file

2005-06-30 Thread Bagus Nugroho
Hi All, is possible to upload pdf file into MySQL database, then read in web browser using php? And how? Thanks for help rgds

Re: [PHP] Object Oriented PHP (5)

2005-06-30 Thread Matthew Weier O'Phinney
* "Richard Lynch" <[EMAIL PROTECTED]> : > On Fri, June 24, 2005 12:56 pm, Josh Olson said: > > PHP has inspired me to become a better programmer. I have been > > actively reading books as well as online content to try to become > > better at designing and programming object oriented web applicatio

[PHP] Re: php5.1 compiling memory usage

2005-06-30 Thread Xuefer
On 6/14/05, Xuefer <[EMAIL PROTECTED]> wrote: > i'm compiling php5.1 using > php zend_vm_gen.php --with-vm-kind=GOTO (or SWITCH) > and make > it takes me 300 virtual mem to compile zend_execute.c without ending, > hav eto CTRL+c to break > > CFLAGS: > -g3 -O3 -Wall -march=pentium3 -pipe php5.1 is

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 2:17 pm, Jason Wong said: > On Friday 01 July 2005 04:06, Richard Lynch wrote: > >> > last >> > record from the tabel, for linking to another tabel. >> >> You have to use http://php.net/pg_last_oid to get the PostgreSQL >> "internal" Object ID (OID) -- You can then use the ubi

RE: [PHP] PHP search

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 2:36 pm, Chris W. Parker said: > Richard Lynch > on Thursday, June 30, 2005 2:33 PM said: > >> There are innumerable gothcas to it to start with, ... > > Is that a special kind of goth? Yeah, it's California Goth, also known as Surf Goth. But s

Re: [PHP] Achieving 64-bit integers on 32-bit platforms

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 4:02 pm, Dan Goodes said: > On Thu, 30 Jun 2005 at 00:16, Richard Lynch wrote: > >> On Wed, June 29, 2005 9:02 pm, Dan Goodes said: >> > This 32-bit limitation is haunting me everywhere I turn. >> > >> > Is it possible with PHP (at compile-time if need be) to make it use >> la

Re: [PHP] getting a filename [with no extension] out of a url

2005-06-30 Thread Richard Davey
Hello Graham, Friday, July 1, 2005, 12:54:42 AM, you wrote: GA> if $_SERVER['SCRIPT_NAME'] give this GA> /folder/folder/Library/php/filename.php $_SERVER['SCRIPT_NAME'] won't give you that, $_SERVER['SCRIPT_FILENAME'] would. SCRIPT_NAME would just give you /filename.php And if you need to

Re: [PHP] Re: MMcache question

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 5:25 pm, Sebastian said: > you sound exactly like someone i know.. > i enjoy reading your long posts.. no sarcasm ;-) > > i'd defently hire you, but you're probably too expensive ;-) Thanks! Some people take my posts far more seriously and/or negatively than I intend, though

Re: [PHP] reading PDF's

2005-06-30 Thread Richard Lynch
On Fri, June 24, 2005 12:10 pm, Jon said: > Is it possible to read text from a PDF file with PHP? How? At the crudest level, you can fopen/fread a PDF and dump it out, and pick out the plain-text readable bits with your eyes. :-) After that, there are definitely some commercial command-line tools

Re: [PHP] Can't even make a simple test RSS feed

2005-06-30 Thread Richard Lynch
On Fri, June 24, 2005 12:23 pm, Brian Dunning said: > What am I doing wrong? This doesn't work. The browser does not even > load the page, no error or anything: > > > echo ''; > echo ''; > echo 'hdfghdf'; > echo 'dfghdfh'; > echo 'http://somelink'; > echo ''; > echo ''; > > ?> Now that you've got

Re: [PHP] Object Oriented PHP (5)

2005-06-30 Thread Richard Lynch
On Fri, June 24, 2005 12:56 pm, Josh Olson said: > PHP has inspired me to become a better programmer. I have been > actively reading books as well as online content to try to become > better at designing and programming object oriented web applications. > My primary focus is PHP. > > Will you help

Re: [PHP] Re: send email at certain hour

2005-06-30 Thread Arthur Wiebe
Richard Lynch wrote: On Sat, June 25, 2005 11:55 am, Arthur Wiebe said: vlad georgescu wrote: i want to make a "reminder" application which sends emails at certain hour in php. is this posibile ? if not, what else can I use ? I've done it using pure PHP for a calendar script. What I did w

Re: [PHP] newline and pregreplace

2005-06-30 Thread Richard Lynch
On Fri, June 24, 2005 3:18 pm, Dotan Cohen said: > I've got a line like this: > $str=preg_replace( "-regex here-", '\n\1', $str); > > Which has one of two problems: If I leave the single quotes around the > second argument, then it returns as \n and not a newline. If I change > the single quotes to

Re: [PHP] Re: MMcache question

2005-06-30 Thread Sebastian
you sound exactly like someone i know.. i enjoy reading your long posts.. no sarcasm ;-) i'd defently hire you, but you're probably too expensive ;-) Richard Lynch wrote: On Sat, June 25, 2005 3:37 am, Catalin Trifu said: No! You don't have to rewrite your application. What mmacache doe

Re: [PHP] Re: MMcache question

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 3:37 am, Catalin Trifu said: > No! You don't have to rewrite your application. What mmacache does is > to keep a "bytecode" version of the script available so that PHP won't > have > to reparse the script every time, which is expensive and also has a nice > code optimizer.

Re: [PHP] getting a filename [with no extension] out of a url

2005-06-30 Thread Tom Rogers
Hi, Friday, July 1, 2005, 9:54:42 AM, you wrote: GA> if $_SERVER['SCRIPT_NAME'] give this GA> /folder/folder/Library/php/filename.php GA> what would be the proper way to strip the string until only 'filename' GA> is left GA> I'm a bit new at eregi stuff GA> any help would be appreciated GA>

[PHP] getting a filename [with no extension] out of a url

2005-06-30 Thread Graham Anderson
if $_SERVER['SCRIPT_NAME'] give this /folder/folder/Library/php/filename.php what would be the proper way to strip the string until only 'filename' is left I'm a bit new at eregi stuff any help would be appreciated many thanks g -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Writing a PHP Web application

2005-06-30 Thread Philip Hallstrom
What are the options to get code to run on the server (every XX minutes), without any user interaction, etc. If you are running on a unix like system (linux, freebsd, solaris, etc.) cron can do this for you. See this: http://en.wikipedia.org/wiki/Cron If on windows there are probably schedul

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 7:32 am, Matthew Weier O'Phinney said: > * Catalin Trifu <[EMAIL PROTECTED]> : >> I also tend to stay away from PEAR, which is kinda bloated for my >> taste, except the Log package. > > > I hear that a lot on this list, and I don't understand the reasoning > behind such comme

Re: [PHP] Verifying images with getimagesize()

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 8:41 am, Jack Jackson said: > Thanks for telling me about that, Edward. I apprecate it. Actually in > this case I was using it only to verify that it was something like an > image to validate the file type before allowing it on the server. But > you raise a very good point and

[PHP] Writing a PHP Web application

2005-06-30 Thread Tim Burgan
Hello, What are the options to get code to run on the server (every XX minutes), without any user interaction, etc. Example 1: If I have a directory that contains files, can I write a script that will delete all files older that 5 days? Example 2: If I write an email web application, and the use

Re: [PHP] Strange is_dir() behavior

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 8:54 am, Marcos Mendonça said: > Yes, if i try to to echo the variable $entry outside the if is returns > the expected directories list. > > I tried giving it the full path and it still doesn't work. Show us that source code. Cuz I wouldn't expect it to work without the full

Re: [PHP] Re: send email at certain hour

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 11:55 am, Arthur Wiebe said: > vlad georgescu wrote: >> i want to make a "reminder" application which sends emails at certain >> hour >> in php. is this posibile ? if not, what else can I use ? >> > > I've done it using pure PHP for a calendar script. > > What I did was write

Re: [PHP] a basic array question!

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 2:01 pm, bruce said: > feel kind of foolish posting this.. but i can't seem to figure it out for > now.. Here's a way to tackle this kind of thing in the future: Divide and Conquer. print_r($foo) prints out a BUNCH of stuff. Focus only on the outer layer: > i have an arra

Re: [PHP] Achieving 64-bit integers on 32-bit platforms

2005-06-30 Thread Dan Goodes
On Thu, 30 Jun 2005 at 00:16, Richard Lynch wrote: > On Wed, June 29, 2005 9:02 pm, Dan Goodes said: > > This 32-bit limitation is haunting me everywhere I turn. > > > > Is it possible with PHP (at compile-time if need be) to make it use large > > (64-bit) integers? > > I believe that PHP runs fin

Re: [PHP] array_diff php version

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 2:19 am, André Le Tissier said: > Help! Array_diff is the perfect function for what I am try to do but I > have > a php version 4.1.5. Is there any replacement I can use to achieve the > same > result There are seven different solutions to this (with modifications of what arr

Re: [PHP] including the result of one query in another query

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 3:38 am, Pedro Quaresma de Almeida said: > I have two databases, on for aeromodelistas (aeromodelling) and > another for Códigos Postais (Postal Codes). I whant to do the > following query First, MySQL *DOES* allow you to select from multiple databases in a single query. Mos

Re: [PHP] including the result of one query in another query

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 4:53 am, Brian V Bonini said: > On Sun, 2005-06-26 at 06:38, Pedro Quaresma de Almeida wrote: >> Hi >> >> I have two databases, on for aeromodelistas (aeromodelling) and >> another for Códigos Postais (Postal Codes). I whant to do the >> following query >> >> SELECT CódigoPost

Re: [PHP] $_SESSION and header()

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 7:33 am, Alessandro Rosa said: > (a) : After saving a couple of data into two $_SESSION variables from a > form, > (b) : I used the header() function to redirect the browser to > (c) : display another page. (c) needs at the top, just like (a) and (b) and (z) for any other pa

Re: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Esteamedpw
In a message dated 6/29/2005 11:26:08 A.M. Central Standard Time, [EMAIL PROTECTED] writes: Yes a framework can be built in PHP, C# or any language but how would you like to design something like this. How about something like Prado? looks just like it. _http://xisc.com_ (http://xi

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 12:57 pm, M Saleh EG said: > In all the cases if someone thinks a framework is bloated. Should just > keep > it bloated for him/herself. Programmers, and specially PHP programmers who > are the majority of web-programming in IT labor market. So being it > bloated > for someone

Re: [PHP] the BACKSLASH

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 2:42 pm, Sebastian said: > backslash was invented for windows ;) I'm pretty sure backslash as an escape character pre-dates Windows... Maybe not, but pretty sure. btw, what do we have to do to get Radio announcers to read "/" correctly? It's *NOT* a backslash, you morons!

Re: [PHP] the BACKSLASH

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 3:01 pm, Martín Marqués said: > El Dom 26 Jun 2005 18:12, Jochem Maas escribió: >> the backslash has caught us all out when we first started, and beyond. >> many 'noobs' have had the fortune of being explained, in depth, >> how and why concerning the backslash by a singular Ri

Re: [PHP] PHP search

2005-06-30 Thread Greg Donald
On 6/30/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > Use htdig to index your site. Here's a nice tutorial on how to wrap ht://Dig results with PHP for custom layouts and formatting: http://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer MySQL Core Certification ht

RE: [PHP] PHP search

2005-06-30 Thread Chris W. Parker
Richard Lynch on Thursday, June 30, 2005 2:33 PM said: > There are innumerable gothcas to it to start with, ... Is that a special kind of goth? :P Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP search

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 8:13 pm, Bruce Gilbert said: > I am fairly new to PHP, and I am looking to create a search > functionality on a website using php. Can anyone point me to a good > tutorial that can walk me through this? Your best bets are: Use http://google.com and add "site:example.com" as

Re: [PHP] Weird Image Problem

2005-06-30 Thread Shane Little
Kristen G. Thorson wrote: MySQL blobs are actually limited to 64K. I think a MEDIUMBLOB holds about 16 MB if you're dead-set on storing the image in the database. You might want to check that your max_allowed_packets size is large enough. You can find that by querying SHOW VARIABLES LIKE '

Re: [PHP] Ouput HTML w/PHP

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 5:50 am, Rick Emery said: > This leads (sort of) to a second question: how can I validate my HTML? > My applications run on an intranet (with database access), so I can't > use the W3C Validator to point to the URL. If I try to upload the file, > the validator doesn't parse th

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Jason Wong
On Friday 01 July 2005 04:06, Richard Lynch wrote: > > last > > record from the tabel, for linking to another tabel. > > You have to use http://php.net/pg_last_oid to get the PostgreSQL > "internal" Object ID (OID) -- You can then use the ubiquitous "oid" > column. > > > $query = "insert ..."; > p

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Jason Wong
On Friday 01 July 2005 02:55, Uroš Kristan wrote: > I have an application in production, build on mysql database. > > I decided to migrate to postgres because of numerous reasons. Good idea :) > Can you guys please guide me into the right direction? > > the main problem is the missing autoincre

Re: [PHP] Weird Image Problem

2005-06-30 Thread Kristen G. Thorson
Richard Lynch wrote: On Wed, June 29, 2005 3:30 pm, Shane Little said: I'm bin2hex'ing images from an upload script and inserting into a mysql blob field. The php script that re-packs the hex data back to binary, does the createimagefromstring() and streams the image to the browser is gen

Re: [PHP] Weird Image Problem

2005-06-30 Thread Richard Lynch
On Wed, June 29, 2005 3:30 pm, Shane Little said: > I'm bin2hex'ing images from an upload script and inserting into a mysql > blob field. The php script that re-packs the hex data back to binary, > does the createimagefromstring() and streams the image to the browser is > generating a corrupted im

Re: [PHP] Re: cUrl and proxies

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 9:27 am, Mark Rees said: > UPDATE: I think it is a bug in cURL, according to this link (I am using an > ISA proxy). > https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i > d=976 > > So all I need to do is install the latest version of cURL then. I am >

Re: [PHP] Missing characters when processing scripts

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 11:04 am, Charlene said: > I have a semi -random problem that characters in the php script are > dropped. A very noticible instance is in a statement like: > > $query = "SELECT junk FROM table"; > $result = mysql_query( $query, $handle) or die (mysql_error()); > > I get an e

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 11:55 am, Uro¹ Kristan said: > I have an application in production, build on mysql database. > > I decided to migrate to postgres because of numerous reasons. > > Can you guys please guide me into the right direction? > > the main problem is the missing autoincrement of pgsql

[PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Uroš Kristan
Hello, I have an application in production, build on mysql database. I decided to migrate to postgres because of numerous reasons. Can you guys please guide me into the right direction? the main problem is the missing autoincrement of pgsql and getting the last record from the tabel, for li

[PHP] Missing characters when processing scripts

2005-06-30 Thread Charlene
I have a semi -random problem that characters in the php script are dropped. A very noticible instance is in a statement like: $query = "SELECT junk FROM table"; $result = mysql_query( $query, $handle) or die (mysql_error()); I get an error message from the die function like: "Error SE

[PHP] Re: Ouput HTML w/PHP

2005-06-30 Thread Murray @ PlanetThoughtful
Rick Emery wrote: This leads (sort of) to a second question: how can I validate my HTML? My applications run on an intranet (with database access), so I can't use the W3C Validator to point to the URL. If I try to upload the file, the validator doesn't parse the PHP to get the HTML output (whi

[PHP] Re: cUrl and proxies

2005-06-30 Thread Mark Rees
UPDATE: I think it is a bug in cURL, according to this link (I am using an ISA proxy). https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i d=976 So all I need to do is install the latest version of cURL then. I am really struggling with this - I don't have a good understa

Re: [PHP] Ouput HTML w/PHP

2005-06-30 Thread André Medeiros
On Thu, 2005-06-30 at 08:50 -0400, Rick Emery wrote: > And now for something completely different... > > I have a question that has been nagging at me. I've searched the > archives, FAQs, and web sites, but haven't found an answer. > > I have two ways that I've output HTML with PHP; one is to wr

[PHP] cUrl and proxies

2005-06-30 Thread Mark Rees
Hello This code gives me a 407 Proxy Authentication Required message. Can anyone see what is missing? The username and password are definitely correct, as are the proxy IP and port. Win2k. php 5.0.4 $ch=curl_init(); curl_setopt ($ch, CURLOPT_URL, 'http://www.google.com/'); curl_setopt($ch, CURL

[PHP] Weird Image Problem

2005-06-30 Thread Shane Little
I'm bin2hex'ing images from an upload script and inserting into a mysql blob field. The php script that re-packs the hex data back to binary, does the createimagefromstring() and streams the image to the browser is generating a corrupted image... i.e. The image looks fine until part-way down..

Re: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Brad Pauly
On 6/30/05, Andrew Scott <[EMAIL PROTECTED]> wrote: > OK. > > What is J2EE, if you know the answer to that then you will know that php > doesn't have the ability to run as multiple instances. Lets take security > for example, php is known to not have an installer because of security > correct me i

Re: [PHP] PHP vs. ColdFusion

2005-06-30 Thread John Nichel
Andrew Scott wrote: OK. What is J2EE, if you know the answer to that then you will know that php doesn't have the ability to run as multiple instances. Lets take security for example, php is known to not have an installer because of security correct me if I am wrong on this assumption. I am only

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Brad Pauly
On 6/30/05, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > That doesn't address scalability, however. So, let's look at that. I'm > not sure how CF scales, not having been in a CF shop. However, I know > what I can do to scale PHP: > > * Use code optimizers/bytecode caches (zend, apc, eAc

[PHP] Re: Ouput HTML w/PHP

2005-06-30 Thread Satyam
Some time ago I started working on something realted to this. I was very unsatisfied with managing HTML as just another string, since HTML does have a structure, which we should be able to check before releasing it, if possible, by the same IDE we program with. Perhaps you will want to check i

Re: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Stut
Andrew Scott wrote: OK. What is J2EE, if you know the answer to that then you will know that php doesn't have the ability to run as multiple instances. Lets take security for example, php is known to not have an installer because of security correct me if I am wrong on this assumption. I am only

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Jay Blanchard
[snip] What is J2EE, if you know the answer to that then you will know that php doesn't have the ability to run as multiple instances. Lets take security for example, php is known to not have an installer because of security correct me if I am wrong on this assumption. I am only going by what I hea

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Jay Blanchard
[snip] > Cons for PHP: > - > Coldfusion is also free (Blue Dragon) and has just as much support as PHP, > although. PHP can not run in a J2EE environment, limiting it to small scall > websites and limiting the prospect of expansion or server migration. I'm wondering if you could expand

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Andrew Scott
OK. What is J2EE, if you know the answer to that then you will know that php doesn't have the ability to run as multiple instances. Lets take security for example, php is known to not have an installer because of security correct me if I am wrong on this assumption. I am only going by what I hear

Re: [PHP] shell expansion (globbing) from inside php cli script

2005-06-30 Thread Bob Winter
Brian, Is "/www/files/services/" the correct relative path?? You could try using the absolute path to see if it fixes the problem. Also, and maybe more significant, I use tcsh . . . if you use bash this could be the conflict. I see that the echo of the $cmd string from PHP is missing th

Re: [PHP] Re: PHP vs. ColdFusion

2005-06-30 Thread Yves Arsenault
As for statistics, there are so many large intranet sites in use that never see the light of day using CF, PHP, ASP.NET that numbers would never be very acurate. If it interests any of you, you could check out www.forta.com/blog/ and search for his listings of major corporate entities using curren

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Matthew Weier O'Phinney
* "Andrew Scott" <[EMAIL PROTECTED]>: > CF is very rapid development, and you might say the same about PHP. > The point is that these are all the things you need to take into > consideration, the cost that it would take to develop and maintain in > either language, as well as cost involved in the n

[PHP] Re: Ouput HTML w/PHP

2005-06-30 Thread Catalin Trifu
Hi, It seems to me you are going the wrong way with "embedded" PHP; try separating logic from view, tons of mvc frameworks out there and templating engines. Try firefox with web developer extension -> Validate Local HTML. Catalin Rick Emery wrote: > And now for something completel

Re: [PHP] shell expansion (globbing) from inside php cli script

2005-06-30 Thread Brian V Bonini
On Wed, 29 Jun 2005, Bob Winter wrote: > Brian, > > The script works for me, I should have included the screen > input/output, which now follows: > Hmmm, this simply does not work for me. Maybe something with my version of php or ssh.. I'm at a loss.. $ php -v PHP 4.3.5 (cli) (built: Apr 30 2004

Re: [PHP] Ouput HTML w/PHP

2005-06-30 Thread Duncan Hill
On Thursday 30 June 2005 13:50, Rick Emery typed: > the validator doesn't parse the PHP to get the HTML output (which is > why I wonder if I'm not better writing the HTML and sticking PHP where > it's needed). Is there a way for me to maybe use the PHP tidy functions > on the string containing the

Re: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Stut
Andrew Scott wrote: CF is very rapid development, and you might say the same about PHP. The point is that these are all the things you need to take into consideration, the cost that it would take to develop and maintain in either language, as well as cost involved in the need of the applicati

Re: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Brad Pauly
On 6/30/05, Andrew Scott <[EMAIL PROTECTED]> wrote: > Cons for PHP: > - > Coldfusion is also free (Blue Dragon) and has just as much support as PHP, > although. PHP can not run in a J2EE environment, limiting it to small scall > websites and limiting the prospect of expansion or server

[PHP] Ouput HTML w/PHP

2005-06-30 Thread Rick Emery
And now for something completely different... I have a question that has been nagging at me. I've searched the archives, FAQs, and web sites, but haven't found an answer. I have two ways that I've output HTML with PHP; one is to write the HTML, using the PHP tags to execute code when necessar

RE: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Jay Blanchard
[snip] Would you develop in a language that you know could not deliver an enterprise solution if in 6 months that's what you really need, and how would you look if you recommended a language because it was free, but in time had to spend more again to make it fully scalable to an enterprise level if

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread david forums
Hi Concerning php and J2EE, zend platform is providing a solid bridge between both environment. This as been specially build for developping big system (banking, tracking, etc). regards david Le Thu, 30 Jun 2005 13:06:22 +0200, Richard Davey <[EMAIL PROTECTED]> a écrit: Hello Andr

RE: Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Andrew Scott
Richard, And your point of before you pay your programmer is what one of my other points was. CF is very rapid development, and you might say the same about PHP. The point is that these are all the things you need to take into consideration, the cost that it would take to develop and maintain i

Re[2]: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Richard Davey
Hello Andrew, Thursday, June 30, 2005, 9:15:22 AM, you wrote: AS> Coldfusion is also free (Blue Dragon) and has just as much support AS> as PHP, although. PHP can not run in a J2EE environment, limiting AS> it to small scall websites and limiting the prospect of expansion AS> or server migration.

Re[2]: [PHP] Re: PHP vs. ColdFusion

2005-06-30 Thread Richard Davey
Hello Anton, Thursday, June 30, 2005, 10:05:45 AM, you wrote: AK> I do have some dozens of freinds who work as web-developers. The AK> use Java, ASP.Net, PHP. I know none, who uses ColdFusion in his AK> work, though ColdFusion is a relatevly old technology. So, that's AK> my ugly point -) It's a

[PHP] PHP Build Tool / CVS management

2005-06-30 Thread Jonathan Kart
Hey everyone, wondering if anyone has any suggestions for a build management tool written in php to lay over a cvs repository. We're really looking for something along the lines of anthill -http://www.urbancode.com/projects/anthill/default.jsp but more php focused. Like an anthill-like tool usi

Re: [PHP] Re: PHP vs. ColdFusion

2005-06-30 Thread Anton Kovalenko
Richard Lynch wrote: >>Quoting Anton Kovalenko <[EMAIL PROTECTED]>: >> >> >>>As to ColdFusion, It seems to me that this technology is dead already. >> >>What makes you say this? I had never heard anything like this, but it >>would certainly be powerful ammunition to present to my bosses. > > >

Re: [PHP] Re: PHP vs. ColdFusion

2005-06-30 Thread Richard Lynch
On Tue, June 28, 2005 8:17 pm, Rick Emery said: > Quoting Anton Kovalenko <[EMAIL PROTECTED]>: > >> As to ColdFusion, It seems to me that this technology is dead already. > > What makes you say this? I had never heard anything like this, but it > would certainly be powerful ammunition to present to

[PHP] Array assignment & references: strange behavior

2005-06-30 Thread Nenad Jovanovic
Hi! Under PHP 4.3.10, the following simple code behaves as expected: $b[1] and $c are not modified by the final assignment to $a[1]: Code 1: $a[1] = 1; $b[1] = 2; $c = 3; $a = $b; $a[1] = 7; // resulting mappings: // $a[1] ... 7 // $b[2] ... 2 // $c .. 3 However, the following

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Andrew Scott
Actually Richard that is not what I am trying to do. This guy actually is after some feedback and that's what I am trying to give him. Pros for PHP: - It is free, and takes more time to learn that coldfusion (debatable yes). It has a huge support from other developers, and is usually

RE: [PHP] PHP vs. ColdFusion

2005-06-30 Thread Richard Lynch
On Wed, June 29, 2005 9:24 am, Andrew Scott said: > At the end of the day you, the guy around the corner and even me will use > what we need to use to get the job done. Don't get me wrong I like php, it > has a good support for free stuff, but it's a pain in the butt to > configure > it into a full

Re: [PHP] I can't cURL

2005-06-30 Thread Richard Lynch
On Wed, June 29, 2005 9:31 am, Jon said: > I was able to modify the ebay login example that was provided on > http://curl.haxx.se/libcurl/php/examples/ to login to a billing portal > that > I am trying to access. by doing that I am able to open the home.asp page. > What I am wanting is to be able t

Re: [PHP] Save page as text

2005-06-30 Thread Richard Lynch
On Wed, June 29, 2005 2:22 pm, [EMAIL PROTECTED] said: > I have page with PHP and Javascript code and I need to a link or bottun in > it to save its content to a plain text file. (I'm using an apache server > in a machine running Windows 2003, and I want to be able to use this > feature in IE 6 and

Re: [PHP] Achieving 64-bit integers on 32-bit platforms

2005-06-30 Thread Richard Lynch
On Wed, June 29, 2005 9:02 pm, Dan Goodes said: > This 32-bit limitation is haunting me everywhere I turn. > > Is it possible with PHP (at compile-time if need be) to make it use large > (64-bit) integers? I believe that PHP runs fine on 64-bit hardware, and uses 64-bit ints everywhere on that...

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: Save page as text

2005-06-30 Thread Bogdan Stancescu
Hello Rafael, You can try using output control functions (see http://ro.php.net/manual/en/function.ob-start.php) and, depending on whether you want to upload the file or save it on your server (I don't understand which from your message), serve the result with a "Content-type: text/plain" hea