I went to their homepage, and couldn't find a link to download
the actual program, just some example stuff, and it says "coming
soon"... Is it out there somewhere and I'm just retarded, or are
you mob on a beta list or something???
Gfunk
My name was Brian McGee,
I stayed up listeni
> $s = sprintf("%s", implode("\n", file('template.php')));
Why this??? It's redundant, isn't it? Wouldn't
$s= implode("\n", file('template.php')); do it?
Gfunk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
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 PROTECTE
$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()...
Gfun
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
I have a working javascript system for this, email me anybody if you want
it.
Note - It's a hulluva lot harder than you think to write
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message
I've got one you guys can have, email me anybody who wants it.
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message -
From: "DanO" <[EMAIL PROTECTED]>
To: "Php-General@Lists. Php. Net" <[E
- Original Message -
From: "Jade Ohlhauser" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 1:40 PM
Subject: Re: [PHP] mixing HTML and PHP code
> IMHO even better is:
> input_text('hello', 20, $value);
>
> that's how that would appear on our site. We
How's it handle scripts that call eval()?
Gfunk
My name was Brian McGee,
I stayed up listening to Queen,
When I was seventeen.
http://www.gfunk007.com/
- Original Message -
From: "George Schlossnagle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Janua
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
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 intoxica
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 -
rs to... suffering.
- Original Message -
From: "Alexander Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 1:01 PM
Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED
> Josh G wrote:
> > Unlink works on some installations, not others
s to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "'Josh G'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 1:17 PM
Sub
ail me
my
> passwd in case Ive forgoten it. ICQ.com even does this.
>
> Chris Lee
> Mediawaveonline.com
>
>
> ""Josh G"" <[EMAIL PROTECTED]> wrote in message
> 00e401c07f60$f325c2a0$0e01a8c0@swinger">news:00e401c07f60$f325c2a0$0e01a8c0@swinger...
&
PROTECTED]
> Subject: Re: [PHP] password() ::: and it's return...
>
>
> sites do though. many sites allow me to click some link and they email me
my
> passwd in case Ive forgoten it. ICQ.com even does this.
>
> Chris Lee
> Mediawaveonline.com
>
>
> ""J
You can always use the simple str_replace or my old fave,
$newstring=implode($withthis,explode($this,$oldstring));
replaces all instances of $this with $withthis in $oldstring
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication t
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... suf
Strewth! that's 4g/second at full strength! I'd say that's a fair bit more
than all the links out of my whole bloody country!
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
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 ""
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers t
they're automagically converted to global variables.
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... suffering.
- Original Mes
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 -
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 to
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 to
Instead of:
> Action application/x-httpd-php-source "/php4/php.exe -s"
> AddType application/x-httpd-php-source .php4 .php .inc .htm
why not:
> Action application/x-httpd-php-source "/php4/php.exe
/path/to/showsource.php "
> AddType application/x-httpd-php-source .php4 .php .inc .htm
and using
And the answer was?
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: "Matt Stone" <[EMAIL PROTECTED]>
To: "Matt Stone" <[EMAIL PROTECTED]>; "PHP L
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
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 t
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 -
F
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 -
F
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
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" <[EMAI
easy - http://www.yourserver.com/path/to/yourfile.php?v1=foo&v2=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 s
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 bee
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 to...
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 Message
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: Thur
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 has
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 PR
intoxication 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???
> >>>>>
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 ex
and one place where everybody on the list could post their resumes
in a little database that sorts by country / state?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Origina
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. Beer
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 sudd
most c compilers are self-hosting. iirc it's one of the best tests of
your compiler.
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: "John Hinsle
Sorry about this, but can somebody please remove this guy from
the list? I'm tired of getting this email every time I contribute.
Cheers,
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... sufferi
.
- Original Message -
From: "Michael Kimsal" <[EMAIL PROTECTED]>
To: "Josh G" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 4:12 PM
Subject: Re: [PHP] Pricing for PHP programming???
>
>
> Josh G wrote:
>
> >
> >
> > It
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 pag
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" <[EMA
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 as
-
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 t
> 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 a
If replacing " characters for output to html, don't replace them with ''
(two single quotes), replace with the magic value " (including
the semicolon), which is a special html entity that means "put a
quotation mark here"
Search google for html entities for more.
Gfunk - http://
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: "Jaso
Hi,
I'm wondering what're the best classes available for reading/
sending emails?
I want to do a webmail solution (for myself at first), and don't want
to use IMP. I'd need to be able to handle attachments as well.
Any pointers?
Cheers,
Gfunk - http://www.gfunk007.com/
I
uot;Thor 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 fi
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 - http
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 (http://www.php.
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 varchar(2
hangovers, 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] my
, I really 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" <[EM
65 matches
Mail list logo