Hi guys, I'm having a problem with file uploads, and I can't seem to
fix it. I'm on IIS using php as an ISAPI module on NT4, and file uploads
seem to work, but $userfile does not exist. Any ideas on how I can
fix it?
userfile:\\php8
userfile_name:notes.txt
Cheers,
Gfunk -
PHP has encountered an Access Violation at 10014D15
What the crap does that mean?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
--
PHP General Mailing List
Hi, sorry to post this here, but it's driving me crazy. On my local
machine, the following works no furys:
create table category (category_id integer primary key auto_increment,name
varchar(255) );
But on the production machine, I get:
ERROR 1064: parse error near 'auto_increment,name
, and hangovers to... suffering.
- Original Message -
From: "David Robley" [EMAIL PROTECTED]
To: "Josh G" [EMAIL PROTECTED]; "PHP User Group"
[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2001 11:41 AM
Subject: Re: [PHP] mysql problem
On Tue, 20 Feb 2001 10:57, Jos
do.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Josh G" [EMAIL PROTECTED]
To: "PHP User Group" [EMAIL PROTECTED]
Sent:
hor M. Steindorsson" [EMAIL PROTECTED]
To: "Josh G" [EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 10:15 AM
Subject: RE: [PHP] Here you have, ;o)
I agree with the vbs part, unfortunately windows is set by default to hide
file extensions of known file types, meaning the p
Actually IIRC pushing open a door that's ajar is not breaking and
entering, but trespass :)
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From:
If replacing " characters for output to html, don't replace them with ''
(two single quotes), replace with the magic value quot; (including
the semicolon), which is a special html entity that means "put a
quotation mark here"
Search google for html entities for more.
Gfunk -
So, If I create a 3D-program, I could say that file extensions for this
program will be .pdf (not a prefered extension, but still)?
Is it more a question of getting your file extension as widely used as
possible, so other companies dont bother using them, since most computers
have them
Just a thanks to everyone on this list, for being helpful, and for
being tolerant. It seems it's a rare thing these days.
Just thought I'd let you guys know, that back when I was learning
PHP (i'm a bit of an old hat by now), this list really helped me out,
so now I'm try to contribute as much
-
From: "Jericho Barimen" [EMAIL PROTECTED]
To: "Josh G" [EMAIL PROTECTED]
Sent: Wednesday, February 07, 2001 9:39 AM
Subject: Re: Just a thanks
[snip]
Hello everybody,
I would like to ask you for some help with PHP. I am a
newbie both to the list and to PHP. I try to l
What's this ruby? Care to send the list a URL so we can go have a
look for ourselves?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Lux"
number_format($number,2);
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "[ rswfire ]" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
I hear you. Another thing that's hard to find, is somebody who is a
good programmer, and a good graphic designer. I don't really know
any, apart from myself, and I've been just shy of being called a lying
scumbag by a few HR companies over the years when they look at
my resume ;-)
This thread
http://www.php.net/quickref.php is probably the best you'll get. no
descriptions, but it _is_ a list of all the functions.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
-
try the jargon file, it will tell you more about where foo came from.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Rouvas Stathis" [EMAIL
to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Robin Vickery" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 01, 2001 3:43 AM
Subject: Re: [PHP] Pricing for PHP programming???
"JG" == "Josh G" [EMAIL PROT
It is what you're looking for, you just need to think it through a little.
instead of
$chk_$row["field"]
try
$foo = "chk_" . $row["field"];
$bar = $$foo;
or if you're trying to do something else, you may need
$foo = "chk_" . $row;
$bar = ($$foo)["field"];
as I'm not sure which order of
True for PHP+Mysql, but not for all databases. Oracle for example,
will run out of cursors in a week or two on a low-traffic site if you
don't close them and the db server will need a kick in the nuts to
get back up
Gfunk - http://www.gfunk007.com/
I sense much beer in you.
rant
It comes down to one simple thing:
You cannot know how much a project is worth to a client. If they're
willing to pay you $5000, it's worth $5000, wether you think it's worth
$500 or $5. If I buy a pack of basketball cards for $2 that has
ten cards in it, then they're worth 20c each. If
Depends on your mailserver. Most mail servers can redirect incoming
mail to a program, I know sendmail can. In your case just make the first
line of your script #!/path/to/php/bin/php and that should do the trick.
Sorry I don't know how to make sendmail do it, only that you can.
Check the man
easy - http://www.yourserver.com/path/to/yourfile.php?v1=foov2=bar
will create two variables, $v1 and $v2, with the values of "foo" and "bar"
respectively. note that the first variable is preceeded with a ?, all others
afterwards with an .
Gfunk - http://www.gfunk007.com/
I
by the way,
if ($foo = $bar)
will return true simply if $bar is not null, i think you want
if ($foo == $bar)
thought I'd point that out, cause if you don't know return that nasty
one would probably bite you on the ass next :)
Gfunk - http://www.gfunk007.com/
I sense much
Not *sure* i understand the problem, but this may be the solution:
$foo = "hello";
$bar = "foo";
$foobar = $$bar;
$foobar now contains "hello".
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers
haven't seen one, but it'd take 10 minutes to write. if i had a php install
here at work I'd do it for you :)
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original
pulling it out of my ass, but try:
$today = getdate(time()-(60*60*24))
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Chuck Barnett"
Of course, you have this code:
while ($prescene2 == 0) {
$i=$i+1;
}
Where $prescnene2 is not modified, hence you get an
endless loop. When you increase the timeout, that loop
just gets longer to run.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to
There's no filename length, but the url string (even for POST I belive)
must total 4096 characters.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
str_replace()
I think the syntax is
$foo = str_replace($old_foo,"http://www.something.com","");
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
No, no damn way, and besides, I can alt-prtscn and paste it into
something else and print from there anyway.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message
best kind of networks, those RAID networks. Much better than
STRIPE printers
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Richard Creech
Yeah, it used to be called PHP/FI for Personal Home Page / Form
Interpreter I do believe. Not sure about the "Interpreter" but I think
that was it.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers
Just build an assosciative array like so
$arr["person1"] = "string1";
$arr["person2"] = "string2";
$arr["person3"] = "string3";
$arr = asort($arr);
this should do what you're looking for.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads
True, but iirc it's not xml compliant, and might not be a good habit,
and it then leaves you without the option to use it in JS calls, like:
echo "a href=\"#\" onclick=\"do_something('withthis')\""
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to
they're automagically converted to global variables.
input type="text" name="foo"
becomes $foo on the page you're submitting to. Nice, wot?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to...
can't think of exactly the math, but get the weekdayday of the 1st,
divide how many days in the month/7, and it should be easy enuff.
use a combination of date() and mktime() to get the first day of the
month methinks.
Gfunk - http://www.gfunk007.com/
I sense much beer in you.
Nice... has a lot of cool ideas in it, a few of which I'm also working on
for the templating part of a content management system I'm working
on in my spare time (like compilation, except i'm going to do it at
save-time, not 1st run-time, since i control the publishing functions).
Gfunk
Sounds good, I for one would like to see it.
Can it revoke permissions? Can I have access to all of /admin but
no access to /admin/delete ??
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to...
Unlink works on some installations, not others. I think it works on NT
but not 95 or perhaps the other way around. Why is this? Unlink is
hardly an unsupported system call in windows! Anybody know?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to
I'm not sure I understand the question. What exactly do you mean? Are
you talking about returning it from the client already encrypted? Not sure
if anybody does that, as JS doesn't have a whole lot of useful encryption
stuff in it, and iirc the md5() algorith is rather lengthy.
Gfunk -
yeah you can do that, don't know about other phones, but for nokia
you need the cable, a phone with the appropriate plugs (ie a 5xx0 /
6xx0 / 7xx0 / 9xx0 model phone, not a 8xx0 or 3xx0 model), and
the nokia data suite or free alternative if they exist for your operating
system.
Gfunk
My
Another technique is use a quick-and dirty save of one line to a text
file, and have a cron script or somehting similar simply run every
day or every few hours that reads from your home-made log into a
db table, and then empties the file.
Gfunk
My name was Brian McGee,
I stayed up
exp(num,pow) i do believe. of course this is off the top of my head
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message -
From: "Ian LeBlanc" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
$s = system ("/usr/local/whatever/php/bin/php /path/to/your/file.php");
This should be what you're after. In PHP4 there _may_ be some way
to use the inbuilt buffering for that purpouse, but I doubt it.
Perhaps this could be added to the language? It would be a good
counterpart to eval()...
If the system() doesn't return something, try using the backticks (left of
the 1
key) like so:
$s = `/path/to/php /path/to/yourfile.php`;
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message
Cool, didn't think you could do that. Well never mind me then ;-)
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message -
From: "Matt McClanahan" [EMAIL PROTECTED]
To: "Kristofer Widholm"
46 matches
Mail list logo