Was just upgrading to 5.2.5 and used the same configure line as I used
for 5.2.0. Got the following notice:
"Notice: Following unknown configure options were used:
--enable-pic
--with-dom
--with-png
--with-xml
--enable-track-vars
--enable-trans-sid
--enable-yp
--enable-mbstr-enc-trans
--enable-
Hey - - -- - -- --
I keep a profile of a user's rights and responsibilities in tables.
Since this profile defines what a user can do in the system I am
designing, I'd like to build a JavaScript menu navigation scheme. I
need it to be driven programmatically, because the Admin users can
ad
Posting Summary for PHP-General List
Week Ending: Friday, 7 March, 2008
Messages| Bytes | Sender
++--
378 (100%) 575642 (100%) EVERYONE
38 (10.1%)
On Fri, Mar 7, 2008 at 2:59 PM, revDAVE <[EMAIL PROTECTED]> wrote:
> I have this:
>
>
> {print 'page1';}else{print 'page2';} ?>
>
> I will get the error:
>
> Notice: Undefined index: nowtoctype in ...
Check out isset(): http://php.net/isset
Page 1\n";
} else {
echo "Page 2\n"
I have this:
page1';}else{print 'page2';} ?>
I will get the error:
Notice: Undefined index: nowtoctype in ...
If the variable has not yet been defined...
Is there a way to check if this var is already defined? ... (and then I can
define it - if not)
--
Thanks - RevDave
Cool @ hosting4days .
Doesn't checkdate() do the sanity check for a valid date?
On Fri, 2008-03-07 at 10:08 -0600, Richard Lynch wrote:
> Something like this, perhaps:
>
> preg_match('/^((19|20)[0-9]{2})-([0-1]?[0-9])-([0-3]?[0-9])$/',
> $input, $date_parts);
> var_dump($date_parts);
>
> This doesn't completely rule
Lamp Lists wrote:
> now, I didn't have such a big project "on side" ever. and I by default
> ALWAY suck in calculations how much time I need for a project and what
> to charge. I think I need about 120 hrs (3 weeks) to build this baby
> (without design part). I need your opinion. is it enough time
hi,
maybe my question is not exactly for php list, but since php IS involved and
since you are such a great people, I hope the question will not disturb you :D
I have a project for one electric wholesale store to build a web site. it has
to be dynamic, php, database driven web site.
it will have
Thank you very much its worked great!!!
On Fri, Mar 7, 2008 at 11:50 PM, Bastien Koert <[EMAIL PROTECTED]>
wrote:
>
> > Date: Fri, 7 Mar 2008 23:45:51 +0530> From: [EMAIL PROTECTED]> To:
> php-general@lists.php.net> Subject: [PHP] SESSIOn when cookies are
> disabled> > Hi all> > how can we manage
> Date: Fri, 7 Mar 2008 23:45:51 +0530> From: [EMAIL PROTECTED]> To:
> php-general@lists.php.net> Subject: [PHP] SESSIOn when cookies are disabled>
> > Hi all> > how can we manage session variables when cookies are disabled.> >
> -- > Have A pleasant Day> Chetan. D. Rane> Location: India> Conta
On Fri, Mar 7, 2008 at 1:15 PM, chetan rane <[EMAIL PROTECTED]> wrote:
> Hi all
>
> how can we manage session variables when cookies are disabled.
You can send the request with an appended PHPSESSID.
RTFM: http://us.php.net/session
--
Daniel P. Brown
Senior Unix Geek
--
PHP Gener
Hi all
how can we manage session variables when cookies are disabled.
--
Have A pleasant Day
Chetan. D. Rane
Location: India
Contact: +91-9986057255
other ID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
On Thu, February 28, 2008 10:39 am, Nick Gasparro wrote:
> I have an immediate need for a Sr. Developer/Architect; with one of
> Denver's
> Best employers. They are a Web 2.0 company, rapidly growing and very
> profitable. They will pay top compensation and provide relocation
> assistance for the
The + requires at least one character.
The * is "0 or more" characters.
http://php.net/pcre
On Wed, March 5, 2008 9:13 am, It Maq wrote:
> Hi,
>
> I am using that right now and i have don't know how to include blank
> fields. For example if a user does not fill a field in a form i want
> to acce
Something like this, perhaps:
preg_match('/^((19|20)[0-9]{2})-([0-1]?[0-9])-([0-3]?[0-9])$/',
$input, $date_parts);
var_dump($date_parts);
This doesn't completely rule out bogus dates such as 2008-02-30 however.
I think MySQL would just convert that to MAR 1, 2008 anyway...
But if you want that
On Wed, March 5, 2008 2:08 am, Angelo Zanetti wrote:
> I am implementing a system where when a user is logged in and out that
> a
> date time is set in a database for each action for each used. We can
> then
> trace who logged in a and when.
>
> No what I would like to know is how can I record when
Are you really using temp_name when you want tmp_name?
On Wed, March 5, 2008 4:37 am, Pieter du Toit wrote:
> Just to add, if i try to echo the $_FILES['txtPhoto']['temp_name'] it
> tells
> me that temp_name is also an array, but when i echo
> $_FILES['txtPhoto']['name'] it gives me the correct na
On Wed, March 5, 2008 9:35 am, Robert Cummings wrote:
No textbook, but here's some advice...
Think of a variable like a house address for an actual house.
123 Maple Street
An array is just an apartment building:
125 Maple Street, Unit 1
125 Maple Street, Unit 2
125 Maple Street, Unit 3
.
.
.
On Wed, March 5, 2008 11:17 am, Zeshan Uddin wrote:
> *
> Code for rotate.php
>
> // File and rotation
> $filename = 'image.png';
> $degrees = 18;
>
> // Content type
> header('Content-type: image/png');
>
> // Load
> $source = imagecreatefrompng($filename);
>
> // Rotate
On Thu, March 6, 2008 6:42 am, Jochem Maas wrote:
> big boys use mod_rewrite, go grab a kilt :-)
If mod_rewrite gives you the willies...
You don't really NEED it here...
Just don't create /wi/* directories, and use $_SERVER['PATH_INFO']
instead.
Store all the school data somewhere else, and let
At 8:05 AM -0500 3/7/08, Eric Butera wrote:
On Fri, Mar 7, 2008 at 3:58 AM, Adrian Walls <[EMAIL PROTECTED]> wrote:
I am going to code this up myself with wrappers around the cvs
commands I need.
Good luck! Sounds like that might be the best solution since you have
such specific needs.
The
On Wed, March 5, 2008 11:18 am, Skip Evans wrote:
> "shortname", in this case "madison", and then sets
> a session variables for school ID that allows the
> user to access this school's data.
>
> Then it redirects back to
>
> http://prepcube.com/
Don't redirect to this.
Your session data has "w
SPM decided to move stuff to a different place, namely inside of a
/usr/share/php/PEAR directory, instead of just /usr/share/PEAR.
So change your include path and be done with it.
On Wed, March 5, 2008 11:59 am, Stephen wrote:
> My LAMP is on Ubuntu 7.10
>
> I am trying to use PEAR, for the first
On Wed, March 5, 2008 1:06 pm, John Papas wrote
> Are there any in PHP?
>
> It seems like there are those that draw upon the C/unix naming
> conventions and those that follow the Java/OO style.
There are several popular "standards" out there.
The PEAR coding standard and the Zend one tend to get
On Wed, March 5, 2008 9:57 pm, Zareef Ahmed wrote:
>I am looking into the concepts behind memory management in PHP.
> Which
> kind of approach will be best to measure memory leakage or usage in a
> PHP
> script?
>
> I can measure my apache process but is there any way by which I can
> know
> wh
On Thu, March 6, 2008 11:10 pm, Chris wrote:
>
>> If ssh keys are installed on the remote hosts then scp works
>> transparently and you just stick the scp in a cron job. Am I
>> missing
>> something?
>
> Yeh - looks like you have to log in to "A" and then it uses
> key-forwarding to let you log
On Thu, March 6, 2008 7:58 pm, Rahul wrote:
> I have a small file to be transferred between two computers every few
> seconds.
Use rsync
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?
Peter Ford wrote:
> Aschwin Wesselius wrote:
>> Rahul wrote:
>>> I have a small file to be transferred between two computers every few
>>> seconds. I'm using unix with a bare bones version of php, i.e. just
>>> the original thing that gets installed when I run "yum install php".
>>> As there is no
On Fri, Mar 7, 2008 at 3:58 AM, Adrian Walls <[EMAIL PROTECTED]> wrote:
> I am going to code this up myself with wrappers around the cvs commands I
> need.
Good luck! Sounds like that might be the best solution since you have
such specific needs.
The whole signature thing was just some friendly
Peter Ford wrote:
Here's overkill: use "fuse" to make two sshfs filesystems :)
# Make some directories to mount the remote stuff onto
mkdir -p mount_point_for_B
mkdir -p mount_point_for_C
# Use 'fuse' to make SSHFS mounts from the remotes to the new directories
sshfs B:/path_to_where_the_file_i
Aschwin Wesselius wrote:
> Rahul wrote:
>> I have a small file to be transferred between two computers every few
>> seconds. I'm using unix with a bare bones version of php, i.e. just
>> the original thing that gets installed when I run "yum install php".
>> As there is no webserver on any of these
Thanks Chris and to everyone else who actually replied with some useful
info, it's much appreciated. I am going to code this up myself with
wrappers around the cvs commands I need. It would have been nice if there
was some sort of framework for doing this already.
The reason I joined this lis
Rahul wrote:
I have a small file to be transferred between two computers every few
seconds. I'm using unix with a bare bones version of php, i.e. just the
original thing that gets installed when I run "yum install php". As there is
no webserver on any of these machines, I was wondering if there
33 matches
Mail list logo