Thanks Jonathan,
Thats exactly what I needed.
I appreciate the help,
JC
Mayer, Jonathan wrote:
Off the top of my head, would strtotime work?
ie
strftime("%j",strtotime($row['UpdateDate']))
-Original Message-
From: John Comerford [mailto:jo...@optionsystems.com.au]
Sent: 04 June 20
PJ wrote:
The code:
...snip
accès client
mot de passe
Inscription
Always W3C validate html and CSS .
Use Firefox's "Web Developer" extension. It's super. It would have shown you the
problems in minutes, see the "fo
Andrew Ballard wrote:
> On Wed, Jun 3, 2009 at 7:13 PM, PJ wrote:
>
>> Tom Chubb wrote:
>>
>>> 2009/6/3 PJ :
>>>
>>>
The code:
...snip
   Â
      accès client >>> name="title" value="" size="10" />
      mot de passe >>> va
Shawn McKenzie wrote:
> PJ wrote:
>
>> AngeloZanetti wrote:
>>
>>> Shawn McKenzie wrote:
>>>
>>>
PJ wrote:
> PROBLEM 1 solved: errant s removed; strange that they were
> inhibiting entry of data into form field?
>
> PROBLEM 2 not resolved: but
From: Phpster
To: Lamp Lists
Cc: "php-general@lists.php.net"
Sent: Wednesday, June 3, 2009 8:30:05 PM
Subject: Re: [PHP] how to manage permissions for file uploader
This is fairly simple to do as an http upload. With the folder above the web
root, it less
From: Phpster
To: Lamp Lists
Cc: "php-general@lists.php.net"
Sent: Wednesday, June 3, 2009 8:30:05 PM
Subject: Re: [PHP] how to manage permissions for file uploader
This is fairly simple to do as an http upload. With the folder above the web
root, it less
I've never encountered this error:
Warning: ftp_put() [function.ftp-put]:
/httpdocs/Announcements/photos/obitsTest/: Not a regular file in
/Applications/MAMP/htdocs/HarrisAutomate/ObitsTester.php on line 149
There was a problem while uploading 659428.jpg 658626
Can't find much info on how to co
On Thu, Jun 4, 2009 at 9:07 AM, Miller, Terion
wrote:
> I've never encountered this error:
>
> Warning: ftp_put() [function.ftp-put]:
> /httpdocs/Announcements/photos/obitsTest/: Not a regular file in
> /Applications/MAMP/htdocs/HarrisAutomate/ObitsTester.php on line 149
> There was a problem wh
Wrap some debug code in the loop:
echo "I want to upload $file. Is it a file?" . is_file($file) .
"";
See what that says.
-Original Message-
From: haliphax [mailto:halip...@gmail.com]
Sent: Thursday, June 04, 2009 10:23 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Not a regular
Here is my code for the ftp_put
$conn_id = ftp_connect($ftp_server);$login_result =
ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);$FilePath =
"http://localhost:/HarrisAutomate/output/WebImagesHiRes/$ImageName";;
$remote_path = "/httpdocs/Announcements/photos/o
Likewise, do some debug output.
echo "I'm going to upload $FilePath to $remote_path.";
Make sure it looks sane, maybe your variables aren't what you think they
are... You can also use is_file() on http:// locations, AFAIK.
-Original Message-
From: Miller, Terion [mailto:tmil...@springfi
> But, if I move the directory a level up, not accessable from outside - how
> can read the image since it's not accessable fro outside? I can't
> inlcude() the image?
You need to do something simmaler to reading files stored in a database,
which is described here:
http://www.php-mysql-tutorial.co
I´m not sure, nut I think you cant put a file into a ftp server using http,
you must use the $_SERVER["DOCUMENT_ROOT"] to get the file you want to put.
--
João Cândido de Souza Neto
SIENS SOLUÃÃES EM GESTÃO DE NEGÃCIOS
Fone: (0XX41) 3033-3636 - JS
www.siens.com.br
""Miller, Terion"" esc
Al wrote:
I also use the
"HTML Validator" extension. Leave it active and as you develop and test
your resultant html code, it'll check your pages on the fly. When you
see the red circle, with a cross, click the circle and get an error
report in detail.
Hey wow - that's nifty.
I've got s
Issue is resolved, all I needed to do was put $ImageName on the remote path
too> duhlol
$remote_path = "/httpdocs/Announcements/photos/obitsTest/$ImageName";
On 6/4/09 9:35 AM, "kyle.smith" wrote:
echo "I'm going to upload $FilePath to $remote_path.";
--
PHP General Mailing List (htt
Michael A. Peters wrote:
Al wrote:
I also use the "HTML Validator" extension. Leave it active and as you
develop and test your resultant html code, it'll check your pages on
the fly. When you see the red circle, with a cross, click the circle
and get an error report in detail.
Hey wow
Al wrote:
Michael A. Peters wrote:
Al wrote:
I also use the "HTML Validator" extension. Leave it active and as
you develop and test your resultant html code, it'll check your pages
on the fly. When you see the red circle, with a cross, click the
circle and get an error report in detail
On Tue, May 26, 2009 at 4:36 PM, Michael A. Peters wrote:
> kranthi wrote:
>>
>> seems more of a firefox question than a PHP question...
>>
>> just replace
>> with > autocomplete="off">
>>
>> https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion
>>
>
> Thanks!
>
> I found that for
Andrew Ballard wrote:
On Tue, May 26, 2009 at 4:36 PM, Michael A. Peters wrote:
kranthi wrote:
seems more of a firefox question than a PHP question...
just replace
with
https://developer.mozilla.org/en/How_to_Turn_Off_form_Autocompletion
Thanks!
I found that for xhtml I had to use follo
Hi
Can anyone help me handel this URL injection ?
https://www.xxx.co.uk/register.php";| grep "123"
I want to detect it and header back to my index page.
It's quite urgent
Thanks for help
M.
Hi
Can anyone help me handel this URL injection ?
https://www.xxx.co.uk/register.php";| grep "123"
I want to detect it and header back to my index page.
It's quite urgent
Thanks for help
M.
Andrew Ballard wrote:
I just thought I'd toss this out there. Do you know that there is an
effort to remove browser support this attribute (or at least give the
user a browser configuration option to ignore it)?
http://article.gmane.org/gmane.org.w3c.whatwg.discuss/3054
This article discusse
On Thu, Jun 4, 2009 at 12:33 PM, Michael A. Peters wrote:
> Andrew Ballard wrote:
>
>>
>>
>> I just thought I'd toss this out there. Do you know that there is an
>> effort to remove browser support this attribute (or at least give the
>> user a browser configuration option to ignore it)?
>>
>> htt
This may not be strictly php but I think is may be relevant.
Were I to use a different css file for every page (that is slightly
different), would that affect performance?
It seems to me that might be a way of simplifying and certainly speeding
up development (design-wise, anyway) when using css. A
From: Andrew Ballard
> On Thu, Jun 4, 2009 at 12:33 PM, Michael A. Peters
wrote:
>> Andrew Ballard wrote:
>>
>>>
>>>
>>> I just thought I'd toss this out there. Do you know that there is an
>>> effort to remove browser support this attribute (or at least give
the
>>> user a browser configuration
2009/6/4 Morris :
> Hi
>
> Can anyone help me handel this URL injection ?
>
> https://www.xxx.co.uk/register.php";| grep "123"
>
> I want to detect it and header back to my index page.
>
> It's quite urgent
What the smeg is register.php doing that makes it execute that?? Show
us the code.
-Stuart
On Thu, Jun 4, 2009 at 12:54 PM, PJ wrote:
> This may not be strictly php but I think is may be relevant.
> Were I to use a different css file for every page (that is slightly
> different), would that affect performance?
> It seems to me that might be a way of simplifying and certainly speeding
>
Bob McConnell wrote:
From my viewpoint, the bigger need is to educate administrators of
publicly available computers to disable autocomplete in the browser
configuration. If they would do that, when you go to the workstation in
the library, you can't see the credentials of the last user, and th
Andrew Ballard wrote:
> On Thu, Jun 4, 2009 at 12:54 PM, PJ wrote:
>> This may not be strictly php but I think is may be relevant.
>> Were I to use a different css file for every page (that is slightly
>> different), would that affect performance?
>> It seems to me that might be a way of simplifyi
>From my experience I tend to use a difference ID for the body tag, for
instance and then format it in my CSS using ID
reference:
#homepage .classname {
color: blue;
}
This way you can use a default format for all the pages and create minor (or
major) changes in the theme in no time :)
I w
Nitsan Bin-Nun wrote:
> >From my experience I tend to use a difference ID for the body tag, for
> instance and then format it in my CSS using ID
> reference:
> #homepage .classname {
> color: blue;
> }
>
> This way you can use a default format for all the pages and create minor (or
> major)
At 8:10 AM -0700 6/1/09, Raymond Irving wrote:
Hello,
There are many different ways and techniques that we can use to add
alternate colors to table rows. Here's another solution that's very
simple and straight forward. For example:
$page['table tr:even']->css('background:#eee');
Check ou
Hello,
Could someone suggest the steps needed to troubleshoot the "webpage has
expired" issue in IE. I have a self-posting php form which queries and
writes to a pgsql database. Occasionally, when an input is entered, the form
never loads and I get this error instead. I do want to make clear th
At 2:08 PM -0400 6/4/09, PJ wrote:
Nitsan Bin-Nun wrote:
>From my experience I tend to use a difference ID for the body tag, for
instance and then format it in my CSS using ID
reference:
#homepage .classname {
color: blue;
}
This way you can use a default format for all the pages
Hi
The register.php has only a form
?>
Does this help ?
Thanks for reply
2009/6/4 Stuart
> 2009/6/4 Morris :
> > Hi
> >
> > Can anyone help me handel this URL injection ?
> >
> > https://www.xxx.co.uk/register.php";| grep "123"
> >
> > I want to detect it and header back to my index pag
2009/6/4 Morris :
> Hi
>
> The register.php has only a form
>
>
>
>
>
> ?>
>
> Does this help ?
1) That is not valid PHP code.
2) Even if it were there's nothing in there that would be exploitable
through the URL you sent in your first email.
-Stuart
--
http://stut.net/
> 2009/6/4 Stuart
Is there more to the register.php file that we're not seeing? It has to have
some sort of action...
On Thu, Jun 4, 2009 at 3:28 PM, Stuart wrote:
> 2009/6/4 Morris :
> > Hi
> >
> > The register.php has only a form
> >
> > >
> >
> >
> >
> > ?>
> >
> > Does this help ?
>
> 1) That is not vali
tedd wrote:
> At 2:08 PM -0400 6/4/09, PJ wrote:
>> Nitsan Bin-Nun wrote:
>>> >From my experience I tend to use a difference ID for the body tag,
>>> for
>>> instance and then format it in my CSS using ID
>>> reference:
>>> #homepage .classname {
>>>color: blue;
>>> }
>>>
>>> This wa
Hi All,
I'm currently looking for a quality (preferably open source) PHP
graphing library that will allow me to create various graphs and plot
points. I've seen several that do some amazing things, but cost a
fortune -- others are either limited, lack documentation, or don't
allow plotti
At 3:58 PM -0400 6/4/09, PJ wrote:
tedd wrote:
> Style sheets are meant simplify things so decide on how you want
things to look uniformly throughout your site and then stick with it.
There's really no good reason to keep changing things throughout a site.
Cheers,
tedd
Maybe I'm just
li...@mgreg.com wrote:
Hi All,
I'm currently looking for a quality (preferably open source) PHP
graphing library that will allow me to create various graphs and plot
points. I've seen several that do some amazing things, but cost a
fortune -- others are either limited, lack documentation, or
li...@mgreg.com wrote:
Hi All,
I'm currently looking for a quality (preferably open source) PHP
graphing library that will allow me to create various graphs and plot
points. I've seen several that do some amazing things, but cost a
fortune -- others are either limited, lack documentation, or
tedd wrote:
> At 3:58 PM -0400 6/4/09, PJ wrote:
>> tedd wrote:
>>
>> > Style sheets are meant simplify things so decide on how you want
>>> things to look uniformly throughout your site and then stick with it.
>>> There's really no good reason to keep changing things throughout a
>>> site.
>>>
Can't find anything on G or web - but I probably didn't try hard enough.
I am unable to set my virtual hosts to handle https.
I have apache22, mod_ssl, opnenssl and the httpd and httpd-vhosts.conf
files are set up "correctly" but directing a sensitive user information
page to an HTTPS page returns
I'm running my test server on Windows XP SP3 and have been successfully
running PHP 5 for some time using:
php-cgi.exe -b 127.0.0.1:1
My live server is running on PHP 4.4 and that gives an incompatibility risk
in problem solving. So I've removed PHP 5 on my test server and have
install
On Jun 4, 2009, at 4:35 PM, Gary Smith wrote:
JpGraph?
Gary
Thanks Gary. I've actually been looking at both "JpGraph" (http://www.aditus.nu/jpgraph/
) and "XML/SWF Charts" (http://www.maani.us/xml_charts/index.php).
However, JpGraphs is one of those that suffers from horrendous
docum
wrote in message
news:4fcc2030-9483-49d9-962c-1849a0987...@mgreg.com...
| Hi All,
|
| I'm currently looking for a quality (preferably open source) PHP
| graphing library that will allow me to create various graphs and plot
| points. I've seen several that do some amazing things, but cost a
| fo
On Thu, Jun 4, 2009 at 2:14 PM, Ed Bukhman wrote:
> Hello,
>
> Could someone suggest the steps needed to troubleshoot the "webpage has
> expired" issue in IE. I have a self-posting php form which queries and
> writes to a pgsql database. Occasionally, when an input is entered, the form
> never loa
Thank you, but this would involve the target (get) page having a bunch of
stuff in the URL, no? I would like to avoid this if possible, not least
because it would allow people to go directly to the get page the next time,
and this would be problematic for my application. Is there a different way
I've just tested it in FireFox 2.0.0.20 and IE6 and it works just fine.
I can toggle the stipes by clicking on the "Toggle Stripes" hyperlink.
See the attached snapshots
PS. I think I'll just update the example to show the zebra stripes by default
as that might be the reason why it appears to
On Thu, Jun 04, 2009 at 01:50:28PM -0700, Michael A. Peters wrote:
> li...@mgreg.com wrote:
>> Hi All,
>>
>> I'm currently looking for a quality (preferably open source) PHP
>> graphing library that will allow me to create various graphs and plot
>> points. I've seen several that do some amazing
Paul M Foster wrote:
On Thu, Jun 04, 2009 at 01:50:28PM -0700, Michael A. Peters wrote:
li...@mgreg.com wrote:
Hi All,
I'm currently looking for a quality (preferably open source) PHP
graphing library that will allow me to create various graphs and plot
points. I've seen several that do some
52 matches
Mail list logo