On Wednesday 27 November 2002 15:52, Adharsh Praveen R wrote:
> hai php-general,
>
> I want to know how can I redirect the browser to contact to a new ip
> address of the same server.
>
> In Detail
>
> I have a server say 192.168.1.10 (eth0) running apache.( Linux Machine
> running Apache).
>
> I c
Hi,
if(!preg_match("/^[a-z0-9_]*$/", $username))
{
// the string contained a char other than a-z, 0-9 and _ (underscore)
}
Season to taste :)
Justin
on 27/11/02 6:18 PM, Philip J. Newman ([EMAIL PROTECTED]) wrote:
> Where should i start, tips wanted.
>
> I would like to check a
Wow this was really elegant!! thank you!! :-)
> if (0 < strlen(implode('',$a))) {
> // error
> }
>
> Stas
-
Per te Blu American Express è gratis
hai php-general,
I want to know how can I redirect the browser to contact to a new ip
address of the same server.
In Detail
I have a server say 192.168.1.10 (eth0) running apache.( Linux Machine
running Apache).
I contact the server through a client(Browser), through this client
I change the
I
Hello php-general,
Hi.
I want to know how i can export tree structure from Mysql table to
XML
mysql table structure is:
ID - Group Unique Id
P_ID - Parent Id
Name - Name of group
I want to make XML whit tree structure. Can some body help me!
--
Best regards,
Boris
lookup ereg() and eregi()
-tom culpepper
Philip J. Newman wrote:
Where should i start, tips wanted.
I would like to check a username string for valid charactors before the name
is processed.
Someone point me in the right direction please
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New
Where should i start, tips wanted.
I would like to check a username string for valid charactors before the name
is processed.
Someone point me in the right direction please
---
Philip J. Newman.
Head Developer.
PhilipNZ.com New Zealand Ltd.
http://www.philipnz.com/
[EMAIL PROTECTED]
Mob: +64 (2
On Wednesday 27 November 2002 05:56, The Gabster wrote:
> Thanks Jason...
>
> I went through those but so far nothing in php... :-(
> > google -> mailing list manager software
Try adding 'php' to the list of search terms above.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Sou
Hey again.
In the php.ini if
register_globals = Off - which is the default setting
then you will need to use $_SESSION['variable']
- Lee
"Jason Romero" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> when using session registered variables
> i can only get the
Hi,
> I am a newbie in this PHP world. I was just looking around for
> information on Download of files using PHP.
> I need to provide link/button, by clicking which a user can download a file
> (Say a CSV file..). Does PHP provide any class or methods to achieve the
> same...? Looking forward fo
Hi, everyone:
I am a Chinese, I am a programmer.
I encounter a problem about php.
Attachment is 1.php,
when i open this file (this file is saved at linux server, apache and
php 4.2.3 are installed on this server) in Internet Explorer, error
displays:
Parse error: parse error,
Hey
Also in your php.ini do you have
session.use_cookies = 1
if its set to 0 then you will need to pass the variables through the URL.
- Lee
"Jason Romero" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> when using session registered variables
> i can only get
--- Venkatesh Hosur <[EMAIL PROTECTED]> wrote:
> I was just looking around for information on Download
> of files using PHP. I need to provide link/button, by
> clicking which a user can download a file (Say a CSV
> file..)
The best solution, in my opinion, is just to use a straightforward
HTML l
Yes, we are way off topic.
You offered a solution, and it rang warning bells for me from an
accessibility P.O.V... yes, I miss-quoted the spec, but yes, i'm right
about IE, and almost every developer using px should be very worried for
quite some time, until it gets addressed.
Cheers,
Justin
Hello,
I am a newbie in this PHP world. I was just looking around for
information on Download of files using PHP.
I need to provide link/button, by clicking which a user can download a file
(Say a CSV file..). Does PHP provide any class or methods to achieve the
same...? Looking forward for
I am not positive of the problem as I can not see your code, but if you
want to display the words that end in '5C' the you can do them like so:
\(escape character) like this: \(95 5C 5C)
If you could sttach some code we might have a better idea.
-tom culpepper
[EMAIL PROTECTED] wrote:
Hi, ever
Hi, everyone:
I am a Chinese, I am a programmer.
I encounter a problem about php.
Attachment is 1.php,
when i open this file (this file is saved at linux server, apache and
php 4.2.3 are installed on this server) in Internet Explorer, error
displays:
Parse error: parse error,
It's not the same as simply generating a report in PDF. He's looking for a
band-type of report writer with groupoing levels, automatic totals,
subtotals, sub reports, drag anddrop fields, right click formatting
options, etc. One of the great leaps backwards with PHP, or any of the
scripting l
Oh, ok. That makes a lot more sense. Thanks for the info John :)
- Nilaab
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 4:00 PM
> To: @ Nilaab; [EMAIL PROTECTED]
> Subject: Re: [PHP] Multiple page form
>
>
> > Is there an a
> sorry for posting this mysql question again. im searching for a report
> builder for mysql specifically for creating reports for
> invoice/receipt..etc.
> just like crystal reports and oracle report builder. or is there any
> suggestion to do it in PHP .
Get any of the hundreds of PDF classes
Have you index.php page as a frameset, and load all pages into the
frameset. No matter where the user is on your site, they'll just see
http://www.whatever.com
Kris wrote:
Hi
When I pass variables to a new page in the address bare of the browser it looks like
www.whatever.com/index.php?uName=
hi to all;
sorry for posting this mysql question again. im searching for a report
builder for mysql specifically for creating reports for
invoice/receipt..etc.
just like crystal reports and oracle report builder. or is there any
suggestion to do it in PHP .
any idea? thanks in advance
Regard
On Tue, 26 Nov 2002, Kyle Gibson wrote:
> > I have an array $keywords, how do I test to see if it is empty?
> > $keywords == '' seems to throw out an error.
>
> Maybe...
>
> if(count($keywords) <= 0)
> {
> //...
> }
I use sizeof(), which apparently is an alias to count(), and it works
f
I have an array $keywords, how do I test to see if it is empty? $keywords == '' seems to throw out an error.
Maybe...
if(count($keywords) <= 0)
{
//...
}
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenonline.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Thanks Robert
> -Original Message-
> From: Van Andel, Robert [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 27 November 2002 11:43 AM
> To: Peter Houchin; php_gen
> Subject: RE: [PHP] displaying record number in a cell in a table
>
>
> $result = mysql_query("select * from [database table]")
There may be an easier way, but I usually use sessions when I want to pass
variables around that I want to remain hidden, but want to use links.
Best Regards
Bob Irwin
Server Admin & Web Programmer
Planet Netcom
- Original Message -
From: "Kris" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAI
I believe if(empty($keywords)) or even if(!$keywords) will check if they are empty
Robbert van Andel
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] testing for empty array
I have an arr
$result = mysql_query("select * from [database table]");
echo "";
while($data = mysql_fetch_array($result))
{
$count++;
echo "";
echo "$count";
echo "$data[0]";
echo "$data[1]";
...and so on
echo "";
}
echo "";
This will give you a ro
I have an array $keywords, how do I test to see if it is empty? $keywords == '' seems
to throw out an error.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
howdy,
I've had a look around and haven't been able to find what I'm after..
What I'm trying to do is display the number of each individual record with
in a table in a db WITH OUT relying on the records id, here what I've come
up with so far:
//get and count the number of records in the table
$r
You could try Sendmail, it comes with it's own version of Linux for free
:)
Just kidding, you sounded too serious.
Bryan
On Tue, 26 Nov 2002, Manuel Ochoa wrote:
|
|I'm setting up a Windows 2000 server with Apache, PHP and MySQL. I also need to setup
|email service for 1 domain name.
|
Then the only solution I can think of is to make them part of the POST
variables somehow--ie. through a hidden field, which you can even fill
dynamically with Javascript. AFAIK that's the only way.
Cheers,
Marco
--
php|architect - The magazine for PHP Professionals
The first monthl
You might also want to look at this solution. It seems functional and
elegant, worked simply for me...
http://codewalkers.com/tutorials.php?show=28&page=1
> On 11/26/2002 01:42 PM, Shane McBride wrote:
>> It's been a while since I have done any PHP work. I am creating an online
>> employment app
I already use POST as the form method.
I know
www.whatever.com/index.php?uName=Kris can be the same as
www.whatever.com?uName=Kris
I just want to get rid of the ?uName=Kris part on the end
I still need the variables to be passed I just don't want the user to be
able to see them.
Thanks for your h
Hello -
There were several discussions on how to do zip code location lookups,
distance checks, zipcode data, etc. Well, for everyone that was following
those threads, check this out:
http://www.sanisoft.com/ziploc/
Opensource (and free) php class to do everything you zipcode distances.
Downright
--- "Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote:
> I tried it & it fails. The browser sends the query
> string with the & & the $_GET access fails.
>
> I am using IE 6. I can't imagine that it would be
> buggy in this regard.
I just tried this in IE 6, and it worked fine for me. My test cod
"
?>
Nenhum profissional cadastrado.";
}
?>
ID Profissional";
echo"".$row['id']."";
echo"Nome";
echo"".$row['nome']."";
echo"Profissão";
echo"".$row['area']."";
echo"Bairro";
echo"".$row['bairro']."";
echo"Telefone";
echo"".$row['telefone']."";
echo"E-mail";
echo"".$row['email']."";
echo
> when using session registered variables
> i can only get them to save as session variables for one page
> then on the next page they are gone
> far as i can tell the variables are not getting written over or unset
> and the session is not gettting destroyed
> any other ideas what it might be?
Do
Thanks Kyle, got it working like a treat :) for some reason it wasn't
selecting the DB but it is now :D
> -Original Message-
> From: Kyle Gibson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 27 November 2002 10:05 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: deleting a record.
>
>
> >
try using the extract command instead of the array reference
ie:
ID Profissional";
echo"$id";
?>
instead of :
while ($row = mysql_fetch_array($res)) {
?>
ID Profissional";
echo"".$row['id']."";
Jason
"Rodrigo De Oliveira" <[EMAIL PROTECTED]> wrote in message
002501c295a6$3e048ab0$6ed4a5c8@soh
If index.php is the index page of your website, then you do not need to
specify it at all.
i.e. www.whatever.com/index.php?uName=Kris
is functionally equivalent to www.whatever.com?uName=Kris
A way to get rid of the variables passed in the query string is to use
POST instead of GET as the method
There does not seem to be an 'IF' statement?
Bret
Register your Domain for as little as $8.95 yr.
At pgaws.com
Find a contractor or find a contract at Tech-Temp.com
- Original Message -
From: "Rodrigo de Oliveira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 2
when using session registered variables
i can only get them to save as session variables for one page
then on the next page they are gone
far as i can tell the variables are not getting written over or unset
and the session is not gettting destroyed
any other ideas what it might be?
Jason
--
P
At 00:00 27.11.2002, Jonathan Rosenberg \(Tabby's Place\) said:
[snip]
>Ok ... I take back what I said about & not working in a query string.
>It works just fine.
[snip]
Ahhh - and I just created a test page for all t
Hi
When I pass variables to a new page in the address bare of the browser it looks like
www.whatever.com/index.php?uName=Kris&passWd=1234
How can I hide this so it's just
www.whatever.com/index.php or even better just
www.whatever.com
thanks
Kris
".$myrow['id']." ".$myrow['company']."";
printf("(DELETE)",
$PHP_SELF, $myrow["id"]);
}?>
There's an easier way to display this. It should make your life
easier...made mine.
Take a look:
// get the list of resellers from the db
$res = mysql_query("SELECT * FROM resellers ORDER BY id");
//
Ok ... I take back what I said about & not working in a query string.
It works just fine.
But, none of this explains why I am sometimes receiving a request with &
in the query string, especially I am using '&' in the link.
The only way I think I can find out is by augmenting the error message I
Hi
you can use password('password_var_name')
for example (insert into bla password('$password'));
and
after selecting the password you can use and no need encrypt decrypt
the value
echo(password('password')); will write the real value...
>> I would like to make a "Lost Password" part to my mem
This is the fact:
I'm building a homepage that can access a mysql database, and display the records
within a certain condition. Following this it is verified if the sql result was empty
then it should write a certain frase, if not it should write the records. I've got
the worst part ok, the wh
I tried it & it fails. The browser sends the query string with the & &
the $_GET access fails.
I am using IE 6. I can't imagine that it would be buggy in this regard.
--
JR
> -Original Message-
> From: @ Edwin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 11:17 AM
> To
howdy all,
this should be fairly simple but not turning out to be so am asking for a
little help..
I have a script that fetches all the records in a table and display's them
on the screen.
I get and display the records with the following:
".$myrow['id']." ".$myrow['company']."";
printf("(D
> Is there an actual way to store the data in a temporary table as you go
> through the multi-page form and then extract that data from the temporary
> storage from the DB App and either process the data or store it in a
> permanent place?
>
> I have never done this before, but maybe someone else h
Thanks Jason...
I went through those but so far nothing in php... :-(
Thanks anyway,
Gabi.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wednesday 27 November 2002 05:16, The Gabster wrote:
> > Hi all
> >
> > I am looking for a messaging sy
Don't bother to respond people... worked out the issue - the double
backslashes in the name...
Cheers
Rich
-Original Message-
From: Rich Gray [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2002 21:14
To: [EMAIL PROTECTED]
Subject: [PHP] File upload on Win2k ...
PHP v4.2.3
Win2K Sp2
Apache v
Ah, okay. However, it seems to ignore a Mac EOL character. I'm installing the
PHP4.3 (test version) to try the auto_detect_line_endings configuration option.
Cheers,
Lee
Matt Vos wrote:
> No, fgets() reads to EOL, I use it all the time.
> fread() will read to EOF, if you let it, as it is binary
Hello guys
I have an script that just shows a list of names brought from a data base as this:
name 1
name 2
etc...
I want to have the following:
name 1 Delete
name 2 Delete
etc...
And when the user hits the Delete link a pop up dialog box (javascript style) asks
for confirmation.
I guess t
No, fgets() reads to EOL, I use it all the time.
fread() will read to EOF, if you let it, as it is binary safe.
Matt
- Original Message -
From: Lee P. Reilly <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 4:09 PM
Subject: Re: [PHP] Upload problem - PC, *nix, a
On Wednesday 27 November 2002 05:11, [EMAIL PROTECTED] wrote:
> Is there an actual way to store the data in a temporary table as you go
> through the multi-page form and then extract that data from the temporary
> storage from the DB App and either process the data or store it in a
> permanent plac
On Wednesday 27 November 2002 05:16, The Gabster wrote:
> Hi all
>
> I am looking for a messaging system (like majordomo) where users can have
> the posted messages forwarded to their email account. Also to be able to
> post from their own email account and all subscribed memebers will receive
> a
That's what I'm going to do but how can I pull it from the database to
decrypt it, then send it?
- Original Message -
From: "Tom Woody" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 4:22 PM
Subject: Re: [PHP] Decrypt Passwor
On Wednesday 27 November 2002 05:16, Stephen wrote:
> I would like to make a "Lost Password" part to my member's area script but
> the problem is, the passwords in the database are encrypted using the
> password function. How could I decrypt it for a lost password thing?
1) Please do not use HTML
Password function is one way only...your only choice is to use
encrypt() decrypt() or just do like most other places, they say they
lost it, and you email it to a verified email address.
On Tue, 26 Nov 2002 16:16:22 -0500
"Stephen" <[EMAIL PROTECTED]> wrote:
> I would like to make a "Lost Passwo
> I would like to make a "Lost Password" part to my member's area script
> but the problem is, the passwords in the database are encrypted using
> the password function. How could I decrypt it for a lost password thing?
You don't. You create some sort of mechanism to allow them to change
their pa
Hi all
I am looking for a messaging system (like majordomo) where users can have
the posted messages forwarded to their email account. Also to be able to
post from their own email account and all subscribed memebers will receive a
copy.
But in the same time to be able to access the message archive
I would like to make a "Lost Password" part to my member's
area script but the problem is, the passwords in the database are encrypted
using the password function. How could I decrypt it for a lost password
thing?
Thanks,Stephen Cratonhttp://www.melchior.us
"Life is a gift from God. Wasting
PHP v4.2.3
Win2K Sp2
Apache v1.3.24
I'm testing some file upload code for a image library type site and the file
upload keeps failing... here's some code to explain what the issue is...
Uploaded' :
'Not Uploaded');
?>
This outputs the following:-
Array ( [userpic] => Array ( [name] => garden.jp
Actually, there appears to be a solution on the PHP.web
[http://www.php.net/manual/en/function.fgets.php]
"Note: The length parameter became optional in PHP 4.2.0, if omitted, it would
assume 1024 as the line length. As of PHP 4.3, omitting length will keep reading
from the stream until it reaches
Is there an actual way to store the data in a temporary table as you go
through the multi-page form and then extract that data from the temporary
storage from the DB App and either process the data or store it in a
permanent place?
I have never done this before, but maybe someone else has? Any tip
Hi,
Thanks for the reply. I appreciate your help. fgets() reads to the EOF; not the
EOL. Is there something similar to fgets() that I can use? Perhaps where I can
state explicity read the file until you encounter and EOL char?
Cheers,
Lee
Matt Vos wrote:
> Loop an fgets()
>
> i.e.
> $fp = fope
You could try Mercury, which is free.
Mercury Information: http://www.pmail.com/overviews/ovw_mercwin.htm
Mercury Download: http://www.pmail.com/downloads_maine_t.htm
You'll want the Mercury Mail Transport System for Win32 and Netware
Systems v.3.32. Don't
worry, Netware is not required.
-Rod
I'm setting up a Windows 2000 server with Apache, PHP and MySQL. I also need to setup
email service for 1 domain name.
I'm looking for any suggestions on SMTP software.
Well, as far as I know you need to have sshd (or an equivalent) running
on the receiving end. Then, on your server you call up a command like
so:
ssh -f -2 -N -L {source-port}:{end-address}:{end-port}
{sshd-server-address} -l {login}
This command causes ssh to create a secure tunnel that goes fro
http://www.php.net/manual/en/function.number-format.php
number_format() can also give you commas if you like.
Bryan Koschmann - Gkt wrote:
> Hello,
>
> Does anyone here have a good way to make sure dollar amounts are formatted
> properly? I have something that returns data, but the problem is it
Marco,
Would you have any examples for using an SSH tunnel? I'm using fsockopen
to get data from proprietary server software (just returns data to me in
different formats) and I would like to have it secure. I'm just not sure
how I could incorporate that.
Thanks,
Bryan
On 26 Nov 2002,
Hi Kevin,
Bunch of thanks to you. It works beautifully! Now, all I have to do is go
back over 200+ files and fix 'em all!
Sigh . . . nice way to memorize your code! :>
Btw, in my test code, I did have the ending ?> -- matter of act, I had two of
them!! Hmmm -- it amazing how easily the obviou
Loop an fgets()
i.e.
$fp = fopen($file)
while ($filerow = fgets($fp,1024)) /* Read 1024 bytes or to EOL, whichever
is first) */
{
$filerow = str_replace("; ","", $filerow);
$filerow = str_replace("# ","", $filerow);
$filerow = str_replace("\r","", $filerow);
$size = strlen($fil
Hi
I´m using php version 4.2.3 with GD version 2.0.7 (with JPG and PNG Support
enabled). When i try to a specific color in my map, nothing happenes. Why?
[]´s
Fred
Goiânia - Brasil
Hi everyone,
I have an application, where users can upload data files formatted as
follows:
0.0106375 686.60165.391
0.01147 606.46754.997
0.0122815 640.284 46.5355
0.0130753 668.396 39.3671
0
Perfect!
Thanks for the quick responses everyone! I really appreciate the help.
Have a good day!
Bryan
On Tue, 26 Nov 2002, Matt Vos wrote:
|As an addition to that, if you don't want the thousands separator to be ',';
|do the following:
|
|$amount = 1234.567
|$fmt1 = number_format($amo
> ''){print "value='{$_SESSION['rfname']}'';}>
>
> but I just get a ? in the value field, not the name.
Yeah there's a good reason for that. You're not ending yoiur PHP tag! :-P
Joking aside you're on the right track. This IS the way to do it. You
should never rely on the browsers cache to r
As an addition to that, if you don't want the thousands separator to be ',';
do the following:
$amount = 1234.567
$fmt1 = number_format($amount,2);
$fmt2 = number_format($amount,2,'.','');
echo("$fmt1\n$fmt2");
This will output:
1,234.56
1234.56
Matt
- Original Message -
From: Van Andel,
Usually the best solution is to use whatever backend you are talking to
correctly. For a long-running MySQL query, for example, you should have a
look at the non-blocking mysql_unbuffered_query() call.
There is a fork() function in the pcntl extension and there is also a very
experimental thread
$amount = 17.9;
$dollars = "$" . number_format($amount, 2);
echo "$dollars";
you should see $17.90.
Robbert van Andel
-Original Message-
From: Bryan Koschmann - GKT [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 11:29 AM
To: PHP General
Subject: [PHP] decimal places
Hell
Try.. printf("%.2f", $amount);
-Kevin
- Original Message -
From: "Bryan Koschmann - GKT" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 12:29 PM
Subject: [PHP] decimal places
> Hello,
>
> Does anyone here have a good way to make sure dollar amo
Rasmus,
Thanks for you reply. I agree that what you suggest is the correct solution for the
mail delivery scenario I used as an example.
My example was poor in that in limited the scope of what I was asking.
I have other situations where I would like to somehow "spawn" a new php process so
th
> -Original Message-
> From: Daevid Vincent [mailto:[EMAIL PROTECTED]]
> Sent: 26 November 2002 19:23
> To: [EMAIL PROTECTED]
> Subject: [PHP] Bug with register_globals on versus 1 and php_value vs
> php_flag?
>
>
> I don't know if this is a known bug or it's supposed to work
> like this
Ryan,
> Anyone know how to get the script path (not the current working directory,
> but the actual path of the executing script) of a commandline script?
>
> I've dug through the docs and can't find this anywhere. None of the
> typical $_SERVER variables return the script path (although several
Hello,
Does anyone here have a good way to make sure dollar amounts are formatted
properly? I have something that returns data, but the problem is it's
stored where any trailing zero isn't kept, like this:
$16.95 or $172.82 are fine
$17.90 or $190.20 come back as $17.9 and $190.2
I would like t
> > To relate this to php, I am ready to give up
> > trying to make my
> >
> > system("scp ..");
> >
> > code work, because I will have to give the apache user more permissions
> > than I am comfortable with.
>
> What exactly are the problems you're encountering using scp?
>
I created an apach
A few people using IE have complained that when they click the 'Back' button
to edit their registration form, all info is lost and they're presented with
a blank form.
I've read archives on this, and I really don't know what to do. The referring
page starts with
and I know the session variab
I don't know if this is a known bug or it's supposed to work like this,
but after randomly trying things, this finally worked:
DocumentRoot /home/interact/public_html
ServerName interact
ServerAlias www.interact.com *.interact.*
ErrorLog logs/interact-error_log
CustomLog logs/
This happens because the Resource ID is a pointer to the socket, not the
socket itself.
You are storing the value of the resource ID (i.e. '1') in the database.
However, when you are pulling it out, you are pulling it out as an int, and
not a socket identifier.
Keep the socket identifier as a globa
Jef wrote:
implode() expects an array as the second argument. You're passing a
string. In
fact with the code you have above I don't see why you don't just tack the
comma on the end in the first place:
if($image11_name != '') $sqlUpdate .= "image11='$image11_name', ";
The reason being the
On Wednesday 27 November 2002 02:57, Jef wrote:
> The problem is I don't know which will be the last element in the string. I
> am allowing 9 images to be changed, 9 text labels to be changed, and 9
> links to be changed. I don't know which will be the last. I'm using an
> update sql command to ch
Anyone know how to get the script path (not the current working directory,
but the actual path of the executing script) of a commandline script?
I've dug through the docs and can't find this anywhere. None of the
typical $_SERVER variables return the script path (although several of
them return th
Hello Everyone:
First of all: I've been dealing with PHP for less than 24 hours, so please
forgive me if my questions are too basic...
I'm using Xitami on a Windows 2000 server. I installed PHP and it seems to
be working fine, but then, I tried to add a few file management scripts:
PHP Commander
On Wednesday 27 November 2002 01:42, Richard Fox wrote:
> To relate this to php, I am ready to give up
> trying to make my
>
> system("scp ..");
>
> code work, because I will have to give the apache user more permissions
> than I am comfortable with.
What exactly are the problems you're encou
> > > implode() expects an array as the second argument. You're passing a
> > > string. In fact with the code you have above I don't see why you don't
just tack
> > > the comma on the end in the first place:
> > >
> > >if($image11_name != '') $sqlUpdate .= "image11='$image11_name', ";
> >
> > T
On Wednesday 27 November 2002 02:19, Jef wrote:
> > implode() expects an array as the second argument. You're passing a
>
> string. In
>
> > fact with the code you have above I don't see why you don't just tack the
> > comma on the end in the first place:
> >
> >if($image11_name != '') $sqlUpda
Chris -- I took out the javascript call to window.open and included the
fix the way you described it and it worked! Thanks for clearing it up
for me. Now I just have to figure own why the javascript is chopping
the variable. Thanks for all your help!
Best regards,
Nicole
I'm thinking yo
1 - 100 of 185 matches
Mail list logo