Thodoris a écrit :
Here's a question related to my last post. When specifying a link in a
HTML file (like to the css or an image file), there are two ways of
doing it. One is to simply include the relative path to the file
(relative to the doc root), like:
/graphics/my_portrait.gif
Or you can
I tried downloading the manual @ php.net but it just don't seems to connect.
It keeps loading for a very long time.
Is there any other place I can get or any kind soul that can send it to my
email? [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
I like the list filter suggestion. Many lists do this. Sent on behalf of
type thing.
J
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 11:32 AM
To: Lars Torben Wilson
Cc: Johnny Martinez; [EMAIL PROTECTED]
Subject: RE: [PHP] List
ack! these folks are doing it too: http://archives.neohapsis.com
-Original Message-
From: Johnny Martinez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 11:14 AM
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] List Administrator
www.phpbuilder.com is doing this.
J
-Original
www.phpbuilder.com is doing this.
J
-Original Message-
From: Johnny Martinez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 11:07 AM
Cc: [EMAIL PROTECTED]
Subject: [PHP] List Administrator
List Administrator,
Google spidered the web view to the list and is indexing our email
List Administrator,
Google spidered the web view to the list and is indexing our email
addresses. Any chance you can edit the code to change "[EMAIL PROTECTED]" to
show as "user at domain dot com" as many of the public message boards do?
This will help reduce the spam we g
doh...RTFM Johnny!
Thanks guys!
-Original Message-
From: Brad Pauly [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Javascript multi text box form validation?
Johnny Martinez wrote:
> Hi all,
> I'm having an issue
ng to do? Thanks in advance.
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I figured it out.
FYI You can use the Memo datatype which has a max of 65,535 characters vs.
the Text datatype which has a max of 255.
J
-Original Message-
From: Johnny Martinez [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 9:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Access
vance.
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I see this randomly on my little server. Just hit the refresh button :P
J
-Original Message-
From: Shena Delian O'Brien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 10:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Odd Error (PHP4 & IIS)
Hi -
Got PHP4 running on IIS as a testin
"Remember not all email clients support email."
Did I read that right or is it a typo?
J
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 4:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] HTML email with Outlook
Tim Thorburn <[EMAIL PROTECTED]
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
Does this help?
Johnny
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] HTM
No value is assigned in the code you listed. What is before this block?
If $addDivName isn't given a value then nothing is posted. Are you trying to
have the text field populate this info? If so, you are getting your program
flow wrong.
Johnny
-Original Message-
From: Joaco [m
r script
intepretation. You also forgot the ';' in the html/php statement for the
Meta Name.
HTH,
Johnny
-Original Message-
From: Daniel Szasz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to use ph to set meta tags ?
He
Is it possible to determine who the htaccess user logged in is? If so, how?
Can you point me at some articles?
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: RE: [PHP] nlist
Date: Thu, 10 Jul 2003 16:17:30 -0700
>Hi all,
>Is there a local filesystem-based function comparable to the
>ftp-based
>'nlist' that lists files in a directory?
>
>Johnny
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscr
Hi all,
Is there a local filesystem-based function comparable to the ftp-based
'nlist' that lists files in a directory?
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ss on www.phpclasses.org. Called php2excel
I think, that works too.
The PEAR one does formulas too.
Mark.
"Johnny Martinez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
> Does anyone know of any free Excel parsing non-COM code available on the
>
Hi all,
Does anyone know of any free Excel parsing non-COM code available on the
net? Just straight php driven?
I've found a couple commercial solutions but would like to try this myself
or save money. Thanks for any help.
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubs
The Gallery I recommended can be edited so the thumbnails don't display and
you can make the links appear instead. Shouldn't be tough, the info is
already there. Just replace the tag with the text.
before:
after:
http://www.domain/images/cars/bmw/pic1.gif
J
-Original Message-
From: ch
I highly recommend this Gallery: http://sourceforge.net/projects/gallery
I've used it in many webs, it's very fast, modular, handles multiple formats
and is fairly easy to customize. Here is a web that I integrated it with:
http://www.roundaboutdesigns.com/gallery
Johnny
-Origin
Hi all,
I'm trying to send an email to multiple recips but for some reason the
isn't passing "multiple" ...Does anyone see a problem with
this code? Do I an array or something to handle the passed multiples?
Johnny
page_1.p
You can do the cheesy: This page has moved. Please click this link.
heheh
J
-Original Message-
From: Carl Furst [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 10:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Redirects in PHP
I can understand the abuse, but
try a delayed javascript redirect. location header must be in the header
whichprevents your visitor from seeing html...thats irritating. i miss the
ASP "response.redirect" which can be placed anywhere
J
-Original Message-
From: Carl Furst [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2
Will this work for $_GET as well?
J
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] POST detection
On Friday 13 June 2003 05:08, Johnny Martinez wrote:
> I have a self referring script t
Woot! That worked! Thanks Jason and R'twick!
Johnny
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] POST detection
On Friday 13 June 2003 05:08, Johnny Martinez wrote:
> I hav
d be
great. What's a good trick to detect for the first time?
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm trying to get the path and filename of the script I am running.
$PHP_SELF doesn't seem to work. I'm running PHP4 on a Windows 2000 system.
Thanks in advance.
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks! That worked!
Johnny
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 4:53 PM
To: Johnny Martinez
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Redirec.t
Try putting:
ob_start();
at the top of your file (before ANY outp
Forgive me. I'm new to php.
I put the function in my function.php include file which is loaded before I
display anything.
I want to redirect the browser to a new url once the php script is finished.
Johnny
-Original Message-
From: Evan Nemerson [mailto:[EMAIL PROTECTED]
Sent: F
Hi all,
Can someone tell me the function to redirect a browser to a specific page?
Johnny
For example:
http://www.domain.com/admin.php";);
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to store arrays inside of session variables?
I mean is this a valid statement?
$HTTP_SESSION_VARS["Crumbs"][0] = "1";
$HTTP_SESSION_VARS["Crumbs"][1] = "2";
foreach ($HTTP_SESSION_VARS["Crumbs"] as $k => $v) {
ech
t the idea...
Johnny
-Original Message-
From: Christian Dechery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 6:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] AudioGalaxy-like stuff
Is there anyone here familiar with Audiogalaxy's site? It's all in PHP, and
there is someth
I am using php 4.0.6 and i would rather not use global variables.
regards,
Johnny Nguyen
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 3:33 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Session Headaches
OK, the session_is_registered
oops. of course that's what i meant.
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 1:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Session Headaches
Start with this correction on page1.php:
> if (session_is_registered != 1) {
s
er i click on my link to simulate failed logins 3 times, I should
see the number of failed logins.
It seems like the gist of the problems is that different pages can't seem to
modify the same session variables.
any ideas? thanks everyone.
regards,
Johnny Nguyen
--
PHP General Mailing Lis
ean true and false return values, but no matter
i can work with it this way, just wondering if this is by design.?
regards,
Johnny Nguyen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
I wasn't sure if mktime(0,0,0,1,32,2001) would work.
BUT!!! I stand corrected. you are absolutely right. PHP is smart enough to
know that January 32nd is really February first. :)
Next Time I'll test the code before i respond.
Johnny Nguyen
-Original Message-
From: Steve Bre
that's one extra if statement as much as 31 times in one
month. 1000 people generating the calendar would create 31000 extra if
statements, unless I get a Cache solution. There should definitely be a PHP
function for getNextDay(), but until then, I'm going to use the extra if
stat
Nevermind. I Found the solution. $m, $y, and $d must be cast to integers.
-Original Message-
From: Johnny Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Counting Multidimensional Arrays
Given
t) {
echo $someevent->getName();
}
I get the correct output:
"Some Event 0Some Event 1Some Event 2"
Any ideas on how to get the correct count within someclass?
Regards,
Johnny Nguyen
--
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]
that's the same as $num = "2,3,4,5";
$num is a string.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 11:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] array through url?
Is it possible to send an array of numbers into a php file through a
You'll need javascript. Since you only hit the server once you can't
continuosly update the time from the server (php). Search for a javascript,
there are plenty that can do this.
Regards,
Johnny Nguyen
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTE
Allows you to read and write id3 tags. which is what you're looking for.
http://www.hotscripts.com/Detailed/7219.html
-Original Message-
From: Brian Weisenthal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mp3 file read
anyone kno
php
dll and then finally passes everything back to the browser?
I have no idea how it would be done, but I don't see why it couldn't be
done.
Regards,
Johnny
-Original Message-
From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 7:00 PM
To: 'Sal
displayDayView($timestamp)
among others...
and I'm trying to decide if my Calendar class should have a LinkedList or an
Array of Events?
Within displayDayView(), I'd like to display all events for that day from
the collection of events.
Thanks In Advanced.
Johnny
--
PHP General Mailing
i use
Thanks for all your help.
Johnny
--
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]
? I was getting this error and solved by creating a dir
named 'tmp', so create:
c:\tmp
That's where the session files will be stored... I think it's configurable
in php.ini.
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
"Johnny N
backward slashes? Other than
that PHP is running ok.
Regards,
Johnny Nguyen
--
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]
I place at the top of my page and get this
Warning: open(/tmp\sess_4821f31846678b2eda49a625b76ca14c, O_RDWR) failed: m
(2) in w:\apache\loginform.php on line 1
Can somebody help? Do I need to make any changes to php.ini to get sessions
working?
Regards,
Johnny
--
PHP General Mailing List
e;
header("Location: secretpage.php");
}
else
session_register("failedattempts");
$HTTP_SESSION_VARS["failedattempts"]++;
header("Location: loginpage.php");
}
but apparently, i can't start/register a session and then
is being displayed in the html source.
Regards,
Johnny
--
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]
You can use gnoRPM to remove the apache package. Then look here:
http://www.php.net/manual/en/install.apache.php
Johnny
-Original Message-
From: Juan Pablo Rivera [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 1980 7:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php intall
hi
how
Hi all
I'm getting back into PHP after doing some scripts a couple of years age in
PHP-3.
since I am installing PHP on a server now
I am wondering if I can install PHP-4 and
trust that the old PHP-3 scripts will generally work Ok.
Could someone advise me on thie?
Thanks in advance.
_
Wondering if anyone out there has used both of these
packages and would care to comment on the relative merits of
each,
especially 'ease of install and configure'.
I'm building a Mysql/PHP box for a database building project
that will never be connected to the internet.
All advice is appreciated
I'm building a machine that will never be used on the internet.
I only plan to use it to build a database.
Later I will upload the database to another PHP/MYsql server which
will be on the net.
What I want is the simplest possible way to quickly build a
basic functional PHP/MYsql machine.
And
ke to use it on their local intranet. I do not wish to have to deal
with the non-disclosers, agreements, etc which comes with releasing source
code.
Thanks in advance.
-
Johnny Withers
[EMAIL PROTECTED]
p. 601.853.0211
c. 601.954.9133
--
PHP General Mailing List
iled Query: $query".mysql_errno()." :
".mysql_error();
}
<---somehwere in html file>
if(!$err) {
//display results and info here
} else {
printf("%s\n",$errMsg);
}
- -
Johnny Withers
[EMAIL PROTECTED]
p. 601.853.0211
c. 601.954.9133
- ---
I'm not sure where it is, but I agree that you are missing a curly brace
somewhere. Take a break from your code for a bit, come back to it, and
start matching braces. I suggest getting a coffee or some tea.
johnny p.
> -Original Message-
> From: April [mailto:[EMAIL PROTECT
If that works, then just use that.
johnny p.
> -Original Message-
> From: Shawn J. Wallace [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 05, 2001 8:17 AM
> To: johnny p.
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Which Regex library?
>
>
> Ok, this is from
What is the expression that seems to be failing? give an example,
perhaps it's your code.
johnny p.
> -Original Message-
> From: Shawn J. Wallace [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 05, 2001 8:09 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Which Rege
Well, I think the equivalent PHP function to VB's eval() function is...
eval().
go to:
http://www.php.net/manual/en/function.eval.php
HTH,
johnny p.
> -Original Message-
> From: ¹æÃ¢Çö [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 02, 2001 8:11 PM
> To:
Hah! My wife has a formal education in graphics design. My web sites
would look like crap without her extensive layout skills. :) I'm so
lucky...
johnny p.
> -Original Message-
> From: Jerry Lake [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 12:11 P
I agree. I have a separate maintenance agreement for additional changes
and updates and charge them a pre-specified hourly rate.
thanks for the advice... been bit a couple times before, tho. good for
others to read.
johnny p.
> -Original Message-
> From: Jeff Oien [mailto:
what they're looking for. Look at what
the client thinks they're getting. Use anything you can to find out
what the client's price range is and then set your prices in the middle.
And also, everything can be negotiated.
my 2 cents...
johnny p.
> -Original Message---
ile);
$files[$some_dir."/".$file] = $mtime;
}
}
closedir($DIR);
asort ($files);
reset ($files);
**
PHP's filemtime is equivalent to perl's (stat())[9], which returns
the modification time of a file.
PHP's filetype($file) is equivalent to the grep
ntry/
http://www.bastille-linux.org/
Just my humble and paranoid opinion from past experiences. :)
johnny p.
> -Original Message-
> From: david klein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 2:04 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject
Add the FollowSymLinks to your httpd.conf file for that directory. I
don't recommend doing this, tho, since it *is* a security hole.
Options Indexes FollowSymLinks
johnny p.
> -Original Message-
> From: david klein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesd
the maximum filesize
accepted. The value is in bytes.
johnny p.
> -Original Message-
> From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] copy() ??
>
>
> I'm trying to
,2300,2500,2600,2700) {
if ((($year == $key) && ($month > 2)) || ($year > $key)) {
$day_count--;
}
}
If anyone cares to translate into php, might be nice to have, but
doesn't php have a pretty good set of calendaring func
to something higher by typing 'ulimit -u '. If you're using a
different shell, do a man on the shell and look up ulimit.
johnny p.
> -Original Message-
> From: Daniel Williams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 8:57 AM
> To: [E
Sounds like there's no swap space left to me...
-jp
> -Original Message-
> From: Dustin Butler [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 11:11 PM
> To: 'Jeroen Jochems'; php-general (E-mail)
> Subject: RE: [PHP] Strange problem
>
>
> There are FTP functions if it's an F
.
Any assistance, although most likely redundant, would be appreciated.
There's so much to sift through and perhaps if someone just points to a good
doc on authentication processes, that would help.
Thanks for all the help,
johnny p.
--
PHP General Mailing List (http://www.php.net/)
> -Original Message-
> From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 11:01 AM
> To: johnny p.
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] file storage/downloader...
>
>
> On Sun, 21 Jan 2001, johnny p. wrote:
>
&
f the site.
Thanks in advance for any ideas,
johnny p.
--
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]
Try following the instructions on the devshed page:
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
This is an awesome tutorial to get things up and running for a standard web
serveer install with Apache, PHP, MySQL, and SSL, if you need it.
johnny p.
> -Original Mess
hanks,
johnny p.
> -Original Message-
> From: Sam Masiello [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 4:23 PM
> To: johnny p.; [EMAIL PROTECTED]
> Subject: RE: [PHP] mcal installation
>
>
>
> Did you restart your web server after recompiling PHP
yes. I installed both the libraries. I followed all the directions on the
mcal web site for installing it.
johnny p.
> -Original Message-
> From: Sam Masiello [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 3:17 PM
> To: johnny p.; [EMAIL PROTECTED]
> Su
individual user directories or even if the thing works. I don't even get
any errors or output. I make the mcal function calls and... nothing. If
anyone has any experience with getting this installed and configured, I
would be much appreciated.
thanks,
johnny p.
---
81 matches
Mail list logo