On Sunday 30 September 2001 18:23, Armando Cerna wrote:
I have tried system (updatemp) and exec (updatemp)
The system() function requires a string as its argument. So you need to write
it as system(updatemp); or system($files);
Matt
--
PHP General Mailing List (http://www.php.net/)
To
on 9/24/01 10:56 AM, Thomas Deliduka at [EMAIL PROTECTED] wrote:
FORM ACTION=index2.php METHOD=POST
VAR 3: INPUT TYPE=TEXT VALUE=My Var 3 NAME=myvar3 INPUT TYPE=SUBMIT
VALUE=goBR
/FORM
I dont see where the SID is being passed to the next page. I recently
struggled through getting sessions
On Sunday 23 September 2001 17:01, rico wrote:
The problem is in the final formatting in arrayprocr.php. I notice that
whenever a new tr is added to the final table, it gets pushed further
down the page, almost as if a br has been added for each new tr...but
there is not.
I cant look at
On Saturday 22 September 2001 16:41, you wrote:
Hello all,
I'm having some troubles making correct percentages.
I'm writing a simple poll system. Is there an easy way to generate
percentages? I know to divide and all that good stuff. I do substr to get
rid of the decimals, but sometimes
on 8/6/01 7:45 PM, Arcadius A. at [EMAIL PROTECTED] wrote:
Hello !
Is there any function in PHP returning true or false or something similar
when a given host is online or not ?
Basically , I'm in need od something ping
Thanks ...
Just a knee jerk reaction, but what about fopen?
on 8/3/01 4:22 AM, void at [EMAIL PROTECTED] wrote:
stop a file called foo.bar from being downloaded with a web server ?
Say you'r web site's name is foobar.net.
..and...
Script-kiddy Johny knows that,
but also knows that you'r secret file is called foo.bar
and it is saved in the
on 8/1/01 11:01 AM, Angerer, Chad at [EMAIL PROTECTED] wrote:
PHP Hypertext Preprocessor.
Isn't it Personal Home Pages?
I believe that was the original name. But now the first P represents an
acronym itself, as Kirk pointed out, PHP Hypertext Preprocessor.
So as I understand it, it's
on 8/1/01 11:35 AM, Chris Worth at [EMAIL PROTECTED] wrote:
hey gang.
here is my sql statement from my php script.
$sql = UPDATE TABLE seminar SET
title=$title,speaker=$speaker,event_date=$tdate,time=$time,bldg=$building
,rm=$room WHERE id=$id;
strings in a mysql query need to
on 8/1/01 9:57 PM, Kyle Smith at [EMAIL PROTECTED] wrote:
well what if i want to set up the computer im using to be able to run php
acripts, but NOT be an internet server?
You can't. You need a webserver on your computer to run php locally. If
you're running windows98/me you can use Personal
on 8/1/01 4:35 PM, Jeff Oien at [EMAIL PROTECTED] wrote:
I've looked all over and can't find a content-type declaration for text.
This is my guess
header(Content-Type: text/txt);
but I'm not sure if this is right. I know this is more HTTP than PHP.
I want info to be displayed in a browser
on 7/31/01 10:09 AM, Jeremy Morano at [EMAIL PROTECTED] wrote:
Anythig visibly wrong with this?
FORM METHOD=post ACTION=userinfolistbycompany2.php
INPUT TYPE=hidden name=uid value=? echo $uid; ?
The quotes around $uid are ending value prematurely. html thinks value is
? echo
Just drop
on 7/31/01 12:48 PM, B. van Ouwerkerk at [EMAIL PROTECTED] wrote:
Do you really want others to write your code so you can copy and paste it??
If you can't find the manual it's on www.php.net you can even search the
documentation for the word mail.
Actually www.php.net/functionname will bring
on 7/30/01 9:00 AM, B. van Ouwerkerk at [EMAIL PROTECTED] wrote:
So.. for php general help thats:
[EMAIL PROTECTED]
Uhm, this was also in the welcome messages you got when you subscribed.
It's also in the footer of every message posted to this list :)
Matt
--
PHP General Mailing
I've been trying to get this to work all night with no luck. I've gotten a
similar version to work, with the only real difference being I didn't use
mysql (I just plugged some stuff in). But other than that I can't see the
difference. Basically I'm trying to pull stuff out of a database, get an
What I'm looking for is a way to do this such that the user does not see
anything more than http://host.name.here/rams/login.php in their address
bar when it failed...
Doesn't using a form with its method set to post send the variables through
headers? If that's the case, couldn't you
I'm calling an image through a php file, but when I make changes to the
image, I can't get them to show. For some reason the old image is getting
cached somewhere, and none of the standard remedies are working (refreshing,
deleting cache, etc). What does work is changing the value of $icon and
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: php general [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 10:40 PM
Subject: [PHP] auto refresh in every five seconds.
Hi,
I would like to know how to do a auto refresh in every five
seconds.
This isn't php, and
on 7/26/01 10:44 AM, Sheridan Saint-Michel at [EMAIL PROTECTED] wrote:
Besides... do you REALLY have anything so mind bogglingly original in your
code that you have to
go to all these extremes to protect it?
That's what I've never understood about people wanting to hide their source.
HTML
I'm trying to get a simple piece of code involving gd functions to work just
to ensure gd is working properly on my server. I took this straight from my
book. All that comes up is a broken image. I talked with my host and they
assured me gd is installed and working properly on the server. Any
on 7/25/01 10:38 AM, Clayton Dukes at [EMAIL PROTECTED] wrote:
Can someone tell me why this doesn't work?
$home_street = ereg_replace ( , + , $home_street);
The input is 123 happy trail
I need the output to be 123+happy+trail
Not exactly what you wanted, but you could do
on 7/25/01 9:35 AM, Warren Vail at [EMAIL PROTECTED] wrote:
If the gd extension is not loaded each time php is loaded you will need to
cause it to be loaded from your script.
Ok,
I tried this and got gd is not loaded
?php
if (extension_loaded(php_gd.so))
echo gd is loaded;
else
Ah ha, my host was wrong. gd is not installed on the server I'm on, but
they're moving me over to one that has it.
Sorry everyone, but I didn't know enough about any of this to be able to
verify what they told me.
Thanks for all the help.
Matt
--
PHP General Mailing List
What's the method for populating any number of html
form option.../option tags with query results?
I've seen lots of php-embedded examples for CHECKBOX,
RADIO and even SELECT, but I can't seem to figure out
how to create a simple drop-down menu. HELP!!!
Wouldn't it just be:
select
It looks like my attempt to send this bounced. Which is fine, since I've now
got a slightly different question.
I'm working on a network for my site and others related to it. We want to
keep track of which sites are the most popular by having everyone place on
their site something to the effect
on 7/23/01 6:25 PM, Kyle Smith at [EMAIL PROTECTED] wrote:
I made this code for a simple for (the end of it) but what do i change in the
$message variable so there is a new line between each other variable in
$message (ive tried $name. br. $last_name and. happens)
Did you try
on 7/23/01 10:49 AM, Matt Greer at [EMAIL PROTECTED] wrote:
on 7/23/01 6:25 PM, Kyle Smith at [EMAIL PROTECTED] wrote:
I made this code for a simple for (the end of it) but what do i change in the
$message variable so there is a new line between each other variable in
$message (ive tried
on 7/23/01 10:55 AM, Shrout, Ryan at [EMAIL PROTECTED] wrote:
How can I keep fields in a form out of the URL?
I am writing a basic PHP/login script to password protect a directory of the
web site (if anyone knows of something pre-made, please do let me know).
If you're on a unix server
I don't think that's the best subject, but I'm not really sure how to phrase
it.
I'm not familiar with php's image capabilities. I've read about them a bit,
but never really used them.
I'd like to have an image that when accessed would cause php to kick in and
do a few things before sending the
on 7/19/01 9:33 AM, Ali YILDIRIM at [EMAIL PROTECTED] wrote:
Hi;
I am just at the beginning process to php.
My question is:
I type in notepad my php code ok allright but where
will I test this?
I know this is so simple but you know I am new to this
and ...
Please help..
You can
on 7/19/01 10:30 AM, Tom Malone at [EMAIL PROTECTED] wrote:
Netscape will warn the user that the script (javascript) is trying to close
their main window.
True, but JavaScript can't prevent the user from closing their web browser
window, which is the basis of the original question.
For my website I created an updating system in php. Where my staff and I can
write articles that then get saved to the server, linked to, etc. I allowed
html to be passed from the form because a lot of the staff likes to use html
tags in their articles. Which I know is a security issue.
I know I
31 matches
Mail list logo