Re: [PHP] a regular expression problem - split text

2003-01-25 Thread George E. Papadakis
If I got this right : preg_match_all ("#\!.*?>(.*?)<#si",$string,$match); You will have an array ($match[1]) with all your subs in there. -- georgep - Original Message - From: "Juan Pablo Aqueveque" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 9:11 PM Subje

Re: [PHP] Word Count

2003-01-25 Thread George E. Papadakis
$wordsCount = str_word_count($string); -- georgep - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "Craig" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 11:26 PM Subject: Re: [PHP] Word Count > words, for a programming language, are no

Re: [PHP] Minor email problem

2003-01-25 Thread George E. Papadakis
Take a look at the standard php mail function . You can set most of the available mail headers inluding from/to ones. That would do it. --georgep - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 1:

Re: [PHP] GD jpg thumbnail - ugly discollored

2003-01-25 Thread George E. Papadakis
Use ImageMagick found @ http://www.imagemagick.org . It is all you need to handle images. Aside the binary external program take a look at this too : http://magick.communityconnect.com/ best of luck, --georgep - Original Message - From: "Victor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

[PHP] MY CLIENT

2002-11-20 Thread GEORGE EMEKA
very important. Best Regards, Barrister George Emeka. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: predifined functions

2002-10-27 Thread George William Smith
http://cvs.php.net/co.php/php4/ext/session/session.c?login=2&r=1.336 G "DaRk--ObJeCtS" <[EMAIL PROTECTED]> wrote in message news:20021027024001.28357.qmail@;pb1.pair.com... > alright i wanna know where i could see the source of predifened functions > like session_register. Thx. > -- > Dark |++| D

[PHP] Browscap.ini new crashes PHP 4 newest

2002-09-16 Thread George Hester
Something snatched my last post on this so this is more of a test right now. I'll explain how to crash PHP 4 with browscap.ini if this makes it. -- George Hester __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] Output problem

2002-08-20 Thread George E. Papadakis
Hi, After unsuccessful try to install apache2.0.4 with php I went back to apache1.3 and the same php config I had before. Yet for some reason php is not working the way its supposed to. The header function wont do a thing and no syntax errors or warnings are shown . I guess it has to do something

[PHP] Apache 2.0.40 and php as module

2002-08-19 Thread George E. Papadakis
Hi , I am trying to install Apache 2.0.40 with the latest php build as a module (windows xp) yet it just wont work. Though I tried all the tricks and possible scenarios no luck. Does anyone have anyidea why I am getthing this frustrating "Cannot load D:/Apache/php/sapi/php4apache2.dll into serve

[PHP] Re: May i?

2002-08-03 Thread George Nicolae
ask. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > May i ask for help

[PHP] php benchmarking suite

2002-07-23 Thread George Schlossnagle
Is anyone aware of a php benchmarking suite comparable in functionality to perls Benchmark.pm? // George Schlossnagle // Principal Consultant // OmniTI, Inc http://www.omniti.com // (c) 240.460.5234 (e) [EMAIL PROTECTED] // 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100

[PHP] New 2 PHP

2002-07-13 Thread George Ewing
ere. I can run this page on my redhat 7.3 server but not windows? Anyone help? Thanks in advance George.

Re: [PHP] HTTP_USER_AGENT?

2002-07-10 Thread George Hester
0. I think the developers of PHP ought to consider why the developers of FORTRAN thought that might be a good thing to do. It is still used to this day. Write a FORTRAN 77 prog and it will compile and run on a FORTRAN 90 compiler out of the box. Thanks again. -

Re: [PHP] HTTP_USER_AGENT?

2002-07-10 Thread George Hester
I wish I could say the same. Thanks. -- George Hester _ "Balaji Ankem" <[EMAIL PROTECTED]> wrote in message 005901c22883$f22d5840$[EMAIL PROTECTED]">news:005901c22883$f22d5840$[EMAIL PROTECTED]... > It is working fine for me!!!

[PHP] HTTP_USER_AGENT?

2002-07-10 Thread George Hester
I have this in my web site not in an executable folder: My First PHP Program No problem. I then put this in the same folder: My Second PHP Program Nothing appears. What's wrong? -- George Hester _ -- PHP General Mailing List

