unk of text won't have any apparent effect.
>
>When you eval() code in a string, that code has to either return()
>something, or have direct effects on its own (such as calling functions or
>setting values). eval() != echo.
>
>miguel
>
>On Mon, 20 May 2002, Leif K-B
he footer file?
>have you tried displaying the contents of $footertext just before you call
>checkmember()?
> does it contain what you're expecting?
>
>-Original Message-
>From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
>Sent: Monday, May 20, 2002 3:23 PM
Ok, I guess I'll send it. Thanks for trying to help. Here it is:
$ip = $REMOTE_ADDR;
$query = mysql_query("select COUNT(*) as rowexists from ips where ip
= '$ip'");
$result = mysql_fetch_array($query);
if(($result['rowexists'] == 0) && ($loggedin)){
mysql_query("INSERT I
erwise they won't be available.
>
>miguel
>
>On Mon, 20 May 2002, Leif K-Brooks wrote:
>
>>Ok, I guess I'll send it. Thanks for trying to help. Here it is:
>>
>>$ip = $REMOTE_ADDR;
>>$query = mysql_query("select COUNT(*) as rowexists f
I think it would be a good idea to have whatever software sends list
messages to the newsgroup block out the addresses.
Miguel Cruz wrote:
>If you're concerned and don't have effective anti-spam filtering on your
>email box, I'd suggest coming up with a second address to use for "public"
>pur
Does php support server push? I am trying to make a real-time chat.
Would server push be the best way, and if so, how would I do it?
Thanks for any help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't know about msSQL, but in mySQL you can do something like
$sql = "SELECT * FROM brands WHERE 1 GROUP BY field ORDER BY `sId` DESC LIMIT 6";
Philip J. Newman wrote:
>Only one value from a msSQL field.
>
>I have many values the same in a field and would like to know how i can select one
I was wondering if there's any way to display a value to the user that keeps
changing? I know about flush(), but that just prints it out before the
script ends, but doesn't display it in one place. Is there a way?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
I'm planning to make a forum built into my site. I know all of the forums
have bbcode, and I doubt they all programmed it themselves. Is there
somewhere I can get the code for bbcode?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I read the tutorial for it on the php-gtk site, but I didn't see a thing
about how to run it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It keeps telling me that when I try to run php-gtk. Can someone tell me
where to get this .dll from? Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 2/27/02 2:09 AM, Leif K-Brooks at [EMAIL PROTECTED] wrote:
> It keeps telling me that when I try to run php-gtk. Can someone tell me
> where to get this .dll from? Thanks
Well, I found that dll, but now I'm getting another error. "The PHP4TS.DLL
file is linked to
I'm looking for two functions. One to scramble a string, and one to check
if one string is a scrambled version of another. Does anybody have these?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 3/1/02 2:43 AM, Monty at [EMAIL PROTECTED] wrote:
> Maybe try looking into the crypt() or md5() functions on php.net. These will
> encrypt a string more than "scramble," but maybe one of these serves the
> purpose.
No, that isn't what I'm looking for. It's not for encryption. I just need
a f
I'm thinking of switching my website t whizhost (http://www.whizhost.com/).
It has more features than my current host, and is a dollar a month less.
Has anybody ever used them? Please tell me if they were good or not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
I have a site with logins, etc. I was wondering if there's any way to see
how many users are logged in. I know I could change a database and add one
to a number when a user logs in, and subtract one when they log off, but
what if they just go to another site or close their browser?
--
PHP Ge
I have a script that allows the user to upload a file. Right now, though,
it says permission denied when I try to upload. The permissions for the
folder I want to upload to is 755 right now. What should I change it to?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Right now, I have a static server time clock on my page, produced by date().
I would like to make it move, and I was wondering if anyone has code that
returns the server time to javascript to animate it or something?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
I need a function that encodes stuff, with a key. It, of course, needs to
be decodable too. Does anbody know/have a function like this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 3/19/02 2:28 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
On Tue, 19 Mar 2002, Leif K-Brooks wrote:
> I need a function that encodes stuff, with a key. It, of course, needs to
> be decodable too. Does anbody know/have a function like this?
http://www.php.net/manual/en/ref.mcry
I'm doing some replacing with str_replace, but it's case sensitive. Is
there any way to make it not case-sensitive?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 3/20/02 12:24 AM, Martin Towell at [EMAIL PROTECTED] wrote:
use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists, but
the former function does)
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:16 PM
To: [
I have a variable name in a print <<< END and then some text after it. The
thing is, php thinks that the text is part of the variable name, which makes
the variable, and the text after it, not show up. But, if I put a space, it
makes my html not work right. Any ideas?
--
PHP General Mailing
I run a site where users can, among other things, adopt virtual pets. I
have several admisistrators on the site, and I am trying to create a thing
that adds a new pet species through the administrator control panel without
me having to ftp it. It takes four files: red happy, red sad, blue happy,
I run a site where users can, among other things, adopt virtual pets. I
have several admisistrators on the site, and I am trying to create a thing
that adds a new pet species through the administrator control panel without
me having to ftp it. It takes four files: red happy, red sad, blue happy,
Is there one?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have to wait for my host to compile php as binary for cron to work with
php, and a lot of things on my site depend on cron. Does anyone have some
sort of code that I could put at the top of all my pages so when they get
visited, it checks to see if a script has been executed yet this time
petio
on 4/7/02 9:31 PM, Justin French at [EMAIL PROTECTED] wrote:
This is the wrong group/list for this post.
The disabling of bars, or any sort of browser feature/appearance is NOT PHP.
PHP is a server side langauge. Commonly, you would use JavaScript for such
stuff, so I recommend you check out t
I want to ban javascript from my site (users can edit some things). I know
how to ban it in
I have an interactive website, with forums programmed by me. They have
smilies, and I'm trying to make a way for users to be able to type smilies
without them changing to images if they want. I'm trying to make it so if
they type "NOSMILE:)" it will remove the NOSMILE and not display the smiley
[EMAIL PROTECTED] wrote:
is there in PHP a function that create a new directory on server
This is a serious case of needing to RTFM. www.php.net/mkdir
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
501 - 531 of 531 matches
Mail list logo