On Mon, 2005-10-10 at 02:33, Kristopher Kane wrote:
> I am currently in Afghanistan and don't have much access to look these
> questions up. I consider them basic and regret having to post them here.
> When passing variables using GET as in:
> index.php?first=value?second=value
> My script is read
I am currently in Afghanistan and don't have much access to look these
questions up. I consider them basic and regret having to post them here.
When passing variables using GET as in:
index.php?first=value?second=value
My script is reading the first value, however through an included file and
anot
Roger Thomas wrote:
>On server-1 I have my photogallery working. On another box, server-2, I have
>my postcard script also working great. Users can send postcards using ready
>inhouse designs or upload their own (max 100K). Both have been serving our
>community for the past 2 years or so.
>
>C
Jesús Alain Rodríguez Santos wrote:
I would like to know if a web is online, a have this code:
enlace.php
Why not use file_exists()? Also, you probably want to use
$_GET['enlance'] rather than $enlance.
if (!$enlinea){
header("Location: $muerto");
I would like to know if a web is online, a have this code:
enlace.php
In other page I hve this:
page.php
http://www.cfg.jovenclub.cu";>
Somebody can tell me what it's wrong, because the image did not
show, of course that the pages and bouth image are in the same
dorectory.
Please any sugges
On 10/10/05, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> That will give you the *local* mac address, not that of the user
> visiting your page. The problem is the fact that the mac address is not
> sent as part of the REQUEST. As such it's not possible for PHP to find
> out what it is. So, unfortuna
On server-1 I have my photogallery working. On another box, server-2, I have my
postcard script also working great. Users can send postcards using ready
inhouse designs or upload their own (max 100K). Both have been serving our
community for the past 2 years or so.
Current requirement:
When I
Bruce,
I'm not sure what exactly you need to know, but I'll try to clarify a
few thing for you at best that I can.
bruce wrote:
> i'm going through the mambo app, trying to figure out where in the code the
> app starts to generate the actual menus for the Admin functions. i've
> tracked the actua
hi...
i'm going through the mambo app, trying to figure out where in the code the
app starts to generate the actual menus for the Admin functions. i've
tracked the actual code that gets generated "mod_fullmenu.php" but i can't
seem to tell exactly how this code in the jscript gets generated... it
Jeffrey Santos wrote:
To save on computing time, the results of the fileperms command are
cached... I assume when you run a new instance of the program, it uses a new
cache / old one is deleted when the first instance ends. Either way, you
should clear the cache first:
clearstatcache();
echo "
M. Sokolewicz have you ever typed arp at a command line?
It may give you a local mac address, but it is normally used to show your
arp cache.
Now if you are on the same physical segment as the requester than you can
obtain to mac address from parsing the output and matching it to the
requesti
That will give you the *local* mac address, not that of the user
visiting your page. The problem is the fact that the mac address is not
sent as part of the REQUEST. As such it's not possible for PHP to find
out what it is. So, unfortunately, no. (Though it's a very common
question on this list
On unix
man arp
on windows
arp/h
arp/help
arp/?
sorry for short and sweet resp, but I'm falling asleep.
On 10/9/05, Ben Sagal <[EMAIL PROTECTED]> wrote:
> I have a local intranet server, running apache1.3+php4. Is it
> possible to get the mac address of computes which access on of my php
> page
- Original Message -
From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]>
To: "PHP General"
Sent: Sunday, October 09, 2005 8:06 PM
Subject: Re: [PHP] Regular expressions
Gustav Wiberg wrote:
// Loop through our array, show HTML source as HTML source; and line
numbers too.
foreach ($lin
To save on computing time, the results of the fileperms command are
cached... I assume when you run a new instance of the program, it uses a new
cache / old one is deleted when the first instance ends. Either way, you
should clear the cache first:
clearstatcache();
echo "Directory permissions fo
I've got a script that checks a directory's permissions for 757 and if they are
not correct, chmods them with a cgi script.
That part works just fine. Can alternately switch the permissions from 755 to 757 and back. I can use a ftp utility to
check the permissions and they are correct.
The m
Gustav Wiberg wrote:
// Loop through our array, show HTML source as HTML source; and line
numbers too.
foreach ($lines as $line_num => $line) {
echo "Line #{$line_num} : " . htmlspecialchars($line) . "\n";
if ($line_num > 0 ) {
$getName = explode('<>', $line);
$pattern = "/ID=([0-9]*)\
//
Thanks for the replies.
Rory Browne wrote:
they probably use something along the lines of mapping PHP to php -c
$HOME/php.ini
In Linux this would generally be done using binfmt_misc.
On 10/9/05, James Benson <[EMAIL PROTECTED]> wrote:
Nothing special on my configure line and the settin
Hi there!
I'm no good at reg exp... Yes, I confess..
Here's my code
// Loop through our array, show HTML source as HTML source; and line numbers
too.
foreach ($lines as $line_num => $line) {
echo "Line #{$line_num} : " . htmlspecialchars($line) . "\n";
if ($line_num > 0 ) {
$getName = exp
Hi
Yes, it would work in these cases... But if there would be two or three =,
then you couldn't generalize it in that matter...
/G
@varupiraten.se
- Original Message -
From: "Kevin Waterson" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Sunday, October 09, 2005
- Original Message -
From: "Al Hafoudh" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Sunday, October 09, 2005 4:38 PM
Subject: Re: [PHP] ID from lines?
/ID=([0-9]*)\
Thanx!
/G
@varupiraten.se
Gustav Wiberg wrote:
Hi there!
How do I get ID number from these l
Hi there!
How do I get ID number from these lines? Do I have to use regular
expressions?
Line #3 : NH01<><>LiteOn DVD±RW
16<>725<>http://www.varupiraten.se/web/spec_product.php?ID=1711<>PC-CD-DVD-LDW-1653S-09C<>1<>
Line #4 : NH01<><>LITEON
8x<>725<>http://www.varupiraten.se/web/spec_product.
I have a local intranet server, running apache1.3+php4. Is it
possible to get the mac address of computes which access on of my php
pages?
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
they probably use something along the lines of mapping PHP to php -c
$HOME/php.ini
In Linux this would generally be done using binfmt_misc.
On 10/9/05, James Benson <[EMAIL PROTECTED]> wrote:
> Nothing special on my configure line and the setting:-
> Configuration File (php.ini) Path looks like /
Nothing special on my configure line and the setting:-
Configuration File (php.ini) Path looks like /home/USERNAME/public_html
Only just noticed it's been switched over to CGI recently, It's also
possible to have one php.ini per directory and the above mentioned
setting always reflects the php.
did you configured php with these option?
--with-freetype-dir=/path/to/freetype
--with-jpeg-dir=/path/to/jpeg
On 10/9/05, Feris Thia C. <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I've tried to compile and install PHP with gd and freetype library enabled,
> and all PNG and GIF library are loaded
26 matches
Mail list logo