[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-06 Thread George Hester
everyone. Steph and Jason. -- George Hester _ "Steph" <[EMAIL PROTECTED]> wrote in message 05ab01c224be$130cfe40$e09001d5@p2q4w7">news:05ab01c224be$130cfe40$e09001d5@p2q4w7... > Having just caught up with most of the threads on this thank

[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-05 Thread George Hester
http://www.php.net/ Namely: http://www.php.net/do_download.php?download_file=php-4.2.1-Win32.zip But I first ran: http://www.php.net/do_download.php?download_file=php-4.2.1-installer.exe and then just poped in the components from the first link. Trouble doing that? Thanks again. -- George

[PHP] Cannot enable extensions. Why?

2002-07-05 Thread George Hester
ead-safety=1 These options need to match. Everything PHP is 4.2.1 the extensions are what they are calling 4.2.1. What is going on with this PHP? Is it just lack of care on the part of: http://www.php.net/ Thanks. -- George Hester _ -- PHP General Mailing L

[PHP] php install

2002-07-01 Thread Nigel George
Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the following error message checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up any ideas? Nigel -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Re: Problem with regular expressions

2002-06-25 Thread George Whiffen
> > Drew Try changing the double quotes to single quotes i.e. $input = 'johnon@company.$com'; php automatically attempts variable substitution on double-quoted strings, but not single-quoted strings. Unless you know that you want variable substitution, it's always safer and faster to use single-quotes. George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: New window, new session

2002-06-25 Thread George Whiffen
ould also be possible with cookie based sessions since the browsers will hold separate cookies for different domains and also for different paths if you specify a path on the cookie setting. I don't know if all this session stuff lets you specify the path on the session cookie, but certainly th

[PHP] Re: Using $PHP_SELF in a form

2002-06-24 Thread George Whiffen
course if you do that you need to have a hidden field with the number of records displayed to know how many checkboxes to check which is a bit of a pain. Sorry I couldn't help more. Good Luck, George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Limiting text inputs by character count?

2002-06-24 Thread George Whiffen
rver-only checks for required fields etc., I switch off and lose confidence in the site. George > > > -Original Message- > > From: Martin Towell [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, June 23, 2002 9:47 PM > > To: '[EMAIL PROTECTED]'; [EMAIL

[PHP] Re: getting the value of a javascript variable

2002-06-24 Thread George Whiffen
ns in each version? If it's not too much, then I'd put it all in the page as I do, as compactly as you can e.g. short variable names etc. Hope this helps, George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: rounding a number

2002-06-24 Thread George Whiffen
Phil Schwarzmann wrote: > I want to round a number to the nearest decimal place... > > if the number is 4.623, I want it to display 4.6 > if the number is 2.36, I want it to display 2.7 > > Is there a function that does this? round(), ceil(), floor() don't do > this and I've checked through all

Re: [PHP] rounding a number

2002-06-24 Thread George Whiffen
Jason Wong wrote: > On Monday 24 June 2002 11:34, Phil Schwarzmann wrote: > > I want to round a number to the nearest decimal place... > > > > if the number is 4.623, I want it to display 4.6 > > if the number is 2.36, I want it to display 2.7 > > You don't really mean 2.36 --> 2.7 ?? > > > Is th

Re: [PHP] Which costs more: connecting to a DB or accessing the file system?

2002-06-21 Thread George Whiffen
to allow you to do this without reassembling it on every request. Basically you get your script to see if the output has been already created (if (file_exist), and simply redirect or include the output if it does. If it isn't you can get the script to run on and produce the output with output buffering (ob_start etc), switched on. Then at the end of the script you save off the output buffer to the file. In any case, I strongly advise you try your test without the adodb wrapper. You may be suprised just how much overhead it creates. George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Rounding....Message repeated

2002-06-21 Thread George Whiffen
x27;s time to sort out decimal arithmetic properly. I just don't see the point of these operators/functions that can go wrong at even a single decimal digit! Regards, George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Rounding....

2002-06-21 Thread George Whiffen
7;s worth sorting this out properly. Personally, I just don't see the point of having operators/functions in php that can go wrong at even a single decimal digit! Regards, George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Advanced User Authentication

2002-06-18 Thread George Whiffen
exit; } Of course, you can wrap this all up in a function and do extra useful things like having a central user database and passing through application/section/page information to a single get_access function etc.,etc... But it sounds like you're too far done your current track to be inte

Re: [PHP] Installation and/or configuration problems w 4.2.1 on NT

2002-06-12 Thread George Pitcher
Ed, Thanks, the server is IIS4 and I've tried both the CGI and ISAPI approach, even tried using the installer. All to no avail. I have taken the error mesage to mean that some security contraint is preventing the server from accessing eithet the PHP.exe or the .dll file. Stumped. G

RE: [PHP] Installation and/or configuration problems w 4.2.1 on N T

2002-06-12 Thread George Pitcher
Ed, That's possible. I'm on NT running IIS4. I've followed all the guide without any success. This site is due to go live and take over from one in my office in the next 2 weeks. Help please someone? George "Lazor, Ed" <[EMAIL PROTECTED]> wrote: I d

[PHP] Installation and/or configuration problems w 4.2.1 on NT

2002-06-11 Thread George Pitcher
when I try to call phpinfo.php: HTTP Error 401 401.3 Unauthorized: Unauthorized due to ACL on resource I'm now just about to start pulling my hair out, so can someone help before I'm totally bald. I did try the PHP-Win list but no response there. Regards George -- PHP Gener

[PHP] Re: Date Function in Php

2002-05-15 Thread George Nicolae
try mktime() function. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Vinod Palan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi , > Do any one

Re: [PHP] HTTPS spoofing and $_SERVER

2002-05-15 Thread George Whiffen
tting them to keep up to date is that Debian's php package lags so far behind, and they really don't like upgrading unless Debian have rubber stamped it). Kind regards, George > > - Original Message - > From: "George Whiffen" <[EMAIL PROTECTED]> >

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread George Whiffen
don't feel it should be our job. Maybe I'm wrong and this is another case of the poor old application developer having to do all the * work, just because the rest of the computing industry is too busy counting its profits to do its own job properly ;). What's everyone else

[PHP] HTTPS spoofing and $_SERVER

2002-05-15 Thread George Whiffen
This makes it easy to spoof even with variables_order set to ECGPS. I could just use $SERVER_PORT, which is always set and thus not so easily spoofed but then I have to worry if the secure port changes. Any suggestions? George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Re: randomize?

2002-05-10 Thread George Nicolae
yes. you can. ;) -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Hawk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a group table with 16 i

[PHP] Re: php problem

2002-05-10 Thread George Nicolae
I have the same problem long time ago -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Johnny1b1g" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &g

[PHP] Re: strtotime failure

2002-05-07 Thread George Nicolae
strtotime returns a timestamp of a data type(ex 05/07/2002) strtotime(05/07/2002) you can't recevie a timpstamp from a time of a day. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Jennifer Koenig" &l

[PHP] Re: help!!!

2002-05-05 Thread George Nicolae
If you find someone pls tell him to write for me a new portal with secure user authentication and a webmail system with Oracle backend. tanx. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "J. H." <[EM

Re: [PHP] Variable scope

2002-05-04 Thread George Nicolae
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Thursday 14 March 2002 21:53, George Nicolae wrote: > > I have the following code: > > > > > function a($var_a) > > { > > b(); > > } > > > >

[PHP] Variable scope

2002-05-04 Thread George Nicolae
I have the following code: why function b() don't echo anything? can I resolve this problem without calling b($var_a)? Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com -- PHP General Mailing List (http://www.ph

[PHP] Re: Help php MySql link

2002-05-03 Thread George Nicolae
$db = ("localhost","databasename","databasepassword"); mysql_select_db("your name?",$db); $result = mysql_query("select column1, column2 from domain", $db); while ($myrow=mysql_fetch_array($result)) echo $myrow["column1"]." - &quo

[PHP] Display Large Size .pdf file in IE through Apache server

2002-05-02 Thread Zhu George-CZZ010
I have a pdf file of size ~2M, and it can't be displayed through IE. However, for smaller size pdf files, it works fine. The server is running Apache and PHP. Does anyone have any suggestion of how to fix this problem? Thank you very much in advance. -- PHP General Mailing List (http://www.php

Re: [PHP] parsing mail files

2002-04-29 Thread Michael George
On Mon, Apr 29, 2002 at 02:42:01PM +0200, Michal Dvoracek wrote: > > try sourceforge.net or freshmeat.net. > > There are very usefull programs. > > Try search: mail mime Great suggestion, thanks! -- In light of the terrorist attack on the U.S.: They that give up essential liberty to

[PHP] parsing mail files

2002-04-29 Thread Michael George
Hello! I am looking for some sample code that will parse a file in Unix mbox format. I want to write an app that will examine mail messages for email-registration info. Parsing the mail with the registration is what I will do, but I"m hoping someone has already done some relatively simple code t

[PHP] Re: date format

2002-04-27 Thread George Nicolae
try -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Ananth Rajaraman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > I'm trying t

[PHP] Can anyone improve on this?

2002-04-08 Thread George Pitcher
stuff so I might be off-target. Any suggested imptovements? George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header() question

2002-04-01 Thread George Nicolae
The _top option send you to the top of a page. When you open a new location you go on top by default.Maybe you ask about _blank? I don't have the answer for this last question. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web D

[PHP] Re: PhP & Javascript Mixed Repost Fields

2002-04-01 Thread George Nicolae
sorry the correct code is: in fooa.php for each textfield so, when you come back from foob.php if a $field !empty the respective textfiel will have a value in html form; -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design

[PHP] Re: PhP & Javascript Mixed Repost Fields

2002-04-01 Thread George Nicolae
in fooa.php for each textfield so, when you come back from foob.php if a $field !empty the respective textfiel will have a value in html form; -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Simos Vare

[PHP] PHP/Apache/Windows question

2002-03-10 Thread George E. Papadakis
Hello , I am using PHP 4.x on Windows/Apache 1.3.x. Using the same confing on Linux , I can get something like index.php/something/anotherSomething/blah blah. Trying to do this @ windows just failes. I think it has to do with Apache look back feature which for some reason is not working on Windo

[PHP] Re: Help needed with speading up a function.

2002-03-08 Thread George Whiffen
s and irrationals are necessary. Or, if you want a database metaphor, only primes are 5th normal form. Hope you are/are not trying to crack ciphers! George William Bailey wrote: > Hello again. > > I have the following function that generates a prime number of x > bits. It seems

[PHP] Re: User accounts

2002-03-08 Thread George Whiffen
ic standards compatibility. For example, I was amazed to find when I was doing a wml version of a script that my existing http authentication worked fine on a mobile phone, with no changes to the code at all. I'd go into more detail, but if you've already done your login page, I gu

[PHP] Re: uploading images

2002-03-08 Thread George Whiffen
d, sounds like it could be a bug. What's the actual code you use for the upload? I presume you are running vim from the command line of the box to which the image is uploaded. Content-Type: image/jpeg is, of course, what Apache would add if you requested a .jpg file over the web. Good Luck

Re: [PHP] A good PHP Shop

2002-03-08 Thread George Whiffen
at a mall for ideas, try http://www.ishop.co.uk which only has php at the backend but does show you can get rich functionality, without having to have Amazon's budget. George Jaxon wrote: > www.fishcart.org :) > > i've been trying to decide which one to use to tackle a big

[PHP] Re: Right way to do the MySQL thing

2002-03-08 Thread George Whiffen
en different database servers during one page request. Switching between databases doesn't matter, but different servers = different connects. George connection if you don't specify one, so the only thing I've ever done wih David Johansen wrote: > I was just wondering what t

Re: [PHP] pages will not refresh publically

2002-03-04 Thread George Whiffen
ader("Cache-Control: no-cache,must-revalidate"); header("Pragma: no-cache"); George Miles Thompson wrote: > Sounds like the old page is cached somewhere along the line. I am assuming > that the same server is serving both the Internet and the private network, > and th

Re: [PHP] how to: variable = php parsed file include

2002-03-04 Thread George Whiffen
This is a very neat way of doing it now we've got output buffering. The old way would have been to read the file and then eval it. That approach is still useful if you need to do some substitutions BEFORE the php parse e.g. your own templating etc. George > > -Original Message---

Re: [PHP] MySQL Query

2002-03-04 Thread George Whiffen
line, possibly with overrides from cookies or sessions, without changing a line of code! So, why do you want to know where $x came from? George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Multiple browser instances - is it possible to determine which browser?

2002-03-04 Thread George Whiffen
y've always struck me as "swimming against the tide" i.e. trying to impose state on fundamentally state-less protocols. But then I never believed in client-server, which is what sessions seem to be about fudging... Cheers, George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: time limit ?

2002-03-04 Thread George Whiffen
which does not care at all whether the form came from static html file, php, Perl, whatever. The simplest way to get a browser to time out is with a refresh html tag in the part of your page e.g. http://www.mysite.com/too_long.html";>. This would automatically redirect to the too_long.h

[PHP] Re: Has anyone created or called a Web Service from PHP? (SOAP)

2002-02-25 Thread George Whiffen
e and safe a job of commercial-grade transaction processing with the likes of php/mysql etc., as with the hard-core geek tools, provided you get the design right. You have a very good channce of doing a much better job, since you don't have to waste so much time on all their geekery. George

[PHP] Re: form submission error trapping

2002-02-25 Thread George Whiffen
27;.$errormessage.''; } print ' Surname: Age: Source '; You'll see that http://www.whiffen.net/simple.php?surname=whiffen&age=23.2 works perfectly well too. Personally, I'm not a huge fan of Javascript. It always seems to be much more trouble than p

[PHP] Re: PHP-JavaScript

2002-02-25 Thread George Whiffen
nction chteam_id() to see how it's done here. Good luck, George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form submission error trapping

2002-02-25 Thread George Whiffen
use $PATH_INFO to implement elegant (and search-engine safe) urls e.g. /search/products/myproduct rather than /search.php?category=products&key=myproduct. George Navid Yar wrote: > Simply, to send a form to itself, you can use a special variable called > $PHP_SELF. Here's an exampl

[PHP] Re: uploading files | how to avoid submitting twice?

2002-02-25 Thread George Whiffen
he submit button's onClick, only because I'm not sure which will work best. I'd expect this to work with a normal form submit but maybe file upload is funny... George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] zend studio 2.0

2002-02-25 Thread George Whiffen
, unless it's to make this sort of thing possible? And isn't it better to have to focus on security right from the start of development?) I guess the bottom line is... Darned if I can see how anyone can make money out of php add-on tools, even top-notch development studios :( php is

[PHP] Re: PATH INFO urls - replacing GET syntax

2002-02-25 Thread George Whiffen
fixtures and results for basketball, baseball, ice-hockey or whatever Another of my sites that's pretty much path info throughout, but which you'll probably find more entertaining is http://super10.lycos.co.uk, an online gaming site. There are free games, (flash based), and real money to be wo

Re: [PHP] Getting the data for MySQL and then putting it back withPHP - at a loss!

2002-02-22 Thread george Pitcher
rmvars on the submitted page to make sure that you are sure you are reading the right stuff. Hope this helps. George in Edinburgh On Fri, 2002-02-22 at 12:24, Michael Romagnoli wrote: > > I have a special set of information retrieved from a while loop that I would > like a person to be able

[PHP] Installing php_4.0.6 on Mandarke

2002-02-15 Thread George Pitcher
Hi all, I have just installed Mandrake 8.1 with MySQL, Apache and PHP and Apache and MySQL are working but when I do the phpinfo.php file I get a 404 error even though the file is there. It is as though it cannot see php files. Any suggestions? George -- PHP General Mailing List (http

Re: [PHP] PHP Work in New York

2002-02-12 Thread George PHP
So you want to say that PHP is going nowhere in the States? Maybe we should be doing ASP! On Tuesday, February 12, 2002, at 04:21 PM, George PHP wrote: > Hi PHPers, > > I just moved to NYC from Germany and I'm looking for a > job here. > Where would be a good place t

[PHP] PHP Work in New York

2002-02-12 Thread George PHP
Hi PHPers, I just moved to NYC from Germany and I'm looking for a job here. Where would be a good place to look? George __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing

[PHP] Re: A variable with a variable

2002-01-10 Thread George Nicolae
$v="Var_".$Nums."_Stat"; $Var_Call=$$v; -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Yoed" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] Re: counting with dates (help!)

2002-01-07 Thread George Nicolae
"))),date("Y",mktime( 0,0,0,date("m"),date("d")-7,date("Y"; echo date("d",$today)-date("d",$last_week); -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Sa

[PHP] Re: setcookie()

2002-01-06 Thread George Nicolae
man first of all look in the manual. there it is very clear... http://www.php.net/manual/en/function.setcookie.php -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tyler Longren" <[EMAIL PROTECTED]>

[PHP] Re: distinct element from array

2002-01-06 Thread George Nicolae
array_keys(array_count_values($foo)); -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Kancha ." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > An array

[PHP] Re: Printing return value of array_count_values?

2002-01-05 Thread George Nicolae
array_count_values() returns an array using the values of the input array as keys and their frequency in input as values 2, "hello"=>2, "world"=>1) while ($b = each($a)) echo $b[0]."=>".$b[1]." "; ?> -- Best regards, George Nicolae IT Man

[PHP] Re: win2k..grrr

2002-01-04 Thread George Nicolae
i tell you why. because on instalation you use php.ini-optimized. file. copy in your win2k director the php.ini-dist as php.ini. After that the script will work. I don't know what is set in optimized ini file and your script not work. -- Best regards, George Nicolae IT Ma

[PHP] Re: A compress function?

2002-01-04 Thread George Nicolae
take a look at http://www.php.net/manual/en/function.bzcompress.php -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

[PHP] Re: how can I add a variable to this sample

2002-01-03 Thread George Nicolae
$x[$key.'service_type']; -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >

[PHP] Re: mktime and variables not working

2002-01-03 Thread George Nicolae
quot;) stop=mktime($reformat_stop[0],$reformat_stop[1],$reformat_stop[2],$reformat_ stop[3],$reformat_stop[4],$reformat_stop[5]) be careful $stop is a timpstamp and you must use in combination with date() function. look in manual for more details about function date(); -- Best regards, George Nicolae IT M

