My mail out script
font size=5Email out/font
?php
include../../config.php;
$sql = SELECT * FROM hyperlinks ORDER BY `id` ASC;
$sql_result = mysql_query($sql, $connection) or die (Could not get
Query);
while ($row = mysql_fetch_array($sql_result)) {
$id = $row[id];
$small_text =
OK, I checked into this further, and I must apologize: you are correct.
I suspect that most of us didn't remember that this feature even
existed...
You don't have to apologize. And indeed... I don't get the idea that
many people know about this. Besides you and maybe one or two others
I
I'm trying to make a search engine for my database of links. I have been using the
following.
SELECT * FROM `hyperlinks` WHERE 1 AND `keywords` LIKE '%$getme%' ORDER BY `id` ASC
LIMIT 0, 30
if $getme = big trees
then it would only search for key words that are there same big trees not for
On Thursday 14 February 2002 16:38, Philip J. Newman wrote:
I'm trying to make a search engine for my database of links. I have been
using the following.
SELECT * FROM `hyperlinks` WHERE 1 AND `keywords` LIKE '%$getme%' ORDER BY
`id` ASC LIMIT 0, 30
if $getme = big trees
then it would
hi everybody,
i have several strange messages in my error_log.
[Thu Feb 14 08:37:45 2002] [info] [client 62.109.66.85] (104)Die
Verbindung wurde vom Kommunikationspartner zurückgesetzt: client stopped
connection before send mmap completed
[Thu Feb 14 08:38:47 2002] [info] [client 62.109.66.85]
Tv Karthick Kumar [EMAIL PROTECTED] schrieb im Newsbeitrag
004d01c1b52e$b3939040$[EMAIL PROTECTED]">news:004d01c1b52e$b3939040$[EMAIL PROTECTED]...
Oh, ok when did PHP started celeberating valentine's day ?!?!?!?!?!?!!
Karthick
not boys only
working on php future
;-)
regards Pet(e)r
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
I am planning a script that will send mail to all my clients
(potentially up to 1, even more clients)... I figured I can loop a
mailer script for every client (I don't want to have more than one email
address per message in the
Hello,
How can I decode encoded text/numbers in my phpMyAdmin? I looked at
BASE64, but thats not it. Any help is great. Thanks
Example: 8e73b27568cb3be29e2da74d42eab6dd
--
- Dave
Visit http://www.geocities.com/earthtohorny for info on Computers and
Upgrading.
--
PHP General
Hi every1,
I've been playing around with template.inc out of PHPLib.
Now there's just one question dwelling in my head.. is it possible
somehow to get the server to parse any html-file that is requested.
example: user requests file index.html, index.html is parsed thru a
standard template to
Ello all!
Whazzup?
Ok, I'm over it. Now...
Does anyone know how to set up MySQL, or phpMyAdmin to restrict users to a
single database? For instance, the user JoeBlow...
Joe has a database called JB, I want him to have full access to it and
nothing else. How would I go about doing this? I'd
Hey mate,
There's several template engines out there, Take a look around here:
http://www.hotscripts.com/PHP/Scripts_and_Programs/Content_Management/
Hope that helps ya!
- Lum
- Original Message -
From: Truniger, Stefan Martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
Hi
Anybody know of any good scripts for creating a directory for links which includes a
search function similar to Yahoo and other search engines.
Thanks in advance
Mohamed
Ok, I'm over it. Now...
Does anyone know how to set up MySQL, or phpMyAdmin to restrict users to a
single database? For instance, the user JoeBlow...
Joe has a database called JB, I want him to have full access to it and
nothing else. How would I go about doing this? I'd also like him to
Liam MacKenzie wrote:
And also...
How do I go about securing PHP functions. For example, at the moment Joe
can upload a PHP script that deletes /etc/named.conf. NOT GOOD!
Surely this is a general security issue? If an ordinary user is allowed
to delete /etc/named.conf (whether by PHP,
porting base64 encode/decode module on Perl to php.
http://www.cpan.org
David [EMAIL PROTECTED] wrote: Hello,
How can I decode encoded text/numbers in my phpMyAdmin? I looked at
BASE64, but thats not it. Any help is great. Thanks
Example: 8e73b27568cb3be29e2da74d42eab6dd
--
- Dave
Visit
No, you're right..
Permissions for that file could probably be tighter,
but it's better not to rely on file system permissions only.
bvr.
And also...
How do I go about securing PHP functions. For example, at the moment Joe
can upload a PHP script that deletes /etc/named.conf. NOT
Perhaps a better way of wording my question would have been to say this:
At the moment, I can make seperate users, the do not have
permission to create tables in other databases, but the can
still browse them and view the information.
Any the example I used for the named.conf was a bad one.
Harry Yu [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All,
I'm trying to setup an authentication process and
sessions to protect some of my pages for valid users
only. The following are what I had in mind:
[...]
Well, looks fine to me, except that I
php-general Digest 14 Feb 2002 11:52:24 - Issue 1171
Topics (messages 84676 through 84722):
Re: ODBC_EXECUTE has a DANGEROUS 'feature'!!!
84676 by: Lars Torben Wilson
84706 by: * RzE:
Re: PHP GD - Nevermind! Thanks!
84677 by: David Robley
Re: Troubles With Mail
hello php guys,
how can i delete the last char in a string?
thanx
--
---
magic garden GmbH - Agentur für Informationsarchitektur
Hermannstr. 15 - 70178 Stuttgart (Am Feuersee)
www.magic-garden.de ¦ [EMAIL PROTECTED]
Tel. (07 11) 619 57-42
http://php.net/substr
$rest = substr(abcdef, 0, -1); // returns abcde
-Rasmus
On Thu, 14 Feb 2002, marcbey wrote:
hello php guys,
how can i delete the last char in a string?
thanx
--
---
magic garden GmbH - Agentur für
On Wednesday 13 February 2002 03:13, Chris Schoeman wrote:
I want to make links on my website which doesn't show the original url of
that page.
How Can I do that?
Have your links of the form:
htpp://www.mydomain.com/linkto.php?id=123
Then in linkto.php you need to redirect (using
Liam MacKenzie wrote:
permission to create tables in other databases, but the can
still browse them and view the information.
I do not know MySQL but I'd be very surprised if this was not a database
creation/configuration issue. In postgres, unless given permission, I
cannot even connect to
$s = substr($s,0,strlen($s)-1);
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: marcbey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 1:48 PM
Subject: [PHP] last char in
test msg pls ignore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That won't work.
If you relocate using header(Location: ...) then it DOES show the
original URL in the browser's address field.
There are other ways of relocating which don't do this. For instance:
(1) include(real-path);
(2) readfile(real-path);
Jill
-Original Message-
I'm wondering if anyone has a class to do a the equivalent of a
net send through PHP?
Thanks,
-Garth
Northern.CA ===--
http://www.northern.ca
Canada's Search Engine
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 14 February 2002 20:43, [EMAIL PROTECTED] wrote:
That won't work.
If you relocate using header(Location: ...) then it DOES show the
original URL in the browser's address field.
There are other ways of relocating which don't do this. For instance:
(1) include(real-path);
hi
I've got session identyfier in $session_id. In all sites it can be see very
well. But in one site I use class in this form:
class name {
function1();
function2(); etc.
} and inside it the $session_id is unknown(outside class is OK). What should
I do inside class that my session idetyfier will
Aha Yes, it works fine now. Again, thanks a lot.
Rdb
On Thursday 14 February 2002 12:18 am, you wrote:
On Wed, 2002-02-13 at 19:18, Reuben D Budiardja wrote:
Yes, I have. I follow the example exactly from
http://www.php.net/manual/en/features.file-upload.php.
Well, that's the problem
Look here:
http://www.zend.com/apps.php?CID=38
-Original Message-
From: Administration@myclassguide [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 5:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] links manager
Hi
Anybody know of any good scripts for creating a directory
How can I get the name of array variable into str?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dnia czwartek 14 luty 2002 13:55, Garth Dahlstrom napisa:
I'm wondering if anyone has a class to do a the equivalent of a
net send through PHP?
If U got samba instaled on Your serwer U can
always do exec(smbclient -M $message);
Thanks,
-Garth
Northern.CA ===--
http://www.northern.ca
I would just like to see how people are handling long running PHP
scripts. I have been using a page in the middle that says please wait
and then using a META tag that forwards the user on to the intended page.
This has been working well up until now. I now have a page that is
posting an
I have a CD with several of our company's product images on it. They
consists of very large original TIF and EPS images directly from our
graphics department. An image's size ranges anywhere from a a few hundred
kilobytes to 40 megabytes.
I have set up a form to upload the images. They are
Hi list,
I've made a log to my site, that counts the hits per page. My problem is,
there is some way to detect when the user presses the reload button?? I need
this, or other suggestion, in order to prevent the log to input data for the
reload, that isn't a real visit.
My script is just a
And here is imap-2000c+PHP4.1.1+ ...
Feb 14 11:12:09 earth imapd[46002]: accepted connection
Feb 14 11:12:09 earth imapd[46002]: login: earth.hub.org[64.49.215.11] scrappy
CRAM-MD5 User logged in
Feb 14 11:12:10 earth imapd[46002]: accepted connection
Feb 14 11:12:10 earth imapd[46002]:
I remember doing this a while ago.
So, please excuse me if I am way off.
As far as I recall, the upload form could specify
maximum file size. Check if putting a larger value
there helps.
--- Aaron Gould [EMAIL PROTECTED] wrote:
I have a CD with several of our company's product
images on
Hm... I tried quite a few variations on this. I can't seem to get any
displayable value out of this function.
function get_current_page_name()
{
$current_page_name = explode(/, $_SERVER['PHP_SELF']);
$current_page_name = $current_page_name[-1];
return $current_page_name ;
}
$errorcode =
Ahhh, ok! I feel like such an idiot. Right at the top of my script there's
a spot with the value of maximum upload size. It was set to 10MB, so I
changed it to 50MB and it works.
I can't believe that slipped by me. :)
Thanks very much!
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
-
On Wednesday, February 13, 2002, at 05:18 PM, Rick Emery wrote:
Next time you go to the PHP Manual (dated 19-09-2001) for answers, go
to the
title page and count down 5 names...
dopeSlap target=self /
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
Do you not have to make $_SERVER a global variable in the function ?
Alastair
Lightwood Consultancy Ltd
Hm... I tried quite a few variations on this. I can't seem to get any
displayable value out of this function.
function get_current_page_name()
{
$current_page_name = explode(/,
Hi,
I've just started to learn php. I can't seem to get any data from an
HTML form to a php script. I've had a look at the manual and the various
on-line documentation and I think I'm doing things right but perhaps
someone can advice on the following :-
File: form.php
$_SERVER (as well as all the $_* functions) in PHP 4.1 are automatically
global.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: Alastair Battrick [EMAIL PROTECTED]
To: Erik Price [EMAIL PROTECTED]; Darren Gamble
[EMAIL PROTECTED]
Cc: PHP [EMAIL PROTECTED]
It's possible, but it might be easier to set up virtual hosts or
something. If you're using apache, you can set this up in httpd.conf, using
something like
NameVirtualHost *
VirtualHost *
ServerName www.domain1.com
Redirect permenent / http://www.domain.com/domain1
/VirtualHost
Hello,
How can I decode encoded text/numbers in my phpMyAdmin? I looked
at
BASE64, but thats not it. Any help is great. Thanks
Example: 8e73b27568cb3be29e2da74d42eab6dd
i dont wanna spoil your day, but your looking at a md5 hash... md5 is a one
way encoding scheme, no way back...
Thanks Jeff and sincere apologies for such a simple typoI had copied
the html from some on-line example but had tweaked name to dateit's
been a while since I've done HTML and I was concentrating on the php
side of things.
Thanks
Sean.
Jeff Sheltren [EMAIL PROTECTED] 14/02/02 15:58:01
Yes it is. Gary helped me find it. :)
Martin Towell [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I think the SMTP would be same as you use for your email client (outlook,
eudora, other?)
-Original Message-
From: Dr. Shim [mailto:[EMAIL PROTECTED]]
Hi, for starters, I think you need to change your html... it should read
something like this:
Name: input type=text name=dateidbr
Jeff
At 03:50 PM 2/14/2002 +, Sean Connelly wrote:
Hi,
I've just started to learn php. I can't seem to get any data from an
HTML form to a php script. I've
What I am trying to do is sort a array of arrays but I want to sort by one
of the pieces of data stored in the arrays inside the array. For example;
$data[blue] = array(name, age, time, 3);
$data[green] = array(name, age, time, 7);
$data[red] = array(name, age, time, 6);
$data[yellow] =
I have put together this script with the help of some of you kind members
here. It seems to do what I set out for it to do, but when it finished the
upload it comes up with the following error:
Unexpected character
try for yourself: http://www.alt-design.net/php/new%20admin/add.php
I would be
I forgot to mention, you must have access to the A and/or CNAME records for
your DNS in order to point the domains to the single IP adress.
Yes, you can do this. In the script below, I read the sub-directory from a
MYSQL database. This is overkill for just a few domains, but great for a
Good day,
uasort() should do what you need.
http://www.php.net/manual/en/function.uasort.php
There's an example for the usort function that does something similar to
what you want, in fact.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd
I use http://www.nomonthlyfees.com
500 megs disk space, 5 gig/month bandwidth
PHP 4, MYSQL, SSL, SSH, shopping carts, PGP, PGMail, etc
$200 first year, includes domain registration
$70 each year thereafter, includes domain registration
I take my 500 megs and split among 5 domains
-Original
I'm beginning to suspect a certain bias GRIN because you always make the
same recommendation...
-Original Message-
From: Michael Romagnoli [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 10:46 PM
To: R'twick Niceorgaw; [EMAIL PROTECTED]
Subject: RE: [PHP] Webhosts
I
Hi
I got this error :
Warning: Unexpected character in input: ' in
/home/altdesign/public_html/php/new admin/do_addauthor.php on line 14
Can you post the section around Line 14 from do_addauthor.php so we can take
a look at it ?
Regards
Girish
--
www.girishnath.co.uk
- Original
Hello, there!
I've got a solution for your problem: visit.PHP!
I have written this small script when I was inspired
by PHPHits. You may try it out if you have access
to a MySQL database and created the necessary
tables.
Notice: This is alpha stuff, so you may want to use
some other
Erik,
function get_current_page_name()
{
$current_page_name = explode(/, $_SERVER['PHP_SELF']);
$current_page_name = $current_page_name[-1];
return $current_page_name ;
}
$errorcode = get_current_page_name();
echo $errorcode;
The only thing that works is $errorcode =
Hi!
I have an array called $myarray and now I want to store it in a mysql table.
I tried to just, insert into mytable values('$id', '$myarray') but just got
Array when I run
while ($row = mysql_fetch_array ($result))
$myarray= $row[myarray];
echo $myarray
--
Do I need to first make a string
== image/jpg || $type == image/gif || $type ==
image/pjpeg || $type == image/jpeg){ // is this a valid image?
$time_tmp = time();
$time_tmp = substr($time_tmp, -4);
$filename = $time_tmp._.$name; // just in case someone
uploads matched
I was wondering if it's possible to centre text precisely on
an image.I'm thinking I need to get the width of of
the string in pixels?,take this away from imagesx(image) and
devide by 2 to get x value.
so has anyone achieved this?
I have a similar situation and would like to know your solution.
I would like to send mail from my RH Linux box using the sendmail -t -i
command through my isp mailer (mail.attbi.com).
Could you post, or send me directly, the PHP code that you developed for
this?
thanks
rick
-Original
How about:
return $current_page_name[count($current_page_name)-1];
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Can anyone give my puny mind an explanation as to why the following
function only returns the value Array ?
#
Hi list,
I've made this script in order to solve the problem with reload button that
I've posted. My idea is to register in a session the id, them check if it
exists, if so don't insert again. But even if I quit the browser the session
persists. Why?? ps: this is an include in the main page
I am new to PHP and was wondering if anyone can point me the right
direction
with
PHP urls and books
In the past few months I have received nearly all of the PHP books that have
been written (I wanted to evaluate possible books for some classes) and I
think all of the
What do you mean : session persist?
Whe you close the browser the file(the most common case) is not deleted till the
session expires.
So if the expire time is 30 min it will stay in the /tmp for minimum 30 mins(the
session garbage collector is not started on
every request). The cookie which is
Hi Jan
I have an array called $myarray and now I want to store it in a mysql table.
I tried to just, insert into mytable values('$id', '$myarray') but just got
Array when I run
while ($row = mysql_fetch_array ($result))
$myarray= $row[myarray];
echo $myarray
--
Do I need to first make a
Hi,
if you want to save an array and the structure is not known when you make the database
schema definition,
you have to serialize(), put the string in the DB, and when you restore it from the DB
do unserialize().
Best regards,
Andrey Hristov
Back from the exams hellReady to help again.
Thanks for reading this! This is a really novice question but I cant find
any info about this in the online manual. I would be grateful if someone
could email me the PHP equivalent of the (AND) and ||(OR) operators
which are used in C.
I'am trying to write if statements like
Just go with your instincts, you got 'em ;)
, AND for and
||, OR for or.
The symbols are at one precendece level higher than the words, I believe.
Kirk
-Original Message-
From: brendan conroy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 10:47 AM
To: [EMAIL
They are and ||, also there are AND and OR case insesitive. But you have to
know taht and and have different place in
the precedence table. The same is for || and or. But This is very rare case to rely
on the precedence.
if((($m[0]==-)($count2))||($count++0))
this seems ok but
$count++0
is
Two ways this is possible:
1. The user has selected an item and hit the submit button, thereby sending
everything to the server and it is working there.
2. The user comes in from a different link, different server, or has a
cookie on their machine.
- Original Message -
From: Morten
you can create variables dinamically like that
$counter=0;
foreach ($some_arr as $key=$value){
$(your_dyn_var.$counter}=some html code;
$counter++;
}
So if you have 5 iterations you will have in the namespace new 5 variables : from
$your_dyn_var0 to $your_dyn_var4
When you want to
For learning PHP, I liked PHP Essentials by Julie Meloni.
-Mike
-Original Message-
From: Chris Lott [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:28 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Books on PHP
I am new to PHP and was wondering if anyone can
I need a function that will erase a particular character in a string.
Any ideas?!?
THANKS
Try:
$outputstring = str_replace($character_to_erase, '', $inputstring);
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 1:38 PM
Subject: [PHP] character replace
If you're using GD2, try looking at ImageTTFBox() and ImageFTBox(). They'll
give you the coordinates for a bounding box around the text. Use them in
relation to the image to center it properly.
J
Adrian Murphy wrote:
I was wondering if it's possible to centre text precisely on
an
I have downloaded and installed php4win(4.1.1) from
www.php4win.com
The URL http://localhost tells me that the Apache Web
Server was installed successfully.
What steps do I take from here to display a
php 'Hello World' script in the browser?
Do I need to modify httpd.conf?
Hi,
I try to use sessions to keep track if a user is logged in. I keep getting
the following error:
Warning: Cannot send session cache limiter - headers already sent (output
started at f:\inetpub\wwwroot\2\admin\authuser.php:30) in
f:\inetpub\wwwroot\2\auth.php on line 28
I use the
you want to remove a char at position $x.
so
$the_string =
substr($the_string,0,$x).substr($the_string,$x+1,strlen($the_string)-1-$x);
you can do some juggling in the second substr() with negative values for the
parameters but they will not be more fast than this.
Best regards,
Andrey Hristov
It means you've already sent some HTML. Sessions stuff must be sent first
-Original Message-
From: Morten Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions
Hi,
I try to use sessions to keep track if a user is
Erase by what criteria? Position? Value?
specifics!!
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:38 PM
To: [EMAIL PROTECTED]
Subject: [PHP] character replace function
I need a function that will erase a particular
You can also use the strtr() function:
$new_data = strtr($data, ', `);// replaces ' with `
Also keep in mind that you can use the chr($number) to return special
ascii characters.
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
On Thursday, February 14, 2002, at
about the only way I could think of doing something like this, is to create
a unique value for each link on a page and take on to the end of each link
for each page. then do a select to find out if that unique value has been
entered already. if you use an MD5 hashing method and combine that with
This means that you do some output before calling session_start() or
session_register();
check for echo()s or blanks before ? . Also there have not to be any html before ?
when using sessions.
Best regards,
Andrey Hristov
- Original Message -
From: Morten Nielsen [EMAIL PROTECTED]
To:
I am looking for advanced books on PHP. I have read many tuts and a
couple of books, but I am looking for a big heavy detailed book on php
and everything about coding php.
any suggestions are welcomed.
-Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wednesday, February 13, 2002, at 08:51 PM, Harry Yu wrote:
Can anyone give me any suggestions or recommendations?
Is there any security concerns? Also, the session
files are in a directory that is not world readable.
I just set up my own first authentication system, and it works very
Does anyone have an example of code that does this, I have been trying to
decipher the instructions on the use of uasort but it does not make a hole
lot of sense. They are using static keys and sorting by one of the array
elements of each of there static keys. It does not seem like one should
Speaking of sessions, I was wondering if something like this is even
possible: Users log on, each has their own unique session.. Is it possible
to do some sort of instant messaging deal with this? Like, on the main page
is displays everyone that's logged on, then you maybe choose their name
Maybe you can put a small iframe in the HTML which will refresh on some basis (3secs
for example), and in the HTML of this
html you do the popup - window() or alert(). what you choose. the message which is
sent(from the peer1 to server) is stored in db
(or file) but have to stored somewhere
Can someone recommend a better method for doing something like the following?
All of my programs are written like this, but it's really poor form
considering I'm not predeclaring my variables, etc. Only thing I can really
think of is to assign a value in the form a number like 1 or
The thing about this is, what variables would I use regarding all active
sessions, and the data that is stored in each session? Say there are three
people logged on, each with the variable $name stored in their session which
is their username - How do I get a list of all the names from the
hi folks, can someone shed some light here?
i've got a file called index.php with the following contents:
?php
echo debug output: index.php loadedbr;
if (is_null($page_name)) $page_name=about;
echo debug: page name = $page_namebr;
$nav_array = array (about = About,
I don't understand what you are trying to do...
If you need to verify whether the page has already been submitted to
itself, you can test any of the form variables using isset(). For
example:
?
if(isset($name)) {
$LoadedBefore = 1;
}
if(!$LoadedBefore)
On Thursday, February 14, 2002, at 11:06 AM, Andrey Hristov wrote:
Maybe you can put a small iframe in the HTML which will refresh on some
basis (3secs for example), and in the HTML of this
html you do the popup - window() or alert(). what you choose. the
message which is sent(from the
Best regards,
Andrey Hristov
Back from the exams hell
=what were you sitting Andrey?
=dn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, for instance. I don't like forms that submit to the same page where
it is located. Separating them helps to maintain the code (usually). I don't
like html inside ?php so 99% of the times I escape with ?.
Btw, you should start with ?php and not ?.
Your input is missing the /, newer
Aside from learning by doing, there's an old adage that nothing teaches
code like code. What about the articles at Zend? Download TWIG or PHPNuke
or PostNuke and examine the code.
The problem with everything, is that yours differs from mine. Example, I
work mostly with straight-ahead data
$ser_array = serialize($myarray);
then store $ser_array to a table as BLOB, TEXT, or even VARCHAR
to use its contents, read it from the table and use unserialize()
-Original Message-
From: Jan Grafström [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 10:35 AM
To: [EMAIL
On Thu, 2002-02-14 at 07:32, Erik Price wrote:
Hm... I tried quite a few variations on this. I can't seem to get any
displayable value out of this function.
function get_current_page_name()
{
$current_page_name = explode(/, $_SERVER['PHP_SELF']);
$current_page_name =
1 - 100 of 162 matches
Mail list logo