Hi everyone,
Hmmm i'm not sure it is an SQL Injection now, done a lot more checking
and it is inserting code at the end of every index.htm index.html
default.html and index.php pages on my site.
Ooooh what fun :-)
Chris
On Fri, Jul 10, 2009 at 2:22 PM, Govindagovinda.webdnat...@gmail.com
On Fri, Jul 10, 2009 at 17:37, Chris Paynechris_pa...@danmangames.com wrote:
Hi everyone,
Hmmm i'm not sure it is an SQL Injection now, done a lot more checking
and it is inserting code at the end of every index.htm index.html
default.html and index.php pages on my site.
Ooooh what fun :-)
Hi,
Yes their IP is from Russia by Chinese in origin.
How can this be prevented?
Thank you all SO much for your help, it is very appreciated.
Chris
On Fri, Jul 10, 2009 at 2:40 PM, Daniel Browndanbr...@php.net wrote:
On Fri, Jul 10, 2009 at 17:37, Chris Paynechris_pa...@danmangames.com
On Fri, Jul 10, 2009 at 17:48, Chris Paynechris_pa...@danmangames.com wrote:
Hi,
Yes their IP is from Russia by Chinese in origin.
How can this be prevented?
Thank you all SO much for your help, it is very appreciated.
So would be your move to bottom-posting (with nods to the jihad
Thank you all SO much for your help, it is very appreciated.
So would be your move to bottom-posting (with nods to the jihad
that was the longest thread of the list so far this month) as per the
mailing list rules. ;-P
What's the URL to your site, if you feel comfortable in providing
On Fri, Jul 10, 2009 at 18:11, Chris Paynechris_pa...@danmangames.com wrote:
Sorry I post at the top because i'm legally blind and it's easier but
i'll try to post at the bottom :-)
This is the main site on my server:
http://www.oxyge.net
I just took out the offending code at the end of
Hi,
First of all change your FTP password and stop storing your password in
your FTP client.
This type of attacks are very common with the people who use insecure FTP
client.
My previous experience with your kind of problem tell me that chances of a
FTP attack are really higher in the pattern
On Sun, 2009-05-24 at 14:33 +0100, Nathan Rixham wrote:
Afternoon all,
This is a quick survey, think it would be useful to have the values of
MAX_FLOAT for each platform, and indeed see if it does differ.
to do this can you please run the following code (bc* required) and
reply back
chris_pa...@danmangames.com wrote:
Hi everyone,
I'm having a major problem. I have an order system that allows you to
add items with a checkbox, that works fine. If you add an item and go
back to the product listing the items that are in your cart show up as
checked on the products listing
kranthi wrote:
this depends much on the database implementation. obviously this is a
one to many relationship.
Probably easiest to do in the session database.
You can store the session fields in an external database if you want the
shopping cart to persist over multiple sessions.
--
PHP
On Mon, May 18, 2009 at 06:51:32PM -0700, chris_pa...@danmangames.com wrote:
Hi everyone,
I'm having a major problem. I have an order system that allows you to add
items with a checkbox, that works fine. If you add an item and go back to
the product listing the items that are in your cart
Paul M Foster wrote:
When you say it sends its id, what do you mean? You're not talking
about the ID attribute of the checkbox tag, are you?
The way I handle something like this is to give the checkbox tag a
value attribute. Like:
input type=checkbox name=mixer value=ordered_mixer
-
From: kranthi kranthi...@gmail.com
To: Michael A. Peters mpet...@mac.com
Cc: chris_pa...@danmangames.com; php-general@lists.php.net
Sent: Monday, May 18, 2009 7:48 PM
Subject: Re: [PHP] Help with PHP processing form checkboxes needed :-(
1. every time the form is submitted.. generate
Maybe your code overwrites the variable anywhere?
You should think about switching to a constant in that case by using
define('TEST_MODE', true);
[...]
if (TEST_MODE) {
[...]
} else {
[...]
}
Greetings from Germany
Marc
Joey wrote:
Hello All,
I am running into a problem after I moved a
Jan G.B. wrote:
You could try it with regular expression matching..
for example:
?php
preg_match_all('/([a-z]+|[a-z ]+)/i', $searchstring, $resultarray);
?
Regards
Thanks. That seems to create 2 duplicate arrays, though. Can it be
narrowed down to just array [0]?
2009/4/24 Adam Williams awill...@mdah.state.ms.us:
I have a form where users submit search terms and it explodes the terms into
an array based upon spaces. But, how can I have explode() keep words in
quotation marks together? For example, if someone enters on the form:
John Jill Judy Smith
2009/4/24 Adam Williams awill...@mdah.state.ms.us:
Jan G.B. wrote:
You could try it with regular expression matching..
for example:
?php
preg_match_all('/([a-z]+|[a-z ]+)/i', $searchstring, $resultarray);
?
Regards
Thanks. That seems to create 2 duplicate arrays, though. Can it
Jan G.B. wrote:
Yes, preg_match_all returns all matches and the subpattern matches
(the stuff inside the brakes)
You can ommit stop it by using (?:) instead of ()..
So: preg_match_all('/(?:[a-z]+|[a-z ]+)/i', $_POST[terms], $termsarray)
You might want to check out the regular expression
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stephen wrote:
Patrick Moloney wrote:
I've tried their help forum, but they keep telling me to create an
empty database.
Have you tried creating an empty database?
Stephen
yes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Apr 20, 2009, at 17:23, Patrick Moloney webpa...@gmail.com wrote:
Some months ago I downloaded and installed Apache, PHP and MySql.
With only light use they seem to be working.
I have downloaded a Test Script from the VBulletin vendor that is
supposed to determine if your setup could
i find var_dump useful in these situations, and for error reporting
try trigger error. http://php.net/manual/en/function.trigger-error.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2009-03-30 at 11:44 -0500, Terion Miller wrote:
I have this script that is no longer working to upload files, it goes thru
the motions and says the file is uploaded but then there is NO file in the
ArtWork folder
any ideas?
if ($_FILES) {
for ($x=0; $x 15; $x++) {
2009/3/30 Terion Miller webdev.ter...@gmail.com
I have this script that is no longer working to upload files, it goes thru
the motions and says the file is uploaded but then there is NO file in the
ArtWork folder
any ideas?
if ($_FILES) {
for ($x=0; $x 15; $x++) {
On Mon, Mar 30, 2009 at 1:11 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Mon, 2009-03-30 at 11:44 -0500, Terion Miller wrote:
I have this script that is no longer working to upload files, it goes
thru
the motions and says the file is uploaded but then there is NO file in
the
On Mon, 2009-03-30 at 12:47 -0500, Terion Miller wrote:
On Mon, Mar 30, 2009 at 1:11 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Mon, 2009-03-30 at 11:44 -0500, Terion Miller wrote:
I have this script that is no longer working to upload files, it goes
thru
the motions and
The chmod in the script just ensures that the file you uploaded is given
the correct permissions. Turn on all errors and warnings for the script
so you can see where the problem is.
Ash
www.ashleysheridan.co.uk
Thanks everyone, I figured it out, it was the directory permissions ...now
From: Jim Lucas
I may be wrong, but I heard short tags were going the
way of the Dodo bird as of PHP6.
This is not surprising. With the advent of XHTML, the short tag option
collides with another valid tag, ?xml. So that option has to be
turned off as soon as you need any XML in your pages.
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
On Tue, 2009-02-24 at 08:51 -0500, Bob McConnell wrote:
From: Jim Lucas
I may be wrong, but I heard short tags were going the
way of the Dodo bird as of PHP6.
This is not surprising. With the advent of XHTML, the short tag option
collides with another valid tag, ?xml. So that option
Forgot to click reply all! Sorry.
-- Forwarded message --
From: Lewis Wright lewiswri...@gmail.com
Date: 2009/2/24
Subject: Re: [PHP] help installing phpDocumentor
To: a...@ashleysheridan.co.uk
Turn on notices and maybe even strict messages (in your development
environment
On Tue, 2009-02-24 at 20:18 +, Lewis Wright wrote:
Forgot to click reply all! Sorry.
-- Forwarded message --
From: Lewis Wright lewiswri...@gmail.com
Date: 2009/2/24
Subject: Re: [PHP] help installing phpDocumentor
To: a...@ashleysheridan.co.uk
Turn on notices
I'm sorry, Gmail makes me do it!
2009/2/24 Ashley Sheridan a...@ashleysheridan.co.uk:
On Tue, 2009-02-24 at 20:18 +, Lewis Wright wrote:
Forgot to click reply all! Sorry.
-- Forwarded message --
From: Lewis Wright lewiswri...@gmail.com
Date: 2009/2/24
Subject: Re: [PHP
From: Lewis Wright
Turn on notices and maybe even strict messages (in your development
environment), and PHP should warn you of any deprecated code.
Easier said than done. I don't have an IDE available. I have tried the
Komodo editor and am now playing with Eclipse/PDT, but neither of those
2009/2/24 Bob McConnell r...@cbord.com:
From: Lewis Wright
Turn on notices and maybe even strict messages (in your development
environment), and PHP should warn you of any deprecated code.
Easier said than done. I don't have an IDE available. I have tried the
Komodo editor and am now
On Tue, 2009-02-24 at 20:55 +, Lewis Wright wrote:
2009/2/24 Bob McConnell r...@cbord.com:
From: Lewis Wright
Turn on notices and maybe even strict messages (in your development
environment), and PHP should warn you of any deprecated code.
Easier said than done. I don't have an
jim white wrote:
I have tried to install phpDocumentor, but am having problems getting it
to run. Finding install directions has so far eluded me. Are there any
installation instructions for this?
Jim White
searching google for install phpDocumentor
first result is this
Jim Lucas wrote:
jim white wrote:
I have tried to install phpDocumentor, but am having problems getting it
to run. Finding install directions has so far eluded me. Are there any
installation instructions for this?
Jim White
searching google for install phpDocumentor
first result
jim white wrote:
Jim Lucas wrote:
jim white wrote:
I have tried to install phpDocumentor, but am having problems getting it
to run. Finding install directions has so far eluded me. Are there any
installation instructions for this?
Jim White
searching google for install
Jim Lucas wrote:
jim white wrote:
Jim Lucas wrote:
jim white wrote:
I have tried to install phpDocumentor, but am having problems getting it
to run. Finding install directions has so far eluded me. Are there any
installation instructions for this?
Jim White
Back on the list...
jim white wrote:
Jim Lucas wrote:
jim white wrote:
Jim Lucas wrote:
jim white wrote:
I have tried to install phpDocumentor, but am having problems
getting it
to run. Finding install directions has so far eluded me. Are there any
installation
Jim Lucas wrote:
Back on the list...
jim white wrote:
Jim Lucas wrote:
jim white wrote:
Jim Lucas wrote:
jim white wrote:
I have tried to install phpDocumentor, but am having problems
getting it
to run. Finding install directions has so far
You can type show create table tablename to see the datatypes.
Waynn
On 2/13/09, James Colannino ja...@colannino.org wrote:
Hey everyone. I've been reading the list for a long time, but have only
really posted to the mailing list a few times. I just had a quick
question about MySQL. I'm
2009/2/11 Yeti y...@myhich.com:
Hello gang,
First of all, yes I searched the mailing list's archive.
My problem is very simple:
I have an object that's definately called with every page request.
It's pretty much the same for every unregistered/anonymous user.
And it's not small. Alot of
Emailing me directly is not cheap, please don't do it again without
expecting an invoice.
2009/2/11 faisal murad faisalsa...@gmail.com:
how can i unsubscribe from php list.
It's really difficult. You follow the instructions shown at the end of
each frickin' email!!
To unsubscribe, visit:
My problem is very simple:
I have an object that's definately called with every page request.
It's pretty much the same for every unregistered/anonymous user.
And it's not small. Alot of attributes are being set from DB queries etc.
Now my idea was to do some sort of caching with PHP to
2009/1/29 Daevid Vincent dae...@daevid.com
At the very top of my login.php page I have this:
?php
require_once('./includes/gui/gui_setup.inc.php');
...
?
(I've tried with and without the ./ prefix as if that might make a
difference)
When I try to load the URL:
OMFG! I'm an idiot. This is what happens when you work long hours and
refactor code without eating/sleeping properly..
so... it's gui_setup.inc.php I'm trying to include, yet the file is
named gui_setup.php.
What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth.
Is there a way to
On Wed, Jan 28, 2009 at 22:15, Daevid Vincent dae...@daevid.com wrote:
At the very top of my login.php page I have this:
?php
require_once('./includes/gui/gui_setup.inc.php');
...
?
(I've tried with and without the ./ prefix as if that might make a
difference)
Not that it will make a
On Wed, Jan 28, 2009 at 22:23, Daevid Vincent dae...@daevid.com wrote:
What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth.
Is there a way to have this email deleted from the archives -- I am
embarrassed by it! HAHAH!
You wish. Just be glad the PostTrack isn't running
On Wed, Jan 21, 2009 at 7:01 PM, Murray planetthought...@gmail.com wrote:
Hi All,
I'd like to understand unit testing better (or, in fact, at all). I
understand the broad idea that testing Is A Very Good Thing, but when I have
tried to look into it further (for example, have just been looking
I think this is my problem -- basically to know how to get some benefit from
it.
If I have a function in a class that is supposed to return some rows, how
would I go about performing a useful unit test on it? In theory (and in my
current practice), I can simply dump the array or object, or step
On Wed, Jan 21, 2009 at 7:24 PM, Murray planetthought...@gmail.com wrote:
I think this is my problem -- basically to know how to get some benefit from
it.
If I have a function in a class that is supposed to return some rows, how
would I go about performing a useful unit test on it? In theory
On Wed, Jan 21, 2009 at 7:31 PM, Eric Butera eric.but...@gmail.com wrote:
On Wed, Jan 21, 2009 at 7:24 PM, Murray planetthought...@gmail.com wrote:
I think this is my problem -- basically to know how to get some benefit from
it.
If I have a function in a class that is supposed to return some
On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote:
Hi - I have a file upload that returns no error, but the file does not
appear on the server. Here is the result of $_FILES:
Array (
[f] = Array (
[name] = Elephants.pdf
[type] = application/pdf
On Mon, 2008-12-29 at 20:34 +, Ashley Sheridan wrote:
On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote:
Hi - I have a file upload that returns no error, but the file does not
appear on the server. Here is the result of $_FILES:
Array (
[f] = Array (
[name]
The one thing I was doing was:
move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path);
but nothing was happening, no new file appearing where it was supposed
to, and no error returned, left me scratching my head. (Later the same
script logs the upload to MySQL using data from
On Mon, 2008-12-29 at 13:29 -0800, Brian Dunning wrote:
The one thing I was doing was:
move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path);
but nothing was happening, no new file appearing where it was supposed
to, and no error returned, left me scratching my head. (Later the
Terion wrote:
Hey Everyone, been steaming right along for a couple days but now I'm stuck
on writing a search function, could you all take a look at it and see what
it could be, I will mark the line throwing the error in red, I did try just
commenting out that line and searching for a record
Terion Miller wrote:
Hey Everyone, been steaming right along for a couple days but now I'm stuck
on writing a search function, could you all take a look at it and see what
it could be, I will mark the line throwing the error in red, I did try just
commenting out that line and searching for a
On Tue, 2008-12-23 at 16:14 -0600, Terion Miller wrote:
Hey Everyone, been steaming right along for a couple days but now I'm stuck
on writing a search function, could you all take a look at it and see what
it could be, I will mark the line throwing the error in red, I did try just
commenting
] On Behalf
Of Richard Heyes
Sent: Thursday, December 04, 2008 3:17 PM
To: David Stoltz
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help with IF ELSE
I'm new to PHP - I'm trying to figure out what is wrong with a simple
IF
ELSE block I have...if the recordset $rs is empty (login fails), the
1st
:[EMAIL PROTECTED] On Behalf
Of Richard Heyes
Sent: Thursday, December 04, 2008 3:17 PM
To: David Stoltz
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help with IF ELSE
I'm new to PHP - I'm trying to figure out what is wrong with a simple
IF
ELSE block I have...if the recordset $rs is empty
(HostWare Kft.) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 6:59 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Help with IF ELSE
You should check if php.ini has display_error off. This can prevent all
error message to be shown.
SanTa
- Original Message -
From: David
]
To: Richard Heyes [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, December 05, 2008 12:42 PM
Subject: RE: [PHP] Help with IF ELSE
I turned on error reporting (ALL) as you suggested. Nothing is being
sent to the browserstill doesn't work if the recordset isn't empty.
I'm wondering
Subject: RE: [PHP] Help with IF ELSE
The problem turned out to be, since I'm using the MCRYPT function to
encrypt the password, once in a while the encrypted password will have a
bad character:
ßt¦?rDþž’Q…ß±–
For example, the above has ’
This stops the PHP processing cold when executing
WOO HOO - addslashes baby!
Thank you!
-Original Message-
From: Sándor Tamás (HostWare Kft.) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 7:26 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Help with IF ELSE
The solution is addslashes(). This function adds a backslash
At 7:19 AM -0500 12/5/08, David Stoltz wrote:
The problem turned out to be, since I'm using the MCRYPT function to
encrypt the password, once in a while the encrypted password will
have a bad character:
--snip--
So then, how does one store this type of string? I can't do a string
- Original Message - From: David Stoltz [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Friday, December 05, 2008 1:19 PM
Subject: RE: [PHP] Help with IF ELSE
The problem turned out to be, since I'm using the MCRYPT function to
encrypt the password, once in a while
On Fri, Dec 5, 2008 at 6:42 AM, David Stoltz [EMAIL PROTECTED] wrote:
I turned on error reporting (ALL) as you suggested. Nothing is being
sent to the browserstill doesn't work if the recordset isn't empty.
I'm wondering, is there any other way to do a redirect in PHP?
Thanks
That is
PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, December 05, 2008 3:52 PM
Subject: Re: [PHP] Help with IF ELSE
On Fri, Dec 5, 2008 at 6:42 AM, David Stoltz [EMAIL PROTECTED] wrote:
I turned on error reporting (ALL) as you suggested. Nothing is being
sent to the browserstill doesn't work
Please do NOT use addslashes.
Replace it with this:
http://php.net/mysql_real_escape_string
It is CRUCIAL if your database might maybe ever consider going international
and having charset other than ISO-8856-1 or Latin1
[or the MySQL default of Monty's native language, which is very
-Original Message-
From: Sándor Tamás (HostWare Kft.) [mailto:[EMAIL PROTECTED]
Sent: 05 December 2008 14:58
To: php-general@lists.php.net
Subject: Re: [PHP] Help with IF ELSE
In fact, if I have to redirect, and I am not sure about headers are
sent or
not, I usually do
On Fri, Dec 5, 2008 at 9:17 AM, tedd [EMAIL PROTECTED] wrote:
At 7:19 AM -0500 12/5/08, David Stoltz wrote:
The problem turned out to be, since I'm using the MCRYPT function to
encrypt the password, once in a while the encrypted password will have a bad
character:
--snip--
So then, how
I'm new to PHP - I'm trying to figure out what is wrong with a simple IF
ELSE block I have...if the recordset $rs is empty (login fails), the 1st
part of the block works, and redirects the user to default.php - but if
the login works, and $rs is not empty, the 2nd else part does not
work, and
Terion Miller [EMAIL PROTECTED] wrote:
Can anyone help explain what I need to do to fix this:
Error: *Warning*: mysql_fetch_object(): supplied argument is not a valid
MySQL result resource in *
C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57*
*Warning*:
I added an echo and got this:
Query failed: Unknown column 'WorkOrderNumber' in 'field list' Actual
query: but the actual query is blank
and as I have stated before when I have had questions on this list, I am NOT
a php programmer, just learning and inherited a job with tons of php already
in
On 24 Nov 2008, at 17:28, Terion Miller wrote:
Can anyone help explain what I need to do to fix this:
Error: *Warning*: mysql_fetch_object(): supplied argument is not a
valid
MySQL result resource in *
C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57*
*Warning*:
this was the code I posted that accidentally only went to Wolf:
what does STFW mean?
?php
include(inc/dbconn_open.php);
if (empty($_SESSION['AdminLogin']) OR $_SESSION['AdminLogin'] 'OK' ){
?
script language=javascript
window.close();
/script
?php
exit();
}
if
Bottom POST when mailing the list.
My responses inline and at the bottom
Terion Miller [EMAIL PROTECTED] wrote:
this was the code I posted that accidentally only went to Wolf:
what does STFW mean?
On Tue, 2008-11-18 at 16:52 -0600, Terion Miller wrote:
I changed the implode to :
if (isset($_POST['BannerSize'])){$BannerSize = implode(',',
$_POST['BannerSize']);} else {$BannerSize = ;}
now it says Invalid Arguement whereas when it was the other way it didn't
On Tue, Nov 18, 2008
I changed the implode to :
if (isset($_POST['BannerSize'])){$BannerSize = implode(',',
$_POST['BannerSize']);} else {$BannerSize = ;}
now it says Invalid Arguement whereas when it was the other way it didn't
On Tue, Nov 18, 2008 at 12:38 AM, Jim Lucas [EMAIL PROTECTED] wrote:
Terion Miller
Terion Miller wrote:
I changed the implode to :
if (isset($_POST['BannerSize'])){$BannerSize = implode(',',
$_POST['BannerSize']);} else {$BannerSize = ;}
now it says Invalid Arguement whereas when it was the other way it didn't
Invalid Argument. Then $_POST['BannerSize'] is not what
My eyes are bleeding!
Did you ever see it working before?
Ash
www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Terion Miller wrote:
Help I inherited this script and just found that its not inserting anything
into the workorderform table in the db, and I'm getting implode() errors
for the 'bannersize' isset line
New and need help in over my head:
here is the code:
First off, I would argue that this
On Thu, Oct 16, 2008 at 1:10 PM, John Smtih [EMAIL PROTECTED] wrote:
http://www.site1.com
http://www.site2.com
http://www.site3.com
I have 3 sites above in a html. I do not want to create click each site,
one at a time to see 1 page info.
I want to write a script to go get all 3
Yep, a mysql database seems like the way to go. Thanks to all who have
offered to help on this project. Perhaps we could get together and figure
out what needs doing, assign jobs etc. I have hosting already sorted. Cheers
guys.
On Sun, Aug 24, 2008 at 5:05 AM, sean greenslade [EMAIL
Byron schreef:
Yep, a mysql database seems like the way to go. Thanks to all who have
offered to help on this project. Perhaps we could get together and figure
out what needs doing, assign jobs etc. I have hosting already sorted. Cheers
guys.
great, take it offlist please. this is not a forum
I would be willing to help with this project. Because of all the different
requirements of this, I would recommend a totally custom set of scripts, and
a mysql database to hold all the data.
On Sat, Aug 23, 2008 at 7:22 AM, Byron [EMAIL PROTECTED] wrote:
Hey.
I do some part-time IT work for a
I'm up for helping too. Also, a big agree to Sean too, MySQL seems the best
way to go here.
2008/8/23 sean greenslade [EMAIL PROTECTED]
I would be willing to help with this project. Because of all the different
requirements of this, I would recommend a totally custom set of scripts,
and
a
So Byron, what do you think? Do you like the idea of a mysql database?
On Sat, Aug 23, 2008 at 11:57 AM, Luke [EMAIL PROTECTED] wrote:
I'm up for helping too. Also, a big agree to Sean too, MySQL seems the best
way to go here.
2008/8/23 sean greenslade [EMAIL PROTECTED]
I would be willing
[EMAIL PROTECTED] wrote:
I cannot get Php to run on Solaris 10...
Here is the error I am getting
Trying to run php outside of apache
ld.so.1: php: fatal: libldap-2.3.so.0: open failed: No such file or
directory
With
Jim Lucas wrote:
Payne wrote:
Jim Lucas wrote:
So, to summarize everything said, with my own added notes.
[EMAIL PROTECTED] wrote:
Hi,
I am currently working on a php script that will be called by
cron. But I
have an error that keeps coming up.
Parse error: syntax error, unexpected
On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote:
You cannot have commands in the middle of a string.
Technically you can.
?php
$str = Hi, my name is . $this-getName();
// or
$str = Hi, my name is $this-getName();
echo $str;
?
~Philip
Try building a
string first, or use output
Ooop! Didn't read the whole thread before I sent this. Disregard what
I said earlier 'cuz others ripped before I did. ;)
~Phil
On Jul 25, 2008, at 3:59 PM, Philip Thompson wrote:
On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote:
You cannot have commands in the middle of a string.
Philip Thompson wrote:
On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote:
You cannot have commands in the middle of a string.
Technically you can.
?php
$str = Hi, my name is . $this-getName();
This is correct, but is not in the middle of the string.
// or
$str = Hi, my name is
On Thu, Jul 24, 2008 at 1:52 PM, [EMAIL PROTECTED] wrote:
Hi,
I am currently working on a php script that will be called by cron. But I
have an error that keeps coming up.
Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on
You didn't include the line number in the
You cannot have commands in the middle of a string. Try building a
string first, or use output buffering and then capture the buffer and
use that as the string for the mail function.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
[EMAIL PROTECTED] wrote:
On Thu, Jul 24, 2008 at 1:52 PM, [EMAIL PROTECTED] wrote:
Hi,
I am currently working on a php script that will be called by cron. But I
have an error that keeps coming up.
Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on
What I am trying to do is a simple php script
Daniel already answerd regarding your error, but...
?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
... if you call the script via cron I'm pretty sure $_SERVER won't be
available since the script is not used in a running webserver process
context.
--
PHP General Mailing List
101 - 200 of 1991 matches
Mail list logo