php-general Digest 18 Sep 2005 04:27:37 - Issue 3688
Topics (messages 222575 through 222587):
Php converting jpegs to pjpegs: Help
222575 by: jnoyes
Re: email validation regex
222576 by: bruce
222586 by: Robert Paul
delete duplicates from array and insert statement
John Nichel [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Joachim Person wrote:
I tried to make the simple program
?php
$mbox = imap_open({imap.liu.se:993}, joape382, fil);
echo h1Mailboxes/h1\n;
$folders = imap_listmailbox($mbox, {imap.liu.se:993}, *);
if ($folders ==
- Original Message -
From: Jasper Bryant-Greene [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Friday, September 16, 2005 11:14 PM
Subject: Re: [PHP] Quick Poll: PHP 4 / 5
leaf wrote:
Actually I choose array_pop for 2 reasons.
I like short code. I don't want to read
Can someone tell me why, or better yet how I can make sure that PHP doesn't
turn my non-progressive jpegs to pjepgs on upload? Using the code below, if
I upload a non-progressive jpeg, PHP tells me that the file uploaded
successfully, and the file is of type pjpeg. How can I avoid this problem?
i tried that one...
it doesn't do as well as the perl... Email::Valid mod...
i decided to write a quick perl script, and call it from the php app...
seems to satisfy my needs for now... i haven't run across any php
script/regex that's as comprehensive as the perl Email::Valid
-bruce
Hi,
I have a movie database with this structure:
flick_name text
part_url text
part_size varchar(50)
time_length varchar(50)
part_format varchar(10)
and my select statement is something like this:
insert into table values
(abba,http://...abba1.wmv,3 mb,3
Ryan A wrote:
want i want to do is, do a select and get the data that is already in the
db, compare it, and if its in the insert statement delete those rows...
am getting screwed up in the logic for this...so far I have exploaded the
insert statement so its in a neat array, now i need to check
Im trying to setup the pear phpdocumentor class but running into many
problems, i think ive nearly got all the include directories setup
correct now, modified some paths etc, now when i get to the end of a
compile via the command line it always says the followig with different
files when
hi..
need to talk to someone to figure out how/what i need to do to use the php
'headers' function, as opposed to the javascript 'location.href'.
i've tried to implement the buffering functions, but still get the same
error...
is there someone that i can talk to about this, who ha
hi...
i'm playing with a script/class from phpclasses.org. the script/class is
user_class. the script is straight enough, but i'm trying to figure out how
i can include/incorporate the script into a test site i'm creating...
the user_access script more or less uses the entire page. for my app,
http://php.net/ob_start
try something like...
?php
// top of page
ob_start();
/* whole script goes here */
// bottom of page
ob_end_flush();
?
bruce wrote:
hi...
i'm playing with a script/class from phpclasses.org. the script/class is
user_class. the script is straight enough, but
i already did...
i got the same error... which is why i was/am looking for a guru
-bruce
-Original Message-
From: James Benson [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 17, 2005 4:34 PM
To: php-general@lists.php.net
Subject: [PHP] Re: php guru!
andre..
you can find the files/app at
http://olederer.users.phpclasses.org/browse/package/1906.html.
i'm basically trying to figure out how to do the following...
++
||
|
Im trying to run Syntax desktop which is a php cms (on my own server
win2003).
In the installation readme it tells me to edit a cfg.php file, i have done
this but the cms still does not load, i have a feeling its becuase it dosnt
know where to load its files from, here is the code that tells it,
Well what does the aforementioned regex seem to miss that Email::Valid
catches?
--Rob
bruce wrote:
i tried that one...
it doesn't do as well as the perl... Email::Valid mod...
i decided to write a quick perl script, and call it from the php app...
seems to satisfy my needs for now... i
Regarding paths, in a Windows enviroment, you should use double slash, like:
c:\\www\\syntax desktop\\
Cheers.
On 18 Sep 2005 09:13:56 +1000, Troy Pieterman [EMAIL PROTECTED]
wrote:
Im trying to run Syntax desktop which is a php cms (on my own server
win2003).
In the installation readme
for one... as i recall...
email::valid picks up the fact that [EMAIL PROTECTED] is not valid
email::valid also permits you to have ip addresses in the domain section
email::valid also has in my mind a better grasp of the valid/invalid chars
for the username portion...
you mileage may vary..
Troy Pieterman wrote:
Im trying to run Syntax desktop which is a php cms (on my own server
win2003).
In the installation readme it tells me to edit a cfg.php file, i have done
this but the cms still does not load, i have a feeling its becuase it dosnt
know where to load its files from, here
Hi,
Where could I find a monthly statistic plugin that can take my
`StampDate` field and generate monthy graphs of my primary key `id`?
I'm sure I,m not the first to ask? ;-)
CREATE TABLE `counter` (
`id` int(10) NOT NULL auto_increment,
`StampDate` date NOT NULL default '1999-12-31',
19 matches
Mail list logo