Chris Shiflett wrote:
hitek wrote:
I'm taking my ZCE exam soon and would like general advice on
what to study up on.
This is a good resource:
http://zend.com/store/education/certification/zend-php-certification-objectives.php
You picked a good month to take the exam, since it's $125
Hey yall,
I'm taking my ZCE exam soon and would like general advice on what to
study up on. I've been using php since 97 so I'm pretty confident with
day-today stuff, but I'm pretty new to OOP and and looking for any study
pointers I can get.
Thanks,
Keith
--
PHP General Mailing List
Scott Noyes wrote:
I'm taking my ZCE exam soon and would like general advice on what to
study up on. I've been using php since 97 so I'm pretty confident with
day-today stuff, but I'm pretty new to OOP and and looking for any study
pointers I can get.
Remember that the ZCE still uses PHP
More than likely, your host has safe mode on. Safe mode is a pain in the
ass if you need to create directories or write to files, but seems to be
the defacto standard for shared hosts using php.
[EMAIL PROTECTED] wrote:
Thanks, but I've tried that when I first got the Error message, it
This isn't *quite* editing, but I have had success using FPDF
(http://www.fpdf.org/) for PDF generation. There is an extension class called
FPDI (http://fpdi.setasign.de/) that allows you to import an existing PDF as a
template, and you could add text over it.
Hope this helps.
Keith
From:
Is there some reason you can't simply use a javascript alert on the page
refresh?
if(isset($queue)){
echo
script type=\text/javascript\
!--
alert(\$queue\);
--
/script;
}
From: Lester Caine [EMAIL PROTECTED]
Date: 2005/03/01 Tue AM 03:18:58 EST
To:
You are using imagecreate() with png, which creates an indexed color image.
$img=imagecreate($width, $height);
Use Imagecreatetruecolor() instead.
From: Anni Hienola [EMAIL PROTECTED]
Date: 2005/02/11 Fri AM 02:27:03 EST
To: php-general@lists.php.net
Subject: [PHP] Re: imagettftext color
Are you making sure the $_SESSION['user_sn'] folder exists before saving
the image into it?
I'm asking because I originally thought it was a permission problem but php
will tell you 'permission denied' if that was the case.
At 05:05 PM 1/29/2005, NathanielGuy#21 wrote:
Hello everyone,
I have
How about the strtotime() function?
http://us4.php.net/manual/en/function.strtotime.php
From: Ben Edwards [EMAIL PROTECTED]
Date: 2005/01/24 Mon PM 12:03:34 EST
To: Jay Blanchard [EMAIL PROTECTED]
CC: PHP General List php-general@lists.php.net
Subject: Re: [PHP] String to Date and Date to
I ran your code through 3000 iterations and it always results in 0.09. This is
on Suse 9.2, Apache 2.0.52 and php 5.0.3
From: Thomas Munz [EMAIL PROTECTED]
Date: 2005/01/11 Tue AM 11:10:37 EST
To: php-general@lists.php.net
Subject: [PHP] PHP5 sprintf() function borken
Today i think i
Not sure if it's deprecated or not, but you can reference it as an array:
echo $name[0];
or the more accepted method:
echo substr($name,0,1);
From: Ahmed Abdel-Aliem [EMAIL PROTECTED]
Date: 2004/12/20 Mon PM 12:59:49 EST
To: [EMAIL PROTECTED]
Subject: [PHP] first letter
hi
if i have
You are inside a function and not either passing the variable to the function
or declaring it global within the function.
In other words, as far as your function is concerned, the
$language['program_name'] is empty.
From: GH [EMAIL PROTECTED]
Date: 2004/12/16 Thu PM 01:09:48 EST
To: Marek
$i = $months_arr_length is an assignment, not a comparison, so it will always
evaluate to true, and you are setting your counter var to 12 every time the
loop runs, that's why it runs infinitely.
From: R. Van Tassel [EMAIL PROTECTED]
Date: 2004/12/08 Wed PM 04:41:00 EST
To: 'PHP general'
What I find interesting is that you managed to use 4 variations on the word viagra,
and your email still made it past my ISP's spam filters :)
Keith
From: Graham Cossey [EMAIL PROTECTED]
Date: 2004/10/18 Mon PM 06:27:02 EDT
To: [EMAIL PROTECTED]
Subject: RE: [PHP] dirty words
Skippy
Try looking up ffmpeg. It can convert between many video formats, runs on
linux or windows(compile under mingw) and can be called via backtick,
system() or exec() functions. I use it from a php script to convert flash
FLV files to MPG.
At 04:03 AM 8/21/2004, Peter Clarke wrote:
John Nichel
try placing an exit(); after your header line.
At 04:27 PM 6/17/2004, Ryan Schefke wrote:
I'm getting some strange behavior when trying to go from http to an https
script.
After clicking a form submit button the script will execute the two lines
below. It does this and sends it to the correct
At 10:19 PM 5/30/2004, you wrote:
Chris Wagner wrote:
i am wondering if there is a good way to trigger a php script from a web
page *without* sending the user to a new page or opening a new browser
windows.
for instance, suppose you wanted to make a button/link on a web page
that, when clicked,
This may sound stupid, but are you actually EXECUTING the query?
$doit = mysql_query($query);
At 12:32 PM 5/30/2004, The Digital E wrote:
This may be better suited to the MySQL lists, but I'd appreciate it if
someone could help. I'm probably just missing something stupid here but
have been
why not use nl2br() ?
At 01:28 PM 5/24/2004, GodFoca wrote:
What's the best way of replacing every ocurrence of a substring in a LARGE
string by another (longer) substring?
Specifically, I have read the contents of a file into a tring with fread,
and now I want to replace all \n with br
Thanks in
Greetings list,
I have been given a list of products, and I need some help building a
regular expression to split the category from the sub category.
Example:
CamerasDigital_CannonXLRshot -Original entry in list
Cameras Digital Cannon XLRshot -Desired result.
I can use str_replace() for the
Curt,
That's perfect. Works like a charm.
Thanks,
Keith
At 03:54 PM 5/10/2004, Curt Zirzow wrote:
* Thus wrote hitek ([EMAIL PROTECTED]):
Greetings list,
I have been given a list of products, and I need some help building a
regular expression to split the category from the sub category
Sounds like you need a where clause in your sql query:
$r1=SELECT * FROM $main_tbl where status='A';
replace 'status' with whatever you called the status field in your table.
Keith
At 12:40 PM 4/6/2004, Jason T. Davidson wrote:
Community-
I am a first time databaser and am having trouble
Details?
How are you calling the mail function?
At 11:59 PM 4/4/2004, Jonathan Villa wrote:
For some reason mail is being sent from nobody to nobody every time. I
have tried hardcoding the sendmail path, which is the default anyway,
and it still doesn't work?
Has anyone encountered this before?
added to the
mailing list.;
if(mail([EMAIL PROTECTED],Added To Mailing
List,stripslashes($message),$from) == false)
die('failed');
On Mon, 2004-04-05 at 02:13, hitek wrote:
Details?
How are you calling the mail function?
At 11:59 PM 4/4/2004, Jonathan Villa wrote:
For some reason mail is being
I don't think it's so much a bug as it is just some odd behavior. If you
use 'this monday' the results are correct.
$start = strtotime('this monday');
Keith
At 02:44 PM 2/28/2004, Rob Petty wrote:
I am getting incorrect results from strtotime:
[dali]$ uname -a
Linux dali
Sorry, had my return address set up wrong, apparently the list doesn't like
that.
Actually, it appears to be caused by Daylight Savings time.
Leap years yield 143.95833
Other years yield 142.95833
At 10:07 PM 1/9/2004, Chris W wrote:
The following code doesn't do what I expect and I was
Shorter version of the script:
?
$line = file(fa.csv);
for($i=0;$icount($line);$i++){
$data = explode(,, $line[$i]);
echo host $data[0] {br /\nhardware ethernet $data[1];br
/\nfixed-address $data[2];br /\n}br /\n;
}
?
At 08:10 AM 12/30/2003, Jas wrote:
Problem with looping over a
Greetings,
I am having a very peculiar problem trying to use imagecreatefromjpeg
(indeed, ANY of the imagecreatefrom... functions)
under both Windows and FreeBSD.
First off, here are my server specs:
Win: apache 1.3.23, php 4.2.1, GD 2.0 or better
BSD: apache 1.3.26, php 4.2.3, GD 2.0 or better
IMHO, and without even comparing the feature sets, php has one distinct
advantage for me: It's free.
I'm pretty sure a lot of hosting companies feel the same way.
Keith
At 11:07 PM 1/15/2003, Dhaval Desai wrote:
Hello ppl,
I was just wondering what is php's future with something like Asp .Net
29 matches
Mail list logo