On 20-06-2012 15:55, Tim Dunphy wrote:
Hello list,
I just wanted to bounce a slight issue that I'm having off you
regarding self referencing a php script. Moving from the
'sendemail.htm' page where a form is used to the 'sendemail.php' page
that is in the form action works fine! But if you rel
On Fri, Mar 6, 2009 at 4:18 PM, Jsbeginner wrote:
> Thankyou for the help,
>
> I will contact the script maintainer to ask him to work on this problem for
> future updates, and for the moment I've commented out the line that
> specifies the length.
> I suppose that it won't cause any problems with
Thankyou for the help,
I will contact the script maintainer to ask him to work on this problem
for future updates, and for the moment I've commented out the line that
specifies the length.
I suppose that it won't cause any problems with files that are sent
through this script that are not gzip
On Thu, 5 Mar 2009 19:14:20 +0100, Nisse Engström wrote:
> On Thu, 05 Mar 2009 15:45:35 +0100, Jsbeginner wrote:
>
>> > header('Content-Type: application/x-javascript');
>> header('Content-Length: '.filesize('test.js'));
>> readfile('test.js');
>> ?>
>>
>> test.js is only a few lines long, and i
On Thu, 05 Mar 2009 15:45:35 +0100, Jsbeginner wrote:
> header('Content-Type: application/x-javascript');
> header('Content-Length: '.filesize('test.js'));
> readfile('test.js');
> ?>
>
> test.js is only a few lines long, and if I remove the header content
> type the file loads instantaniously
marvin hunkin wrote:
Hi.
doing this script for an assignment, and got it basically working.
the only problems are:
1. wen i load the user form, the focus goes to the login button, and not
the first form field.
did try putting one it, did not like it.
so how do i do this?
is there a basic dom
marvin hunkin wrote:
> Hi.
> doing this script for an assignment, and got it basically working.
> the only problems are:
>
>
> 1. wen i load the user form, the focus goes to the login button, and not
> the first form field.
> did try putting one it, did not like it.
> so how do i do this?
That'
marvin hunkin wrote:
> Hi.
> doing this script for an assignment, and got it basically working.
> the only problems are:
>
>
> 1. wen i load the user form, the focus goes to the login button, and not
> the first form field.
> did try putting one it, did not like it.
> so how do i do this?
That'
Thanks for the help John...That's more information than I had before..
I will keep working at it..
Zed
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zedleon wrote:
> > Thank you -- brain freeze..
> >
> > I am getting emply results from print_r
> >
> > Array
> > (
>
zedleon wrote:
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
Don't know what to tell you then. I tried you script on a cgi box here,
and the post variables came thru fine. Only difference I noticed is
that in your path to the script, you're running thru a
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zedleon wrote:
> > I am getting a parse error, unexpected T_VARIABLE
> >
> > you would think this would be easy.
>
> Did you put the sem
zedleon wrote:
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
Did you put the semi-colon at the end of the line?
zed
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
here is the php code i am using as a c
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
zed
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zedleon wrote:
> > here is the php code i am using as a cgi in the cgi-bin
> > This form executes fine, just doesn't get the v
zedleon wrote:
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables for the form.
simple test form at:
http://www.passeycorp.com/gnupg.php
thanks for the feedback.
zed
---
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables for the form.
simple test form at:
http://www.passeycorp.com/gnupg.php
thanks for the feedback.
zed
---
#!/usr/lo
check to make sure you are allowing globals to be accessed in your
php.ini.make sure you are accessing the post/get vars correctly
On 1/16/06, John Nichel <[EMAIL PROTECTED]> wrote:
>
> zedleon wrote:
> > Let me ask this...
> > What is the proper way to configure a php script to run as a cgi?
zedleon wrote:
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
POST/GET variables will work without any added 'tweaking
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
zed
""zedleon"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECT
May I sugest that you assemble the SQL statement in a different way? With
such a big conditional, it will slow down the Sql server.
if ($tit != '') $condition .= "and tit1 like '%$tit%'";
and so on for each search field ...
$sql = "Select *, substring(loc1, 1, 3) as loc1 from openart_tabl
Check out curl, I think it does this. If it doesn't, you have one last
shot to keep it simple by sending the data via GET instead of POST. If
that fails too, you're practically going to have to emulate a browser.
That wouldn't be SO tricky, sending a few POST variables is not *such* a
big deal.
web client
http://www.phpmyadmin.net/home_page/
;-)
Joffrey L Leevy wrote:
Hi:
Going thru some teething problems. Does anyone have a simple PHP program
that will enable mysql queries to be executed and displayed using internet
explorer or another medium?
thanks
--
PHP General Mailing List (http
Hello,
On 10/29/2003 11:05 PM, Ebestel wrote:
I want to send HTML output from a php script as HTML E-Mail "ONLINE" Like
Send this page by email feature.
You may just capture the HTML of the pages, maybe with ob_start() and
ob_getcontents() functions and then send the HTML in an e-mail messages.
look up cron
"Nenad Djordjevic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I have some web application which is on some rented server. I have
not
> root privilege just FTP access to application web folder. OS is
Linux,
> web server Apache/1.3.27 and PHP ve
>but I am wondering if it is at the cost of a slower page loading. The reason
>I think this is whenever I would like to display a variable I have to put in
>a script tag like . I might have as many as 20 of
>these on a page. Every time doesn't PHP have to start again and parse out
>this informatio
I use to do it that way, but i like to be able to see it in Dreamweaver for
more control, not so much Frontpage, I don't know how to use front page. I
hope someone helps me figure this out.
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I understand w
I understand what you're getting at, I'm not sure of the answer though.
I know it would stop you using FrontPage or Dreamweaver but if for example
you had
Index page";
print "Current: $_Current";
print "Percent Change: $_ChangePercent";
print "";
?>
You'd eliminate that problem.
"Christopher Cra
olinux wrote:
>A little off your request, but may be of interest:
>
>Top 21 PHP Programming Mistakes from Zend.com
>http://www.zend.com/zend/art/mistake1.php
>http://www.zend.com/zend/art/mistake2.php
>
Hrm... I wonder if someone @ Zend has messed up their template for
s
The titles are coming
A little off your request, but may be of interest:
Top 21 PHP Programming Mistakes from Zend.com
http://www.zend.com/zend/art/mistake1.php
http://www.zend.com/zend/art/mistake2.php
olinux
> On 07/04/2002 02:24 AM, Jean-Christian Imbeault
> wrote:
> > I am trying to figure out what are some Bad
Sp wrote:
> I thought it was a good site. I was reading up on the security bugs found
> and now I know what not to do.
True. It's just too specific. In order for me to figure out what to do I
need to read every advisory to see what it is about and how to prevent
against that particular probl
I thought it was a good site. I was reading up on the security bugs found
and now I know what not to do.
-Original Message-
From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
Sent: July 4, 2002 2:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP: Script Security: Best coding
Manuel Lemos wrote:
>
> Check out http://www.phpadvisory.com/ .
An ok site but only three articles, of which two are on security. One
article is too general and the other too specific :)
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Hello,
On 07/04/2002 02:24 AM, Jean-Christian Imbeault wrote:
> I am trying to figure out what are some Bad Things (tm) when it comes to
> secure PHP programming and how to avoid them.
>
> I am looking for a kind of "best practices for security" list for PHP
> programming. Do's and Don't, or a
For file uploading:
http://www.php.net/manual/en/features.file-upload.php
For chmod:
http://www.php.net/manual/en/function.chmod.php
For the third question:
php has no restriction where php scripts have to be
put in. so just put the script where you want to upload file.
Hope these can help.
Al
33 matches
Mail list logo