[PHP] Re: If Statement with more than one conclusion

2002-01-03 Thread George Nicolae
if (($text=="com")||($text=="net")||($text=="org")||($text=="info")) { } -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com <[EMAIL PROTECTED]> wrote in message [EMAIL PROTEC

[PHP] Re: connect

2002-01-02 Thread George Nicolae
look at http://www.phpbuilder.com/columns/siddarth2228.php3 for a good tutorial. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Gendeng" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] Happy new year!

2001-12-31 Thread George Nicolae
A happy new year with a lot of dynamic sites to all php community! -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Re: Getting elapsed time between two MySQL time fields

2001-12-31 Thread George Nicolae
-- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have some records in a MySQL database that

[PHP] Re: Listing files

2001-12-31 Thread George Nicolae
I am very honour of your suggestion but I am not the author of the function GetDirArray($sPath). The author is [EMAIL PROTECTED] (I don't know him). It isn't ethic to publish this function under my name. Best regards, George Nicolae IT Manager ___ X-Playin - Profes

[PHP] Re: Listing files

2001-12-31 Thread George Nicolae
le); sort($retVal); return $retVal; } $a=GetDirArray($path); //echo "test".count($a); //for ($i=0;$i"; ?> -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Todd Cary" <[EMAIL PROTECTED]&g

