I have a script which adds header information to a different page, on my
server I get a Cannot add header information - headers already sent by.
But on other servers it works fine, does any1 know why??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
no i tried that :( i think it somthing with my apache server
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have been trying to solve the problem of using session variables, but I
have not had any luck. What I want to do is simple, I want to set my userid
and password in a login screen and use it later (in another php form) to log
into the database.
In my login PHP file I have the following:
if
Tom,
I do have a session_start() in both files, but it does not seem to help.
- Larry
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 12, 2003 11:36 AM
To: Willie G
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] SESSION variable to pass login ID
Hi
et($_POST['pword'])))
{
$_SESSION['user'] = $_POST['userid'];
$_SESSION['password'] = $_POST['pword'];
}
That should work.
"Willie G" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Tom
I had an idea myself to do this. But I've held off because I want to do
something rather robust but still flexible.
I was going to use a database table.. with the fields.. to.. from..
subject.. body.. etc
I was then going to have a cron task that ran every so often grabbing the
records 1000-
Zydox,
Please define 'sub-interest'. I've looked at what Uttam gave you, and it
looks correct, assuming you want want it limited to the same user. If you
result should be 'all with Interest = X and Valid = Y", just remove the
userid from the second query.
SELECT
InterestsList.ID, InterestsList.
ruary 15, 2003 11:01 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: SQL Query
The result recived from that query is this
ID SubID Interest Valid
Edit Delete 4 3 Star Craft 1
But I want a Query that retrives
"Star Craft", "Strategi", "Spel" and &qu
Phillip,
You will have to change your code, so the primary key is not an auto
incremented value. If you don't, the auto increment will over-ride the 'get
next' function. Here is what I use in my code. You just need to change it
for your table.
//- GetNextKey -//
function getnextkey(){
Miles,
I never use auto increment. Not because of gaps, but in case I need to
reload the table. They do have meaning if they are foreign keys to another
table.
- Larry
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 16, 2003 1:14 PM
To: Philli
Please help I am going quite mad.
I am trying to install PHP-4.
I purchased the PHP and MySQL web development book to this end.
I am running under Win2000 and IIS.
I downloaded from the PHP web site to get the latest versions.
I first tried to do a manual installation but this appeared to fail so
Hi,
I am getting a weird session problem in my site.
Background of the Problem:
--
My site use sessions for user authentication. Site has a Admin Panel where
admin can search users and then through a link
(which has login and password appended) login as user.
On login as
Hi Readers,
Heres what i'm trying to achieve:
A script, that uses multiple fsockopen()'s and simltaniously get feedback
from each socket from fget()s. Now, since using a single fget() needs to be
in a loop then it's not possible to have more than one loop going at the
same time.
I was thinking o
Just curious as to what the general consensus of opinion is on the following
class. Do many of you use it?.
http://php.weblogs.com/ADOdb
Coming over to PHP from ASP (I'm not really interested in learning .Net at
the moment) I like that I can switch databases allot faster if the need
occurs by us
DB tools (getting better every version)
http://www.dbtools.com.br/EN/
Cheers
Brendon
-Original Message-
From: Ernani Joppert Pontes Martins [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 6:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: after mysqlfront?
Mascon or Free Masco
I don't know how familiar you are with PHP yet.
But I recently decided to learn PHP myself having already learnt ASP.
These 3 things helped me the most.
This is a summary of the language differences between PHP,
JScript/Javascript and VBScript
http://php.weblogs.com/php_jscript_vbscript_1
ADOdb
I was looking over a tutorial on Php builder on making search engine
friendly sites. While i got the concept of the tutorial and have it
working here. I was wondering is it possible to get a php script to run out
of the home directory of apache.
tutorial: http://www.phpbuilder.com/columns/tim19
Can't you just call the contents of the page into a variable and extract
what you need with regular expressions?
Php / Html makes no difference its all text to fopen..
~
> is there a way using fopen() or something similar t
I use the following function for my check boxes in forms in PHP.
Putting your form element creation into functions or even classes makes life
so much easier when you have to validate / change code.
you'll be glad you did it
Cheers
Brendon
function fncwriteformcheckbox($strname, $strid, $strv
In the end it think comes down to use what you know best..
Php vs ASp vs JSp vs .Net
consider your budget, clients needs, bosses needs, future needs etc.
I came to Php as .Net came in. I really like Php, i also really like ASP.
I learnt ASP first because my job required it, we had a IIS server
If it's just the browser caching are you able to use something like
graph.jpg?cachebust=something random here like a datetime or something.
I'm not familiar with the way your doing it.. but I guess it has to be given
a name to the browser somewhere doesn't it?
I use this on pages and images as we
Hi people!
I have MySQL working with ASP under win2000 and IIS. I have recently
tried unsuccessfully to install PHP. Initially I started with zip binary
distribution. I tested it with:-
PHP Test
"; ?>
Couldn't be much simpler!
Nothing worked but "view source" showed the above code. Th
I've noticed this question a fair bit, having to convince clients and
employers of a technology.. DO you guys really have that much trouble
selling php??
I tend to leave the development environment out of conversations all
together and talk product features, scalability, promotion etc
I do this
ED]> wrote in message
news:2002060718.30648.qmail@;pb1.pair.com...
> What u had done to install PHP
>
> added a dll module in IIS or Mapped the php.exe to .php and .php3 or .php4
>
> Prachait
>
> Bob G wrote:
>
> > Hi people!
> > I have MySQL wor
http://www.google.com/search?q=meta+refresh+html+code
Google is your friend.
Cheers
Brendon
-Original Message-
From: Shaun [mailto:johan@;novtel.co.za]
Sent: Monday, November 11, 2002 9:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] refresh
hi,
How do you refresh a page in php?
If i can
*slaps head*
*screams*
feel better now *gets back to work*
Cheers
Brendon
-Original Message-
From: Karl James [mailto:karl.james@;verizon.net]
Sent: Thursday, November 14, 2002 3:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with project
Hello people
Im doing the fantasy footbal
y alert.
The doc_root = is as InstallShield installed it. I have tried C:/PHP with
no change in results.
Could someone please explain what I am doing wrong and suggest a solution.
Many thanks Bob G.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not that I've ever used them but wouldn't Sockets be a good place to start?
Cheers
Brendon
-Original Message-
From: Morgan Hughes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 17, 2002 4:40 PM
To: PHP General List
Subject: [PHP] Unusual HTTP header control
Hello list, I'm hoping
ProHosters
http://www.prohosters.com
Good plans, Good Price, Great Support.
I recommend the semi dedicated plans.
Cheers
Brendon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
My session variables won't persist, could someone help me with this problem?
I spent all day trying to figure out what is wrong, and I still don't know
why I couldn't get it to work. Here is an example script:
";
echo "session var: ".$_SESSION["var"]."";
fnB();
function fnA(){
$_SE
llas <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP] PLEASE HELP! session variable fails to persist!!
>Date: Sat, 15 Jun 2002 01:05:47 +0100
>
>On Saturday, June 15, 2002 at 12:53:47 AM, Zlutarch G. wrote:
> > The session ID is the same for a given sessio
Zlutarch
>From: Stuart Dallas <[EMAIL PROTECTED]>
>Reply-To: Stuart Dallas <[EMAIL PROTECTED]>
>To: "Zlutarch G." <[EMAIL PROTECTED]>
>Subject: Re[2]: [PHP] PLEASE HELP! session variable fails to persist!!
>Date: Sat, 15 Jun 2002 01:32:51 +0100
>
>On Sa
!
>Date: Sat, 15 Jun 2002 01:49:40 +0100
>
>On Saturday, June 15, 2002 at 1:42:45 AM, Zlutarch G. wrote:
> > I tried your script, but I couldn't get it to work. I guess it has to be
> > something wrong with my server configuration? I am using Apache 1.3.14.
>I am
> &g
need to
set "internal encoding", and/or also setting the "character set". My web
site is on a virtual host, and I don't know if I have access to make
such adjustments.
Can someone please explain in beginners terms how do I set up my
PHP scripts to enter Japanese kanj
le" loop would ever stop
running. Nothing seems to change $subscriber within the "while" loop's
control structure. It doesn't ever say anything like "$subscriber ++1".
Nor does $result have anything act upon it which would change it. So to
me they both look static, a
dditional comments on the use of mb-send-mail(), but the
technical vocabulary is beyond me.
Can someone help me tweak this code to successfully send a kanji
email?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;.$message ."\nThis message was
sent to [2]" .$member;
mail($member[2], $subject, $mailcontent, $fromaddress);
}
Why is this not parsing?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
misleading!
In any case, I very appreciative of the many valuable tips
offered, and I believe tightening up the code as suggested by people on
this list helped me see my script better and isolate the problem.
Many thanks to David, Jay, Hanuska, Leif, and Teren for their
comments!
--
Chee
L database.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
panese language.
Optimistically looking forward to seeing more technical discussion on
how to accomplish this.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that means searching the whole database table roughly 30 times each time
the page is accessed, and that can't be right. I'm sure this is better
handled with arrays, but I can't quite figure out the logic and the
commands.
Can anyone help me out with this?
--
Cheers!
Dave
onstruct a for() loop in order to get the results of multiple rows into
an array. But that seems unnecessarily complicated. Is there no command
to take multiple rows and place them into an array?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
posed to work. I can't see what's
wrong. Am I not declaring the array correctly? Is there some simple
error that I'm over looking? What's going on?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.devshed.com/Server_Side/PHP/MilesToGo/page1.html
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
array()?
Just thought I should mention this to Jay. Yes, I had been
alternating my experiments with mysql_fetch_array() and
mysql_fetch_row(), but the results, were exactly the same (or close
enough that I don't remember otherwise). So I suspected that the problem
lay elsewhere and didn
ROTECTED]
If I remove the hyphen, like so:
[EMAIL PROTECTED]
Then it passes.
Looking at my eregi() function, I've included hyphens as a valid
character, and escaped them out with slashes in order that they work
within the square brackets.
Why would this
PROTECTED]', $email)
Correct?
> 3. I don't think a hyphen is even legal in an email address...
If it wasn't, the user couldn't have emailed me to tell me that he
wasn't having success in registering on my form. Or could he?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
(!eregi('[EMAIL PROTECTED]', $email)
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s.
; Default is "&".
;arg_separator.output = "&"
; List of separator(s) used by PHP to parse input URLs into variables.
; Default is "&".
; NOTE: Every character in this directive is considered as separator!
;arg_separator.input = ";&"
; T
That's a pretty hefty read, but it looks useful to have around for a
reference. Thanks!
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
time zones.
Lots of information about how to format times, but not very clear about
how to make the database take on a time zone. If anyone has pointers on
that as well, that would be greatly appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
various time zone codes, but I haven't come across any
reference on the web which tells me what that list looks like. So,
question two is, how can I tell which is the right code to set "TZ" to?
"JST"? "Japan"?
Your help is much appreciated.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pt, but, according to my web hosting service, that
is impossible to set for just my site without affecting all the other
sites on the same server.
So I need to compensate for different time zones between my
script and my MySQL server. But I can't figure out how to do that since
I do
This is, I suppose, a completely off topic thread. However, I just
read the web page
http://www.unicom.com/pw/reply-to-harmful.html
and I was completely unconvinced. In all the years that I have belonged
to and run mailing lists, I have never experienced any difficulties.
Period. Never. It has be
ne of the debate. The idea of an
authority on a matter that is incapable of considering alternate
viewpoints seems oxymoronic to me.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ver what is the default behaviour. I
maintain that the point of a list is to have open discussion, that
people join precisely for the advantage of participating in a group, and
so the postings should default to going to the group, with secondary
options for posting off list.
--
Cheers!
Dave G
[EM
s in it, seems to run
contrary to the reasons I joined. That is where I am starting from, it's
got nothing to do with anyone's choice of software on either the client
or server side.
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dave T-G said:
> Perhaps you've simply missed the point. By not mandating a certain
R-T
> header the list software does not force "reply-to-author" but instead
> simply allows whatever reply you want.
And Jason Wong said:
> Simply put, there are mail clients avail
I'm on XP. I would change over to Linux in a heartbeat if Adobe
products were available on that OS, but alas, they are not, and the GIMP
is, by their own description, not a Photoshop killer.
I'm considering the Opera M2 mailer, but it looks kind of immature.
--
Cheers!
Dav
r phrasing which will allow a search
engine to help me find it.
Can someone please point me in the right direction?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s to the database
as possible. Is that a correct assumption, or am I wrong there?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27; ";
> }
... is faster than this:
> "SELECT email FROM table WHERE id IN ('" .
> implode("','",$array) . "')";
... ?
--
Cheers!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
AL is the command I want to use. Is what I'm
after something like the following (I put in question marks where I'm
not sure how that variable would be formed)?
SELECT date(?) FROM table WHERE DATE_ADD(now(?), INTERVAL 72
HOURS)
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
> Why is this test failing?
> If (ereg("^[a-zA-Z0-9\s.\-_']+$", $data)) {
I'm very new to PHP, so I may be barking up the wrong tree, but what is
that "s" doing after the slash? I don't know if it's the cause of the
problem, but as far as I know i
know.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;;
$insertPPResult = mysql_query($insertPPQuery);
unset ($HTTP_SESSION_VARS['$episodeTitle']);
unset ($HTTP_SESSION_VARS['$episodePP']);
echo 'Your episode, "' . $episodeTitle . '", has been saved. Would you
like to add another episode?';
}
else
{
ech
t
variables. And so quickly, too!
Much appreciated!
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uery2 = "SELECT email FROM members WHERE active = yes AND
member_id =" . $query1Results
But surely there's a way to collapse this into one MySQL line.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris,
Thank you! I will look on the net for "left joins", which is a
bit new to me, and I'll join a MySQL list, since I can see I'm going to
have more MySQL questions in the future.
Your reply is much appreciated, especially since it came so
fast!
--
Yoro
ized information? Is it
the mail() command that takes time, or the mysql_fetch_array(), or both?
Any suggestions would be greatly appreciated.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
er the @
mark. Is it that there are two many periods?
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ill look into using them. Thank you for the
link.
--
Yoroshiku!
Dave G
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
1 - 100 of 1106 matches
Mail list logo