I have been developing PHP for a while now, and I am wondering how other
developers find their PHP hosting company. So far this has not been an
issue for me because I am always in full control of my servers (well, as
much control as possible with any web server :), but recently we have begun
to
Whenever i get a php script off a website why is it that most of the main parts in the
script have a space from the left border. eg
?php
echospazzz;
?
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
Derek Del Conte [EMAIL PROTECTED] wrote a lot that I snipped
:-)
Dear Derek
To give you some input I can tell you about some recently experienced
things in my php world...
I:
My homepage is running on a server which host a lot of other domains.
Therefor I contacted the company to know if they
On Wednesday 01 August 2001 02:02, Yasuo Ohgaki wrote:
Meir Kriheli [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I need another pair of eyes to see if I've overlooked something.
SNIP
so
'{pass1}=={pass2}'
is converted to
I have a lot of php scripts developed with php3.
I've installed php4 and I get some warnings when I
evaluate variables there are not set (are empty).
In php3 there was no problem (no warning).
If I modify the code by using empty($var) or
isset($var) it's ok, but there are lots of such
issues.
I assume that
$m = 07;
$y = 2001;
$d = 31;
echo count($this-arrEvents[$y][$m][$d]);
is in a method of the class that $someclass is a method of, something like:
class fred
{
function dispcount()
{ $m = 07;
$y = 2001;
Well, you have to treat all the user's input as a string actually. So
basically only one data type.
Now as for splitting and joining, you can make up a splitting character
let's say: |*^| and see if the user entered this in some of his input.
It's really rare to have such weird combination of
Just set warnings to off in your php.ini - it's on by default
Chris
Melania Popescu wrote:
I have a lot of php scripts developed with php3.
I've installed php4 and I get some warnings when I
evaluate variables there are not set (are empty).
In php3 there was no problem (no warning).
If I
I presume you mean code layout
Its there to make code easier to read.
eg some silly code
for ($x=1;$x100;$x++) {
while ($i50) {
print $i;
}
}
This is more legible than
for ($x=1;$x100;$x++) {
while ($i50) {
print $i;
}
}
Indentation makes it easier to spot
check php.ini and the key error_reporting
Melania Popescu [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a lot of php scripts developed with php3.
I've installed php4 and I get some warnings when I
evaluate variables there are not set (are empty).
In
It's called identing.
It's just there to make the script more readable. That's common to almost
all programming languages.
Some programmers doesn't ident they code anyhow.
Basically you increase the ident whenever you enter in a deeper code block.
Kyle Smith [EMAIL PROTECTED] wrote in message
Hi I'm trying to create a script which my cron will run once a day to
backup
my MySQL database, but the exec command doesn't want to work no matter
what I
try...
Uh.
cron + PHP is cool, but using cron to run PHP to run mysqldump is kinda
silly... :-)
Just put the mysqldump line in your
Liviu Popescu [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a lot of php scripts developed with php3.
I've installed php4 and I get some warnings when I
evaluate variables there are not set (are empty).
In php3 there was no problem (no warning).
Is it worth the while to read up on PEAR? I have seen much of it but I
don't know much about it. I am not a complete newbie anymore and I have
developed quite a few DB driven sites. Any good readings that you know
of?
The basic idea behind PEAR is a sort of souped-up code archive of
But I'm not
using eval()
directly on user entered data, and I can't see where it is possible.
Yes, you are.
pass1 is coming from the user, is it not?
You are using eval() to decide if pass1 and pass2 are equal, are you not?
You are therefore directly eval-ing user code.
I have done a few tutorials, but they aren't very long, and have only
covered a small amount of what i need to know.
Dunno how long it is, but the webmonkey tutorial used to get good reviews
here...
I've been out of the loop for awhile though.
Can anyone recommend any good comprehensive
I recently just started using PHP. I searched this list's archives first,
but couldn't find an answer to my question:
Whenever I get a syntax error it's always reported on line 1, even
when it's obviously not on line 1. I *never* get an error reported on any
other line #.
Your file is Mac
1) Prompt the user for a target e-mail address.
2) Create a PDF document from the form fields on the current page (I wish
to
specify the design of the form) and e-mail it to the e-mail address
gathered
form (1).
I'm hoping there's either a module or two that can accomplish this or
perhaps,
class Scott {
var $svar = array(); // free-form hash for whatever data
function Scott( )
{
return $this;
Like, I don't think you're supposed to return $this from your constructor...
}
function __sleep()
{
According to the manual, this is supposed to return an array of the
echo $row[code];
You want eval, but since your code starts off with HTML, and eval expects to
be doing PHP, you need to do more like:
$html = $row['code']
eval(?$html?php);
In essence, you are sorta doing the opposite of how include automatically
switches back to HTML mode, and you break out
FORM METHOD=post ACTION=userinfolistbycompany2.php
INPUT TYPE=hidden name=uid value=? echo $uid; ?
You are using the short open tag of ? instead of ?php is the only thing
really wrong I can see... That won't work in PHP4 --with-xml, or if php.ini
has short tags off etc.
The $uid is silly,
How can i go about doing a visual login on a web page... instead of the pop
up window i have at the min like with .htaccess ??
I apologize if this is in the manual, but i couldn't see it
If you use HTTP Authentication, you get that popup. Period.
If you don't, you don't. Period.
So, ditch
In php, oh wait well this is really 2 questions.. 1 in a form how do i
make it email a file to someone, and the second how do i make it get
recieved as an attatchement...?
You want to read the file upload feature page on http://php.net
And you want to snag Manuel Lemos' UpperDesign.com mail
I have php files which run on various VirtualHost's and there is suexec on
those VirtualHosts, however, when I look at the user/group which PHP runs
under it always seems to be the main web user (nobody, www, or whatever we
set it to). Is there any way for PHP to be able to execute as the
How do you turn on/off magic quotes through .htaccess? Is it this posible?
php_value magic_quotes off
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
I am running win2k sp1. The following code works with php 4.0.3 installed
however fails with versions php 4.0.5 and 4.0.6.
Any assistance would be appreciated
?php
echo $PATH_INFO;
echo br;
echo $HTTP_SERVER_VARS[PATH_INFO];
?
Define fails...
What are your php.ini settings for
I made a query that uses count(*)
now how can i get the results sorted following the biggest count(*)
result?
select count(*) as score from foo group by y order by score desc
may do the trick...
I often have trouble with aggregates not being allowed where I want them or
not being able to
On Wednesday 01 August 2001 10:20, Richard Lynch wrote:
But I'm not
using eval()
directly on user entered data, and I can't see where it is possible.
Yes, you are.
pass1 is coming from the user, is it not?
You are using eval() to decide if pass1 and pass2 are equal, are you not?
You
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Ralph Guzman) wrote:
Incase you still need it. Here is a big one I forgot to mention:
http://www.dialpad.com/
Not sure how much of their site is PHP, but their user registration and
member backend is PHP driven.
Entertainment site
Try vim instead of vi.
-Stathis.
Ben Bleything wrote:
I can't speak for terminal usage... I use pico and or vi... pico on
console, vi over ssh.
When working locally, I use nedit (www.nedit.org) on *nix (with custom
PHP syntax highlighting) and EditPlus on windows.
Good luck,
Ben
Hello everyone !
Question:
I'm building an online membership registration system, for a 'membership
section' of a website. As it stands, I have a registration form that
insert the data into MySQL, then generate a confirmation page--with member ID
number, username, and password.
I
Hello John,
Wednesday, August 01, 2001, 11:06:06 AM, you wrote:
JM In an environment where it's possible to have multiple
JM users register at the same time (relatively speaking), how can I be sure
JM that the 'last ID' is indeed the 'intended' last user's ID?
JM Ex.
JMSay that
Hi,
I have modified an authentication script to my own liking, but being new, don't know
how to go about my next stage.
Once the user has inserted the UN, and PW, it is campared against the MySQL database,
nowm what i want to do is get rid of the login form which still appears, and is very
How is it, if I would create the file itself from the php-script itself?
To do *that* you need world-writable permissions on the DIRECTORY to create
files inside of it.
That means any other user on your computer can *also* create any files they
like in that directory.
Would I be able to read
Removal Information =
This message is sent in compliance of the new email bill section 301. Per
Section 301, Paragraph (a)(2)(C) of S. 1618, further transmissions to you
by the sender of this email will be stopped at no cost to you. This message
is not
Steve,
If you move your validation code to the top of the script you can use the
header (Location: loggedin.php);
exit;
to go to the next page if the user is validated
Chris
Steve Wright wrote:
Hi,
I have modified an authentication script to my own liking, but being new, don't know
how
Sorry for my english but i'm french
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Once the user has inserted the UN, and PW, it is campared against the MySQL
database, nowm what i want to do is get rid of the login form which still
appears, and is very annoying. I can't seem to see anything on this
particular subject, but if their is any, can u point me in the right
direction.
It does *NOT* stop a hacker from using GET/POST to initialize variables
that
were never set. Turn on E_NOTICE, damnit.
Whoops. That part of my rant was patently false. I was on a roll, though
:-)
If register_globals is off, of course POST 'i' can't over-ride your
uninitialized $i variable.
Steve,
The following should work:-
?php
$auth = false; // user is not authenticated yet
if (isset( $PHP_AUTH_USER ) isset($PHP_AUTH_PW)) {
// Connect the MySQL Database
mysql_connect( **.net', '**', '***' )
or die ( 'Unable to connect to
Hi,
I am using RedHat Linux 6.2.
I just got my PHP installed but my Apache 1.3.12 server does not seem to recognize the
PHP files and PHP scripting.
I have already uncommented the lines in my httpd.conf file which read:
AddType application/x-httpd-php .php
AddType
At 09:00 PM 7/31/2001, Guaranteed ! wrote:
We are a serious company, offering a program that will enhance your sex
life, and enlarge your penis in a totally natural way.
I think they got the ASP mailinglist mixed up with the PHP one..
-j
--
At 04:11 PM 8/30/2001, Steve Wright wrote:
Hey,
I have just developed a simple site search.. .and am after learning how to
get it to search all directories... at present, it only searches the one it
is in!!
snip
$cmdstr = grep -i $searchstr *;
man grep on my linux box shows:
Hi Richard,
I guess you miss my point. I always suggest to check all user inputs
(GET/POST/COOKIE), they are all unsafe unless they are checked. Anyone
can spoof these variables easily with little knowledge and attackers
do not have to be experienced to attack PHP scripts. Elementally
school
Many thanks, Daniel!
I trully appreciate it.
-john
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
The world is waiting, are you ready?
-+___+-
On Wed, 1 Aug 2001,
Joe has always been my favorite linux text editor.
- Original Message -
From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 7:07 PM
Subject: [PHP] Sorry... but a good PHP editor for Linux/Unix
Sorry about talking about this subject, but a
I don't think this is much of a problem. I unset() all the global
session
variables before I use them so this should be no problem.
All inputs (GET/POST/COOKIE) from users must be checked if you worriy
about security. You might done already.
Even if an attacker tries to set some value for a
does anybody know how to submit a feature request? I can't do it via the
bug reporting mechanism.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Does it really exist? If so could someone post some URLs for me?
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
Can someone make a FAQ for this list?
Every month there are questions about php editors, books...
They don't even bother to search the arhives before asking.
--
Marius Andreiana
--
You don't have to go to jail for helping your neighbour
http://www.gnu.org/philosophy/
--
PHP General Mailing
Well, any text editor will do. Here are some links:
file://c:\windows\notepad.exe
http://www.editplus.com
http://www.ultraedit.com
Enjoy
HTH
Jon
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2001 20:09
To: [EMAIL PROTECTED]
Subject: [PHP] PHP EDITOR 4
On Wednesday 01 August 2001 10:20, Richard Lynch wrote:
But I'm not
using eval()
directly on user entered data, and I can't see where it is possible.
Yes, you are.
pass1 is coming from the user, is it not?
You are using eval() to decide if pass1 and pass2 are equal, are you not?
You
[EMAIL PROTECTED] (Kyle Smith) wrote:
Does it really exist? If so could someone post some URLs for me?
http://alt-php-faq.org/links.html - look under editors, there are maybe more...
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Is it possible to make a website counter with a PHP script and a text document? If so
can somebody email me a script (unlikely) or send me to a page with a script (yay)
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM:
[EMAIL PROTECTED] (Marius Andreiana) wrote:
Can someone make a FAQ for this list?
Every month there are questions about php editors, books...
They don't even bother to search the arhives before asking.
I know of 3 php faqs (I know there are tons), maybe we should make a faq on how to
[EMAIL PROTECTED] (Kyle Smith) wrote:
Is it possible to make a website counter with a PHP script and a text
document? If so can somebody email me a script (unlikely) or send me
to a page with a script (yay)
check hotscripts.com
--
Henrik Hansen
--
PHP General Mailing List
On Wednesday 01 August 2001 09:21, Chris Fry wrote:
Just set warnings to off in your php.ini - it's on by default
NO NO NO!
On your development machine, set your warning levels to E_ALL in php.ini, and
then fix your code! Every warning message you get represents an opportunity
for a malicious
hi all,
i'm writing a web chat, the frame that presents the text, has a very fast
refresh (has to) it's about from 2 in 2 seconds, my problem is writing to the
file (chat is file based), when the refresh read the file, it doesn't let php
write. i made comething like this.
It is easy, but you need to have write privileges on that file
(or rather httpd needs that) - so you may include a test that
this file only holds a number as a minimal protection.
$filename = $GLOBALS[DOCUMENT_ROOT]/your_counter.txt;
$fp = fopen($filename,a+);
$cnt = fread( $fp,
On Wednesday 01 August 2001 13:29, Phil Driscoll wrote:
Every warning message you get represents an
opportunity for a malicious user to find a secutiry hole in your code.
Oops - I meant to say 'security hole' - I wish both my hands would type at
the same speed :)
--
Phil Driscoll
--
PHP
On Wednesday 01 August 2001 13:54, Yasuo Ohgaki wrote:
I don't think this is much of a problem. I unset() all the global
session
variables before I use them so this should be no problem.
All inputs (GET/POST/COOKIE) from users must be checked if you worriy
about security. You might done
Is this staement safe ?
eval('$a = $GLOBALS[pass1]==$GLOBALS[pass2]');
Maybe I'm missing the point, but why not just go:
$a = $GLOBALS[pass1]==$GLOBALS[pass2];
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Wednesday 01 August 2001 15:46, Phil Driscoll wrote:
Is this staement safe ?
eval('$a = $GLOBALS[pass1]==$GLOBALS[pass2]');
Maybe I'm missing the point, but why not just go:
$a = $GLOBALS[pass1]==$GLOBALS[pass2];
I'm writing a form class which can also validate the form and I want to
On Wednesday 01 August 2001 13:51, Meir Kriheli wrote:
I'm writing a form class which can also validate the form and I want to
define the rules for validating the forms, so when defining the form I can
add...
Sorry - I should have read your earlier post :)
I suspect that you are probably
Take for example the value of magic_quote_gpc. To be sure that your
script
will work correctly, don't assume that it is alywas on (or off). So
you can write
if (!get_magic_qoute_gpc()) addslashes($var);
or write a function myaddslashes that does the same thing.
Right. I don't like magic
Hello!
I have two arrays:
$keys = array(a, b, c, d);
$vals = array(1, 2, 3, 4);
I would like to get an associative array holding this:
$aarray = array(a =1, b=2, c=3, d=4);
I know I can do it with a while loop...but I wonder if there is any
builtin PHP function that can do that.
Or a better
hehe:)
but what have you wrote already? 3 words? :)
Damien Camus [EMAIL PROTECTED] wrote in message
sb67ed5f.072@senlis_gwia">news:sb67ed5f.072@senlis_gwia...
Sorry for my english but i'm french
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Sorry
difficult to understand why and how unquoted strings can be
dangarous
This line should be
difficult to understand why and how unescaped strings can be dangerous
Regards,
--
Yasuo Ohgaki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
-Original Message-
From: Mario A. Salinas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 7:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Trouble creating a list on months
The actual function is as follows:
function
Hello:
We have hosted one php project where PHP Installed as CGI binary. Since the
PHP parser binary put somewhere outside of the web tree of files, we have
to include #!/usr/local/bin/php as the first line of each file containing
php tags. This line will display on each page at the time of
Hello, I've got a little problem with the setLocal function. In many
tutorials they give this syntax:
setlocale('LC_TIME','fr_FR'); // for france
I tried this but the fr_FR keyword does not seem to work. If I try
french instead it works.
I've got the same problem with all other countries
There is an open source WAP/SMS gateway, Kannel.. altho the project has gone
thru some problems of late (the company who all the main developers worked
for has gone bankrupt :-( )
Bear in mind tho you can't send for free, you will need to install a modem
of sorts into the computer and have a
Is it possible to make a website counter with a PHP script and a text
document? If so can somebody email me a script (unlikely) or send me to a
page with a script (yay)
freshmeat.net and sourceforge.net are great sources for scripts..
Be carefull not to use anything you see.. check the code
Does it really exist? If so could someone post some URLs for me?
I edit my PHP scripts with FmView (www.wincorner.com) and Notepad. :-)
--
Owen Rudge
http://www.owenrudge.co.uk/
http://www.gamearchive.uk.tt/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I am not shure a php developer would need help from another php developer at
the hosting company.
What we need is:
-Sys Admin that understand php.
-Sys Admin that knows how to secure the server and be able to tell the
developer what to follow in order
to built secure code. If system command are
On Tue, Jul 31, 2001 at 02:48:48PM -0600, mike cullerton wrote:
on 7/31/01 1:48 PM, scott [gts] at [EMAIL PROTECTED] wrote:
I am having a problem with __sleep();
there mere existance of it is causing my object
to not get serialized at all. __wakeup() works fine.
i am using PHP
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 3:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: issues with __sleep() and __wakeup()
class Scott {
var $svar = array(); // free-form hash for whatever data
function
Hello,
I'm writing some PHP scripts that will only be used over our local
Windows NT/2000 network. I've written a directory browser in PHP, but that
only sees the server's local directories/files whereas I would also like to
be able to see shared network directories. Since the PHP directory
so now it's shifted from his attitude to your seeming
inability to cope with words related to sexual intercourse?
we all need to calm down and relax.
-Original Message-
From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Attitude of B van Ouwerkerk
B. van
http://www.soysal.com/PHPEd/
Although, after using it for a while I've decided that I simply like Ultra
Edit better.
www.ultraedit.com
Keith Jeffery
[EMAIL PROTECTED]
Kyle Smith [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Does it really exist? If so could
if you go this route, you would, however, have to check
for valid-login users on every page that you want to
have security on.
-Original Message-
From: Ben Bleything [mailto:[EMAIL PROTECTED]]
Subject: RE: [PHP] Visual Login
One way would be to use a database (of any type) to store
Dear all,
I'm newbie with PHP, but it so nice for me.
I tried to create file by fopen(fd, w) function, but it didn't work.
Permission Denied, server said.
I tried with fopen(ftp://user@pass:ftp.server.com/test.txt;, w) the
address I changed according to my server host, but once again server
Simply indent formatting for readability. I personally don't indent after
the ? tag, but to each his/her own.
Kyle Smith [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Whenever i get a php script off a website why is it that most of the main
parts in the script
scott [gts] wrote:
so now it's shifted from his attitude to your seeming
inability to cope with words related to sexual intercourse?
we all need to calm down and relax.
Hey, all I said was that he did not RTFM, but RTM, the version without
fucking.
regards
Wagner
--
Madness takes its
for the first part, make sure that you have write permission to the
directory specified, and for the second, you can't open a file for writing
from a remote location.
Keith Jeffery
[EMAIL PROTECTED]
Ibrahim Noor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
www.audiogalaxy.com is almost entirely PHP
-Original Message-
From: CC Zona [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 4:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Example high-profile PHP sites
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Ralph
I think EMACS is the best choice for any language you like. Just install de php suport
for EMACS. Bye
On Tue, Jul 31, 2001 at 11:07:14PM -0300, Augusto Cesar Castoldi wrote:
Sorry about talking about this subject, but a really wanna know if any one
nows a good editor for linux/unix.
try only locking the file on a write, *not* on a read.
you are going to have many times more reads than writes,
even on the busiest day
what you need to have is a blocking-lock your writes
and not bother with locks for reading.
the way you have it setup now, there's no locking
for writes,
People,
with all respect I think this thread has become way offtopic to be on this
list. Do you mind not cc'ing the list while replying to each other?
-Oorspronkelijk bericht-
Van: Alexander Wagner [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 01, 2001 4:39 PM
Aan: scott
Kyle,
This has been covered exhaustively and every time it appears it burns up
bandwidth.
You can check the archives at www.php.net, I believe through the support link.
Some has also set up a page which describes the various editors that people
use; I didn't bookmark it, but you will find it
Hi,
How do I make a Push Button call a PHP script? This is not a POST operation
per say as I already have Submit and Reset buttons.
What I'd like is to have my third button call a PHP script and process all
the form data in an alternative manner to what the Submit does. As a FORM
tag can only
What!!? I always thought it was the fine manual. Gosh, I'm so naive.
Blushing in Nova Scotia - Miles
At 04:39 PM 8/1/01 +0200, Alexander Wagner wrote:
scott [gts] wrote:
so now it's shifted from his attitude to your seeming
inability to cope with words related to sexual intercourse?
we
If you are working by SSH I would suggest going ahead and taking the
time to read the manual and use vim.
There is more documentation on vim then you will probably ever need here
http://www.vim.org/docs.html
Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com
I'm looking for a way to have a url for a link explode into the actual url
address. So for example, on a dynamically created webpage, I have a link
called: Contact.
When someone chooses to view the printer friendly version of this page, I
want the link on the the printer-friendly page to
How about ...
foreach ($keys as $key=$value) $new_array[$value] = $vals[$key];
Tim
--
From: elias [SMTP:[EMAIL PROTECTED]]
Sent: 01 August 2001 15:16
To: [EMAIL PROTECTED]
Subject: Make associative array from two arrays
Hello!
I know of 3 php faqs (I know there are tons), maybe we should
make a faq on how to
find faqs? :)
http://alt-php-faq.org/
http://www.php.net/manual/en/faq.php
http://php.faqts.com
Rasmus, do you think there would be any value in adding these 3 links to the
PHP General Mailing List
Hi folks:
I'm going nuts trying to add a line of data in the beginning of a text
file.
The text file looks like:
02_01
03_01
04_01
and so on. When I try to add a line so the text file becomes this:
01_01
02_01
03_01
04_01
I get the following result:
_01
03_01
04_01
Here's how I'm
i added a (hopefully helpfull) addition to the
online notes regarding magic-functions:
http://www.php.net/manual/en/language.oop.magic-functions.php
Here's what i posted, if anyone's interested:
Here is a sample class and some test statements to
demonstrate how __sleep() is used.
If you do
and adding a little explanation of the
http://php.net/function syntax for searching
the php.net site would be a big help too.
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 11:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re:
The odd thing about PHP is sometimes you have to code backwards,
That is your code is in a different order than the pages it produces.
This is one of those times. You need to have the Successful login page
first, and the login form second in an if statement.
ie...
?php
$auth = false;
if
1 - 100 of 253 matches
Mail list logo