[PHP] Re: Handling checkboxs (MySQL+PHP)

2001-12-29 Thread George Nicolae
//you must make some change : echo ""; ^^ //you must find the max pid from database with query //"select pid from catalog order by pid desc limit 1" for ($i=0;$i wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ALL -- > The snipet below is used to generate the table contai

[PHP] Re: array in email

2001-12-29 Thread George Nicolae
the mail function looks like : mail($to,$subject,$body) ("in a simplistic manner") you can use $to="[EMAIL PROTECTED]"; $subject="test"; for ($i=0;i wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've searched the archive but can't seem to find anything on the mail() > function o

[PHP] php code beautifier

2001-12-27 Thread George Nicolae
do you know if exist a php code beautifier for win32? pls tell me the address. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: Time function question/

2001-12-27 Thread George Nicolae
try date("d-M-Y",rand (mktime(0,0,0,1,1,1970),mktime(0,0,0,12,31,1985))) mktime works only from January 1 1970 -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Mehmet Kamil Erisen" <[EMAIL PROTE

Re: [PHP] Php & Directory structures

2001-12-22 Thread George Nicolae
$retVal); return $retVal; } //and then count($a=GetDirArray($sPath)) -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: Does mail() can be used to send attachments?

2001-12-22 Thread George Nicolae
look at http://phpmailer.sourceforge.net for a useful class. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Dasmeet Singh Arora" <[EMAIL PROTECTED]> wrote in message 1009010971.1987.7.c

[PHP] Re: Email files as attachments

2001-12-22 Thread George Nicolae
look at http://phpmailer.sourceforge.net for a useful class. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Andrew V. Romero" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP] Re: spliti

2001-12-22 Thread George Nicolae
$word=exlode(" ",$line); -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Yamin Prabudy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > hi guys, > I need help here. >

Re: [PHP] Printing file PDF and not seve

2001-12-14 Thread George Pitcher
tc. We've done various things over the years to accomplish this but not in a php environment. HTH George - Original Message - From: "rino" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 14, 2001 10:56 AM Subject: [PHP] Printing file PDF and no

[PHP] Apache keeping php waiting on output flush

2001-12-13 Thread George Whiffen
andle buffering to the client, leaving php to get on with the rest of its script. It seems that when php flushes its output buffer it has to wait for Apache to actually send it to the browser client before the flush returns. Any thoughts/observations? George For the record the environme

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread George Pitcher
I'm using EditPlus to edit files on my server, from my laptop, but that accesses the files via the NT network, which might not be what yopu are looking for. George - Original Message - From: "Andreas Landmark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

<    1   2   3   4   5   6   >