Can't help with your main problem, however I find it easier to write
the likes of :
$kml_string = << wrote:
> Hello All,
>
> I am trying to zip data in a PHP program using the following code. The
> resulting file (ndfdViaPipe.kmz) is zip'ed but the data in the archive
> lacks a file name. So whe
Found something.
For class variables..
http://us.php.net/manual/en/function.property-exists.php
class a {
var $b;
}
if (property_exists('a','b')) {
print "yes\n";
}
On 8/17/07, Olav Mørkrid <[EMAIL PROTECTED]> wrote:
> the test i need should give the following results:
>
> - FALSE when $a
On 8/17/07, Olav Mørkrid <[EMAIL PROTECTED]> wrote:
> how do i test if a property of a stdclass object is set, even if its
> value is null, similar to how array_key_exists() works for arrays.
>
> the following method fails:
>
> $a->b = null;
> if(isset($a->b))
> echo "yes";
>
> and property
I'm not sure if this would be of help or not, but have you tried
setting 'Content-disposition: inline' in the header?
On 8/15/07, tedd <[EMAIL PROTECTED]> wrote:
> At 4:32 PM +0100 8/15/07, Stut wrote:
> >tedd wrote:
> >>Given:
> >>
> >>http://www.webbytedd.com/bb/ice/
> >>
> >>How can I play the
This will be of help.
http://us2.php.net/manual/en/function.is-numeric.php
On 8/15/07, Gregory Machin <[EMAIL PROTECTED]> wrote:
> Hi
> i have a piece of code that gets info from a comma delimited file,
> then gets each value that is to be insterted into the database
>
> The variabls must on
Here's what I use to watch my apache logs.. Looks for php errors,
notices, and warnings, seg faults, etc.. Grabs the stats for the prior
hour and spits them to stdout.. Pipe that to mutt or sendmail and
youve got an hourly cron.. Check the command line options for other
good stuff.. Only catch: Thi
Check http://www.php.net/file_upload .. In specific, the MAX_FILE_SIZE
form field .. And then check
http://us3.php.net/manual/en/ini.core.php#ini.upload-max-filesize
On 8/4/07, php mail <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> How do I prior check file's size in server side before the upload proce
if time() is always 1 hour behind what you want, why not
time() + 3600 // 60 seconds * 60 minutes
On 8/4/07, Crab Hunt <[EMAIL PROTECTED]> wrote:
> Hi,
> I need to get the current time in EST timezone while my current timezone is
> CEST. I use the function :
>
> date_default_timezone_set('EST')
>
> I know it has to do with date='`date +%Y%m%d`', because if I remove it
> works.
Are you trying to use perl's back tic operator in php here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> @mysql_connect('localhost', 'user', 'password') or die("Cannot
> connect to DB!" . mysql_error());
..
> cannot connect to DB!Can't connect to local MySQL server through
> socket '/var/mysql/mysql.sock' (2)qs:/volumes/raider/webserver/
> documents/tests/ticklers japruim$
MySQL is running right? (
Dont know if this would be of any use to anyone but.. meh..
I interviewed with a company called "The Selling Source", based out of
Las Vegas, for a PHP position.. Was told "They are always hiring PHP
developers".. The recruiter I had been working with made it sound like
TSS had a huge turn over ra
11 matches
Mail list logo