hi i am looking for an instant messenger for my web site
i would like to enable also not register user to chat to the other not register
user in my web site..
where i can find a source code like this ?
Marco Sottana wrote:
hi i am looking for an instant messenger for my web site
i would like to enable also not register user to chat to the other not register
user in my web site..
where i can find a source code like this ?
Lots of the them out there.. google "php ajax chat"
My personal favour
i would like a one to one chat .. no one to everybody
- Original Message -
From: "Darren Whitlen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 24, 2007 10:05 AM
Subject: [PHP] Re: instant messenger php + ajax
Marco Sottana wrote:
hi i am looking for an instant messenger for my web si
Marco Sottana wrote:
i would like a one to one chat .. no one to everybody
- Original Message - From: "Darren Whitlen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 24, 2007 10:05 AM
Subject: [PHP] Re: instant messenger php + ajax
Marco Sottana wrote:
hi i am looking for an instant mes
2007. 05. 23, szerda keltezéssel 22.59-kor James Lockie ezt írta:
> I get a syntax error on strlen.
>
>
> $newTypes = array();
> $newTypes[0] = array();
> $newTypes[0][0] = "Starting with"
you missed the ending ; on that line
greets
Zoltán Németh
> $newTypes[0][1] = strlen( $ne
Stephen escribió:
1) Does the filename extension matter? I prefer *.inc? It seems to work fine,
but I only see others using *.php
2) Does the include file need an opening ?
Not big issues, but I am curious.
Thanks
Stephen
If you use .inc extension you will have to modi
Tijnema wrote:
On 5/23/07, Stephen <[EMAIL PROTECTED]> wrote:
I have a script to process the post from a form.
The form is used to upload photos and has fields for the filename,
alt text, caption and a checkbox to indicate if this photo is the main
page image rotation.
I wanted to build a
Morning guys,
this is not exactly a PHP question, but as I am sure that I am talking to
more or less professional developers, I thought I might ask you.
As I am working on some... well, for my standards... huge project, I thought
that some kind of project management software would / could be
Rahul Sitaram Johari wrote:
Apache 2.2, PHP5 & mySQL 5 on Windows 2003.
I have some files sitting on a Network Drive accessible on the Windows 2003
Server. But my php script is not able to open the files.
Let¹s say there¹s a database on X:\Transfer\test.dbf
If I use:
$db = dbase_open(³X:\Transf
On 24 May 2007, at 10:26, Christian Haensel wrote:
Morning guys,
this is not exactly a PHP question, but as I am sure that I am
talking to more or less professional developers, I thought I might
ask you.
As I am working on some... well, for my standards... huge project,
I thought that s
- Original Message -
From: "Darren Whitlen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 24, 2007 10:19 AM
Subject: Re: [PHP] Re: instant messenger php + ajax
Marco Sottana wrote:
i would like a one to one chat .. no one to everybody
- Original Message - From: "Darren Whitle
Christian Haensel wrote:
this is not exactly a PHP question, but as I am sure that I am talking
to more or less professional developers, I thought I might ask you.
As I am working on some... well, for my standards... huge project, I
thought that some kind of project management software would /
hi i have this
Menu item 1Menu item 1.1Menu
item 1.2Menu item
1.2.1Menu item 1.2.2Menu item 1.2.2.1Menu item 1.2.2.2Menu item 1.2.3Menu item 1.3Menu item 2Menu item
3Menu item 4
i would like to add a css and/or a javascript to skin this menu as a orizzontal
menu with submenu orizzontal under
Hi Edward,
thanks for your comment. I use a lab book too... And already fille two of
them in the last 8 weeks I just wanna use the project management thing
to collect my ideas, and write a howto for "future generation developers"
who may have to deal with this thing once I am gone.
Stut
> -Original Message-
> From: Marco Sottana [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2007 11:32
> To: php-general@lists.php.net
> Subject: [PHP] [CSS] help with a orizzotal menu
>
>
> hi i have this
>
> Menu item
> 1Menu item
> 1.1Menu item
> 1.2Menu item
> 1.2.1Menu item 1.2.2 href="/item
> -Original Message-
> From: Christian Haensel [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2007 10:27
> To: php-general@lists.php.net
> Subject: [PHP] Project Management
>
>
> Morning guys,
>
> this is not exactly a PHP question, but as I am sure that I am talking to
> more or less professio
Rahul Sitaram Johari wrote:
I use a Mac OS X Server generally, where I mount network drives to a share
point. Everything works therein. Recently I had a need to setup Apache Web
Server, PHP & mySQL on a Windows 2003 Server we have in the office.
There I used the same scripts I was running on Mac
Marco Sottana wrote:
hi i have this
Menu item
1Menu item 1.1Menu item 1.2Menu item 1.2.1Menu item
1.2.2Menu item
1.2.2.1Menu item
1.2.2.2Menu item
1.2.3Menu item
1.3Menu item
2Menu item 3Menu item 4
i would like to add a css and/or a javascript to skin this menu as a
orizzontal menu with submen
Hello,
I have folder A with the following php script:
in folder B (same level as A), there is
when running the script in B, in can see the value 10. How can I make sure that
the $_SESSION['dummy'] is not shared between the two scripts? I could change
the name but that would not be convenient.
Jean-Christophe Roux wrote:
I have folder A with the following php script:
in folder B (same level as A), there is
when running the script in B, in can see the value 10. How can I make sure that
the $_SESSION['dummy'] is not shared between the two scripts? I could change
the name but that wou
Jean-Christophe Roux wrote:
Hello,
I have folder A with the following php script:
in folder B (same level as A), there is
when running the script in B, in can see the value 10. How can I make sure that
the $_SESSION['dummy'] is not shared between the two scripts? I could change
the name but t
On Thu, 2007-05-24 at 04:23 -0700, Jean-Christophe Roux wrote:
> when running the script in B, in can see the value 10. How can I make sure
> that the $_SESSION['dummy'] is not shared between the two scripts? I could
> change the name but that would not be convenient.
>
I think you are missing
Hello,
Thank you for the answers. The issue is that the same codes are in folders A
and B. When they are run from two different browsers, I am getting the behavior
I 'd like to see with two session ids being created and therefore no sharing of
$_SESSION variables. But when the two apps are ope
Jean-Christophe Roux wrote:
Hello,
Thank you for the answers. The issue is that the same codes are in folders A
and B. When they are run from two different browsers, I am getting the behavior
I 'd like to see with two session ids being created and therefore no sharing of
$_SESSION variables.
Stut wrote:
Jean-Christophe Roux wrote:
Thank you for the answers. The issue is that the same codes are in
folders A and B. When they are run from two different browsers, I am
getting the behavior I 'd like to see with two session ids being
created and therefore no sharing of $_SESSION variabl
Darren Whitlen wrote:
Stut..
I've only been here one day, and I think I'm right in saying that your
the one around here that gets annoyed really easy ;)
Not really, I just tend to be a bit more vocal about it.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Jean-Christophe Roux wrote:
Thank you for the answers. The issue is that the same codes are in
folders A and B. When they are run from two different browsers, I am
getting the behavior I 'd like to see with two session ids being created
and therefore no sharing of $_SESSION variables. But when
Forgive me if this is a bit off topic but I currenly have several sites
hosted with dreamhost, it's cheap and well prone to be slow. Does anyone
have experience with mediatemple? I would just be running php/mysql sites.
Thanks!
Darren Whitlen wrote:
> Stut wrote:
...
>
> Stut..
> I've only been here one day, and I think I'm right in saying that your
> the one around here that gets annoyed really easy ;)
when he goes quiet - that's when it's time to worry ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsub
Ave,
UNC paths didn't work, i.e., ("server\\share\\Transfer\\test.dbf").
I have no clue how to Run Apache as a particular User on Windows! I
installed Apache using the Installer available - but I really don't know
anything else 'user' related about Apache.
Both "SYSTEM" and the Computer I'm
How exactly do you run Apache manually as your own user on Windows 2003?
On 5/24/07 5:32 AM, "Stut" <[EMAIL PROTECTED]> wrote:
> Does the user Apache is running as have permission to access the network
> at all? It's fairly common for services to lack that access for
> (shockingly for Windows)
> Stut..
> I've only been here one day, and I think I'm right in saying that your
> the one around here that gets annoyed really easy ;)
I don't think Stut gets annoyed more than any of the others on this list.
Please remember though that
a) Stut's answers tend to be very high quality and
b) Top
Rahul Sitaram Johari wrote:
How exactly do you run Apache manually as your own user on Windows 2003?
You read the Apache documentation for the version your're using on
Windows at http://httpd.apache.org/
-Stut
On 5/24/07 5:32 AM, "Stut" <[EMAIL PROTECTED]> wrote:
Does the user Apache is
On 24 May 2007 13:22, Jean-Christophe Roux wrote:
> Hello,
>
> Thank you for the answers. The issue is that the same codes
> are in folders A and B. When they are run from two different
> browsers, I am getting the behavior I 'd like to see with two
> session ids being created and therefore no sh
On 5/24/07, blackwater dev <[EMAIL PROTECTED]> wrote:
Forgive me if this is a bit off topic but I currenly have several sites
hosted with dreamhost, it's cheap and well prone to be slow. Does anyone
have experience with mediatemple? I would just be running php/mysql sites.
Thanks!
I don't ha
Stut wrote
>What you're wanting to do can be achieved by setting the path on the
>session cookies. You may be able to do this by calling ini_set to change
>session.cookie_path before calling session_start.
ini_set('session.cookie_path', '/A/');
session_start();
That's a good solution; it works f
Jean-Christophe Roux wrote:
Stut wrote
>What you're wanting to do can be achieved by setting the path on the
>session cookies. You may be able to do this by calling ini_set to change
>session.cookie_path before calling session_start.
ini_set('session.cookie_path', '/A/');
session_start();
Tha
On 5/23/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote:
On Thursday 24 May 2007 00:51, Greg Donald wrote:
> As I watch PHP de-evolve into Java, I find myself wanting something
> lighter weight and with a smaller syntax.
PHP has long since spawned into something uncontrollable. Compare the
numbe
On 5/24/07, Christian Haensel <[EMAIL PROTECTED]> wrote:
Hi Edward,
thanks for your comment. I use a lab book too... And already fille two of
them in the last 8 weeks I just wanna use the project management thing
to collect my ideas, and write a howto for "future generation developers"
who
Hi,
Summary:
1. I execute script1 that will run in the background (daemon)
2. script1 needs to execute script2 and capture STDERR, STDOUT and
exitcode from script2 if script2 exits before SIGTERM is received.
3. If I send SIGTERM to script1 it should kill script2, and write to
DB (or log fi
Can anyone explain what's going on. This works; but, I don't understand it.
Two folks pointed out I had my $remote and $local files reversed. I fixed that;
but, it still didn't work.
This does work:
$source_dir is the absolute path i.e., /home/x/public_html/EditPage
ftp_chdir($dist_dir);
Ave,
Instead of going back & forth on various function & path tests, I wrote a
small code containing different suggested combinations of PATH and also the
gettype() as Jim had requested. Following is the Code and the Output.
Code:
$filename = 'X:\send\Transfer\LIVE\live.txt';
echo gettype($filen
Well, I'll say you've dramatically upped the ante by having an Apache server
on a windows box attempt to mount and read a file on a MacOS machine. Yipes!
So let me get this straight:
* Apache is on Windows Server 2003.
* PHP is running on Apache.
* A folder containing scripts/data/both is on a
Simon Detheridge wrote:
Incidentally, the full-blown (and rather complicated I'm afraid)
schema/wsdl for what I'm *actually* trying to do is at
http://www.widgit.com/cml/symgate.wsdl if that helps.
404
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
On 5/24/07 11:04 AM, "Jared Farrish" <[EMAIL PROTECTED]> wrote:
> Well, I'll say you've dramatically upped the ante by having an Apache server
> on a windows box attempt to mount and read a file on a MacOS machine. Yipes!
>
> So let me get this straight:
>
> * Apache is on Windows Server 2003.
On 5/24/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
I think you got a little confused with a previous post of mine. Mac OS X
is
Not in this scenario at all!!! So completely Eradicate it from this
current
Scenario.
This is a complete PHP/Apache on Windows 2003 Scenario. That's it!
So wh
You may have something here.
Problem is, I don¹t know how to mess with how & under what user Apache is
running and no one else here does either so basically I have to figure
this one out! I would like to, as you suggested, try and ³get Apache to run
as a service under a user that can access the
On 5/24/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
You may have something here.
Problem is, I don't know how to mess with how & under what user Apache is
running – and no one else here does either so basically I have to figure
this one out! I would like to, as you suggested, try and "g
Hi Everyone,
I think I have found away to prevent SQL code injection into my
database and just wanted to get everyones comments on my method.
if (!isset($_POST['FName']) || empty($_POST['FName']))
$errmsg .="Please enter your name";
if (!isset($_POST['LName']) || empty($_POST['LName']))
$
I'm not sure exactly what kind of sanitization you think you're doing, but
if all you do is check to see if it's empty (empty() implements isset(),
empty() checks to see if it's set, then if it evaluates to an empty
variable), that's not much sanitization.
What you need to do is check for SQL inj
Jason Pruim <[EMAIL PROTECTED]> wrote: Hi Everyone,
I think I have found away to prevent SQL code injection into my
database and just wanted to get everyones comments on my method.
Am I correct in thinking that I'm fairly
safe from the bad people and the stupid users?
You ne
Jason Pruim wrote:
Hi Everyone,
I think I have found away to prevent SQL code injection into my database
and just wanted to get everyones comments on my method.
if (!isset($_POST['FName']) || empty($_POST['FName'])) $errmsg
.="Please enter your name";
if (!isset($_POST['LName']) || empty($_P
Also, you should be checking against type (expecting a number? a boolean
value? a string?) and then checking against expected length requirements
(such as firstname can only be 80 characters long max, so maybe check for
if (strlen($var) > 80) {
do something;
}
In unit testing, you build you
Ave,
I have a dbase (dbf) database and I¹m using PHP¹s dbase function to open &
search the database.
Each row in the database contains an Account Number and the Date it was
inserted.
I want to search this database for to see if the Account number ($thekey)
was inserted today (using date() to fi
> -Original Message-
> From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 24, 2007 1:42 PM
> To: PHP
> Subject: [PHP] Check if Record was Entered Today.
>
>
>
> Ave,
>
> I have a dbase (dbf) database and I¹m using PHP¹s dbase
> function to open &
> search the
Ave,
I have a dbase (dbf) database and I¹m using PHP¹s dbase function to open &
search the database.
Each row in the database contains an Account Number and the Date it was
inserted.
I want to search this database for to see if the Account number ($thekey)
was inserted today (using date() to fi
On Thu, 2007-05-24 at 09:04 -0400, blackwater dev wrote:
> Forgive me if this is a bit off topic but I currenly have several sites
> hosted with dreamhost, it's cheap and well prone to be slow. Does anyone
> have experience with mediatemple? I would just be running php/mysql sites.
One of my cus
Can anyone explain what's going on.
If I assign $source= $source_dir . $file;
$source_dir is the absolute path i.e., /home/x/public_html/EditPage/
And $dist= $dist_dir . $file;
$dist_dir is simply relative to $_SERVER[document_root]; i.e., just plain /test
To get ftp_put() to work, I must
I use MediaTemple, and what I like is that it's a company geared towards a
category of developers, and not ANY person who wants a website. So the
services and support are commensurate for a company that offers services
primarily aimed at professional design-oriented firms and/or developers, and
no
I believe you need a "while" instead of an "if". The "if" will only run
until the first occurance is true. Whereas a "while" will run to find
all
results that are true until it goes thru all of the result rows..
No, I think he's checking to make sure that $db contains a resource id and
not
First off, I'd like to explain I'm not a PHP programmer, so please
bear with me. I'm trying to configure a Horde/IMP server. It worked
yesterday. I installed rsync via packages, rebooted, and now no one
can log into my Horde/IMP install. Why am I posting here? Well,
when I look in httpd-error.
> It worked yesterday.
I don't have any idea what could cause your problem, but with your
permission I think I'll have some t-shirts printed up with this slogan. ;-)
JM
---
"It worked yesterday." - unknown
--
PHP General Mailing List (http://www.php.net/)
T
First my problem, then a tiny bit of background information.
I am trying to start a small (Read: Tiny) web development company from home,
which will handle only a few light contracts. I have been spending some time
searching Google for common documents used by developers and their clients
to help
On Thu, May 24, 2007 3:15 pm, Patrick Baldwin wrote:
>
> First off, I'd like to explain I'm not a PHP programmer, so please
> bear with me. I'm trying to configure a Horde/IMP server. It worked
> yesterday. I installed rsync via packages, rebooted, and now no one
> can log into my Horde/IMP insta
On Thu, May 24, 2007 2:37 pm, Al wrote:
> Can anyone explain what's going on.
>
> If I assign $source= $source_dir . $file;
> $source_dir is the absolute path i.e.,
> /home/x/public_html/EditPage/
>
> And $dist= $dist_dir . $file;
> $dist_dir is simply relative to $_SERVER[document_root]; i.e
On Thu, May 24, 2007 12:42 pm, Rahul Sitaram Johari wrote:
>
> Ave,
>
> I have a dbase (dbf) database and I¹m using PHP¹s dbase function to
> open &
> search the database.
> Each row in the database contains an Account Number and the Date it
> was
> inserted.
>
> I want to search this database for
I am trying to start a small (Read: Tiny) web development company from
home,
which will handle only a few light contracts. I have been spending some
time
searching Google for common documents used by developers and their clients
to help layout all the goals and features the site might have.
Unfor
Yes, prepared statements protect from SQL injection because the "data"
is clearly separated from the SQL code, and MySQL knows what to do
with "data"
The rest of your code has absolutely NOTHING to do with SQL injection,
but with data validation and business logic.
On Thu, May 24, 2007 11:10 am,
I only skimmed this, but afaik the only way to get the child PID is to
"fork" rather than to "exec".
On Thu, May 24, 2007 10:10 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> Summary:
>
> 1. I execute script1 that will run in the background (daemon)
> 2. script1 needs to execute script2 and capture STDERR
On Thu, May 24, 2007 8:04 am, blackwater dev wrote:
> Forgive me if this is a bit off topic but I currenly have several
> sites
> hosted with dreamhost, it's cheap and well prone to be slow. Does
> anyone
> have experience with mediatemple? I would just be running php/mysql
> sites.
I found Medi
On Thu, May 24, 2007 6:23 am, Jean-Christophe Roux wrote:
> Hello,
> I have folder A with the following php script:
> session_start();
> $_SESSION['dummy']=10;
> echo $_SESSION['dummy'];
> ?>
> in folder B (same level as A), there is
> session_start();
> echo $_SESSION['dummy'];
> ?>
> when run
On Thu, May 24, 2007 7:44 am, Stut wrote:
> Darren Whitlen wrote:
>> Stut..
>> I've only been here one day, and I think I'm right in saying that
>> your
>> the one around here that gets annoyed really easy ;)
>
> Not really, I just tend to be a bit more vocal about it.
I daresay every regular has
Richard Lynch wrote:
On Thu, May 24, 2007 7:44 am, Stut wrote:
Darren Whitlen wrote:
Stut..
I've only been here one day, and I think I'm right in saying that
your
the one around here that gets annoyed really easy ;)
Not really, I just tend to be a bit more vocal about it.
I daresay every reg
On Wed, May 23, 2007 11:42 pm, wisuttorn wrote:
>
> I have a problem please help me
> when i loged in to egroup this show "
> Database error: Invalid SQL: SELECT DISTINCT
> egw_cal_repeats.*,egw_cal.*,cal_start,cal_end,cal_recur_date FROM
> egw_cal
> JOIN egw_cal_dates ON egw_cal.cal_id=egw_cal_da
On Wed, May 23, 2007 9:59 pm, James Lockie wrote:
> I get a syntax error on strlen.
>
>
> $newTypes = array();
> $newTypes[0] = array();
> $newTypes[0][0] = "Starting with"
> $newTypes[0][1] = strlen( $newTypes[0][0] );
If you are missing the ; in the line before, PHP gets pretty
Hi All
Let me start by saying I am not 100% sure this
is the correct board to post this to. I hope it is
because as i have watched this list it contains
some very helpful people.
I have search for an answer to this and cannot
seem to find it. We have a subscription based
site that is developed
What puzzles me is that one path must be absolute and the other relative to the root. And, I've got chdir to the
destination dir.
I know about ftp having its own root. In my code, I have a check to make certain the ftp root is the same as the
$_SERVER[document_root].
Richard Lynch wrote:
O
On Wed, May 23, 2007 3:48 pm, Stephen wrote:
> 1) Does the filename extension matter? I prefer *.inc? It seems to
> work fine, but I only see others using *.php
>From a strictly "will it work" stand-point, the extension can be
anything you want or none at all.
HOWEVER, there are various security
Rich Peterson wrote:
Hi All
Let me start by saying I am not 100% sure this
is the correct board to post this to. I hope it is
because as i have watched this list it contains
some very helpful people.
I have search for an answer to this and cannot
seem to find it. We have a subscription based
s
On Wed, May 23, 2007 3:36 pm, Brett Davidson wrote:
> Platform : FreeBSD 6.2 Release with Apache 2.0.59 running PHP 5.2.1_3
> CGI under SuExec in FastCGI mode.
>
> Issue: move_uploaded_file ALWAYS crfeates uploaded files with Unix
> permissions 600 (read and write for user only) regardless of
> own
On Wed, May 23, 2007 1:46 pm, Rahul Sitaram Johari wrote:
> Apache 2.2, PHP5 & mySQL 5 on Windows 2003.
> I have some files sitting on a Network Drive accessible on the Windows
> 2003
> Server. But my php script is not able to open the files.
>
> Let¹s say there¹s a database on X:\Transfer\test.dbf
On Thu, May 24, 2007 10:29 am, Rahul Sitaram Johari wrote:
>
> You may have something here.
> Problem is, I don¹t know how to mess with how & under what user Apache
> is
> running and no one else here does either so basically I have to
> figure
> this one out! I would like to, as you suggested, t
On Thu, May 24, 2007 10:43 am, Jared Farrish wrote:
> For the advanced PHP gurus on the list, is it accurate to characterize
> PHP
> as relying on Apache for file manipulation? Is it accurately described
> as:
>
> Process Request->PHP->Apache->[File System
> Poof!]->Apache->PHP->Process
This *migh
On Wed, May 23, 2007 11:45 am, Mike Ryan wrote:
> I am reading in a date field from a mysql database the field on the
> screen
> shows up as 2007-05-01 on the screen I would like the field to show
> 05-01-2007 currently I am issueing the following command print
> $row['open']; how can I format t
On 5/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Wed, May 23, 2007 1:46 pm, Rahul Sitaram Johari wrote:
> Apache 2.2, PHP5 & mySQL 5 on Windows 2003.
> I have some files sitting on a Network Drive accessible on the Windows
> 2003
> Server. But my php script is not able to open the files.
On Wed, May 23, 2007 11:40 am, Stephen wrote:
> I have a script to process the post from a form.
>
> The form is used to upload photos and has fields for the filename,
> alt text, caption and a checkbox to indicate if this photo is the
> main page image rotation.
>
> I wanted to build a gener
This *might* be correct with PHP as an Apache Module, but I doubt it.
I think it's more like:
Whatever -> PHP -> stdio.h File System calls
"Whatever" will affect what user is running PHP and thus what
permissions they have, but that's about it.
Is it then:
Whatever['Apache.exe'] (owns) Sys
On Wed, May 23, 2007 9:58 am, Greg Donald wrote:
> Has anyone looked at the Zend Framework lately?
>
> http://framework.zend.com/manual
>
> I've been playing with a few parts of it off and on the past couple of
> days. It seems really heavy overall and there is no Javascript
> integration anywhere
On Wed, May 23, 2007 9:24 am, Dan Shirah wrote:
> Okay, I think I'm doing everything right, but for whatever reason my
> include
> isn't working.
>
> echo $_POST['status_code'];
Perhaps there is some whitespace before/after the 'C'...
echo "'$_POST[status_code]'\n";
You should then see some whi
On Wed, May 23, 2007 10:53 am, Daniel Brown wrote:
> don't need a space in your include command. Just type it out as if it
> were
> a function: include('complete_save.php');
You don't need the parens either -- It's NOT a function at all.
It's a language construct.
The space should probably be l
On Thu, May 24, 2007 5:29 pm, Jared Farrish wrote:
>>
>> This *might* be correct with PHP as an Apache Module, but I doubt
>> it.
>>
>> I think it's more like:
>>
>> Whatever -> PHP -> stdio.h File System calls
>>
>> "Whatever" will affect what user is running PHP and thus what
>> permissions they
On Wed, May 23, 2007 7:41 am, kvigor wrote:
>if($value != 'Alabama' || $value!= 'AL' || $value != 'Alaska' ||
This mess will *ALWAYS* evaluate to TRUE, because the $value is ALWAYS
only one value, and thus the other 99 values are going to evaluate to
TRUE and you have || between them...
So y
Perhaps there is some whitespace before/after the 'C'...
echo "'$_POST[status_code]'\n";
You should then see some whitespace inside the '' so you'll know it's
there.
This is a VERY good debugging technique to adopt. :-)
My own methodology is to use one of the following to peer into an array
Richard Lynch wrote:
> On Wed, May 23, 2007 9:58 am, Greg Donald wrote:
>> Has anyone looked at the Zend Framework lately?
>>
>> http://framework.zend.com/manual
>>
>> I've been playing with a few parts of it off and on the past couple of
>> days. It seems really heavy overall and there is no Java
On Wed, May 23, 2007 3:52 am, Darren Whitlen wrote:
> Hi,
> I have a PHP script that reads and updates either a small file or a
> mysql database. This script is called from several places every .5
> seconds.
Errr. Okay.
Seems kind of frequent to me...
What/why is going on here?
You may get a M
On Wed, May 23, 2007 1:39 am, Angelo Zanetti wrote:
> Dear all.
>
> I have a script that is called by an AJAX popup. Now I use an image
> file to get the path of an image for an tag
>
> eg:
>
>
>
>
> the $getImageURL is composed as follows:
>
> $getImageURL = "getImage.php?imageid=".
> $imageID.
On Wed, May 23, 2007 4:08 am, Darren Whitlen wrote:
> Stut wrote:
>> Darren Whitlen wrote:
>>> I have a PHP script that reads and updates either a small file or a
>>> mysql database. This script is called from several places every .5
>>> seconds.
>>>
>>> I would like to move this file to a variab
On Thu, May 24, 2007 4:51 pm, Rich Peterson wrote:
> Let me start by saying I am not 100% sure this
> is the correct board to post this to. I hope it is
> because as i have watched this list it contains
> some very helpful people.
>
> I have search for an answer to this and cannot
> seem to find it
On Thu, May 24, 2007 4:50 pm, Stut wrote:
> Richard Lynch wrote:
>> On Thu, May 24, 2007 7:44 am, Stut wrote:
>>> Darren Whitlen wrote:
Stut..
I've only been here one day, and I think I'm right in saying that
your
the one around here that gets annoyed really easy ;)
>>> Not re
On Wed, May 23, 2007 10:48 am, Robert Cummings wrote:
> On Wed, 2007-05-23 at 10:10 -0500, Greg Donald wrote:
>> On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
>> > [-- SNIPPITY SNIP SNIP --]
>> > != 'Texas' || $value!= 'TX' || $value != 'Utah' || $value!= 'UT'
>> || $value
>> > != 'Vermont' || $v
1 - 100 of 124 matches
Mail list logo