Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is submitted it sends an e
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of the messages get to the destination. I wrote a
I have an array of strings in which I am passing to imagettfbbox() in order
to calculate the height of the text box for each string. I am then
subtracting the height from the y position in order to deviate the pivot
point form the top left corner to the bottom left corner when I used
imagettft
Thanks for all the suggestions. I am going to plan on trying them out just
to see some other ways of making it work. I finally got it to work after
hours of just playing around with the code. Here is what I ended up doing:
for($i=1;$i<=$boxes;$i++){
echo $_GET['name'.$i];
}
Moving the $i i
Just so there is no confusion...I mistyped the line:
$names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),7,1);
It should be a 5 instead of a 7 at the end:
$names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),5,1);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
I dont know it this is possible, but here it goes. Hopefully I cac explain
it well enough for someone to understand.
I am posting data to a php script. I have several variables that are the
same except the number at the end is different. So the url of the called
script will be something like
I got it. After you said I shouldn't need it I started playing around and
found that you were right...I didnt need it for spaces and other
punctuation. But I was then having a problem with amperstands. It was
dropping everything after an amperstand off. I ended up doing a
rawurldecode of $_
character in a filename so I must acount for it. Has anyone previously
dealt with this and might be able to give me a quick work around?
Thanks
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I am trying to use the rawurldecode() function to decode
sable this functionality?
Thanks
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
>> I am trying to use the rawurldecode() function to decode a variable that
>> is begin passed from a different page through the url. Th
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url. The PHP manual doesnt
say much for this function, but it does have quite a bit on the urldecode()
function which says using urldecode on a $_GET variable wont produce
BEAUTIFUL
Thats exactly what I was looking for. I'm not doing anything with MySQL so
I am going to leave Magic Quotes on and just use stripslashes()
Thanks a bunch.
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
Hello,
I've created a simple script that takes in image and draws some lines and
some text on top of it. I am having a problem with the text part of this.
When the string that I am drawing on the image contains and apostrophe ( ' )
there is always a backslash ( \ ) before it. It make sense th
Hey Guys,
I think I fixed my own problem. I tried calling the PHP script from a
different page like this:
This gave me the results I wanted.
Thanks for all your help.
Aaron
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I just wrote a li
might be inserting a space or a newline or ending
> headers or something. Look at error_reporting() or similar in the manual
> to turn error reporting on for your script.
>
> Hope you find the bug, thats quite a nice function you have there.
> J
>
> Aaron Todd wrote:
>>
I just wrote a little script to play around with the GD library but I am
having a problem displaying it in the browser. I have not problem at all
when I just run the script. But I was trying to make the image in a custom
function which will return the image when its called. All I end up getti
I have a loop that is putting the filenames of files in a certain directory
into a listbox. I am then using the onChange event of the listbox to fire a
function. In this script the onchange event sends the function the path an
filename of the chosen file from the list. I have tested what I am
Is there any way yo get the date and time using date() from a Internet time
server? Right now I am getting it from my servers date and time which seems
to be unpredictable since my ISP seems to change it at random.
Windows shows two time servers time.windows.com and time.nist.gov and I was
won
I'm wondering if it is possible to have some kind of script running all the
time. I have a site that collects data that users enter and emails certain
people and does other various tasks with the data. Some of the information
collected contains dates and times that could be up to three months
Does anyone know how I might be able to have php push a file to an FTP
server?
Thanks,
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anyone tell me how secure a session variable is. I realize that if
someone wanted to take the time to break into my site they will eventually
succeed, but I dont want to make it too easy. I have a database that stores
a username and an encrypted password which both are verifyed when the us
27;.$file_name.'"');
> readfile($dfile);
> [/snippet]
> NOTE: $dfile = path + file;
>
> --
>
>
> -->>
> Jasper Howard :: Database Administration
> Velocity7
> 1.530.470.9292
> http://www.Velocity7.com/
> <<-
I've created a download script that works quite nicely. The only issue with
it is that when I download a file where the file name is like "filename
v1.0.2.1.exe" there is some extra characters added into the name when it is
downloaded. So that file will be "filename v1[1].0.2.1.exe". I am
wo
[EMAIL PROTECTED]
> "Aaron Todd" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> I have developed a PHP based site that requires users to login. Their
> login
>> information is kept in a MYSQL database. Currently, I am using an IF
>> stat
I have developed a PHP based site that requires users to login. Their login
information is kept in a MYSQL database. Currently, I am using an IF
statement to verify what the user enters as their password with what is in
the the database. If they are the same a session is created and they have
help with something
this advanced. Is there anything else I can do to further diagnose this
problem?
Thanks again,
Aaron
"Greg Donald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, 2004-08-23 at 13:02, Aaron Todd wrote:
>> I'm trying to use
I'm trying to use readfile() to allow a user to download a file that is
outside of my webroot.
webroot = /var/www/html
downloads dir = /var/www/downloads
Here is the code that I have been using:
$file = "/var/www/downloads/test.txt";
header("Content-Description: File Transfer");
head
I did exactly what you said but its not working for me. I am getting the
following error:
Warning: filesize(): SAFE MODE Restriction in effect. The script whose uid
is 20373 is not allowed to access /var/www owned by uid 0 in
/home/virtual/site341/fst/var/www/html/test.php on line 3
I checked
rect
> the user to a php script, for a certain Status code that is generated when
> authorization is required, and that PHP script can ask nice for a username
> and password that can be used then by the script to allow access to that
> file (but this way might be more complicated wit
I posted a simular question before and never really got an answer. The post
drifted off into some other valuable information, but I still have the same
question.
I am trying to create a site with file downloads. The files on the server
that are to be downloaded need to be protected somehow. I h
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
> > I thought someone might ask me that. I honestly dont know. I have been
> > looking for a comand that I can run to find out, but I havent found one.
I
> > have SS
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
Thanks,
Aaron
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
> > I was just wondering if anyone can look an the following code
AIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
> > I was just wondering if anyone can look an the following code and tell
me if
> > there are any obvious errors. I wrote this in DZsoft PHP editor where
it
> > works perfectly. But then when I run
I was just wondering if anyone can look an the following code and tell me if
there are any obvious errors. I wrote this in DZsoft PHP editor where it
works perfectly. But then when I run it on my webserver it gave me a fatal
error:
Fatal error: Call to undefined function: str_split() in
/hom
Why would this be a security hole if I do not filter the file name before I
use it?
Thanks,
Aaron
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The other guys addressed how to get the script working, but I thought I
> might also mention that you're presenting a potent
could do the same but also run some php scripts.
Thanks,
Aaron Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oad window like it should and then downloads a
file with the correct name, but it is only about 400 bytes and cannot be
read.
Thanks again for your help,
Aaron
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aaron Todd wrote:
>
> > > $file
I was just wondering if anyone out there is using PHP for an embeded
development or knows of any devices that use PHP on their system.
Thanks,
Aaron Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was going to post another follow-up question in a pending thread here but
it seems to have been deleted. Anyway, I am trying to write a download
script that will downloaded files from my site. All these files need to be
protected so just anybody cant come to the site and download them. I have
I was going to post another follow-up question in a pending thread here but
it seems to have been deleted. Anyway, I am trying to write a download
script that will downloaded files from my site. All these files need to be
protected so just anybody cant come to the site and download them. I have
r/www/html/test/ So far under this config I cant get it to
work, but I'm not sure if I'm still under the webroot in my config. Do I
need to move my test directory to lets say /var/www/ or even /var/?
Thanks again,
Aaron
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in mes
TECTED]
> Adding to what Miles says, use the fopen and fread commands (see manual on
> the PHP site) for accessing the PDF files so that you can send copies of
> them to the user. Examples are in the user comments of the manual.
>
> > -Original Message-----
> > At 05:4
PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Aaron Todd" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > So far I have made this work. But now I have to ask...what about a pdf
> > file? I cant add php code to it so what do I do.
ge through something like Google,
> they will be redirected automatically to the login page.
>
> Trust this his helpful - Miles Thompson
>
> At 11:42 AM 8/5/2004, Aaron Todd wrote:
> >Hello,
> >
> >I am trying to build up a members only site, but I need some direction.
Hello,
I am trying to build up a members only site, but I need some direction. So
far I have written a page that will let a user register for access. That
script emails me their info so I can validate it, sends them a "thankyou"
email and then sends the data to a temporary MySQL database table.
"SELECT * FROM temp_users WHERE ID=$id"
Thanks again.
Aaron
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Tuesday 03 August 2004 13:32, Aaron Todd offered up the following tid-bit
of information :
> I like both of these methods...Is
I like both of these methods...Is one of them more used regularly with PHP.
I don't want to start down a road that will eventually dead end if you know
what I mean.
Thanks,
Aaron
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Tuesday 03 Aug
having a link in the email so when I click on it,
it runs a script that will enter all my info into the database.
Any help/suggestions is appreciated.
Thanks,
Aaron
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Tuesday 03 August 2004 12:25, Aaron
Is there any way to run a php script by clicking a link?
Thanks,
Aaron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
48 matches
Mail list logo