hello,
For connection data between my site, and another site, I need to export my
MySql data to a XML file.
Does anybody know any excisting scripts for this? so I don't have to make it
all myself?
Thanks,
Mark Snijders
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hello,
"Snijders, Mark" <[EMAIL PROTECTED]> wrote:
> hello,
>
> For connection data between my site, and another site, I need to export my
> MySql data to a XML file.
>
> Does anybody know any excisting scripts for this? so I don't have to make
it
> all myself?
Have you checked the latest versio
"Geoff Hankerson" <[EMAIL PROTECTED]> wrote:
> This seems to me to be more easily handled by XSLT. (Not the only option
> but a good one).
> XSLT lets you select only the nodes you want and also sort them as well.
Perhaps... but not all browsers support it.
Anyway, you can also select the node
Thanks for the reply, however, that will not work. The only line breaks you
may get with that are those layed out in a text box or from your mail
client. What if I have other variables that need to be put in the body of
the email.
i.e.
Age: 16
Height: 168
Weight: 120
etc
etc
etc.
These are vari
Try '\r\n' instead of '\n'
regards,
Ewout de Boer
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Kyle Gibson" <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 10:17 AM
Subject: Re: [PHP] Re: More mail() questions.
> Thanks for the reply,
Get mailed also $_SERVER['HTTP_USER_AGENT'], I would like to see which
browser does that.
& should get translated to &, but not vice versa
Jonathan Rosenberg wrote:
I have a page with thumbnail pictures that can be clicked on to see a larger
picture. Each picture is hyperlinked as follows
I
Tried that, but no go. I did figure it out however. Putting the following at
the bottom of the $header seemed to work.
$headers .= "--=MIME_BOUNDRY_message_parts\n";
$headers .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n";
$headers .= "Content-Transfer-Encoding
There was a thread about something similar to this on Slashdot oh, at
least a year ago. One technique that was suggested was to draw a
random image on the screen - say, a grid of colored squares, or a set
of different shapes/images - and just direct people to 'pick the blue
square' or 'click on
hi,
i want to know how to execute a command of another program in PHP. For
example, i run a server program and get a command prompt from that server
program. Now i want to execute a command of that server program in that
command prompt from a web interface that is going to be designed in PHP. i
if all you might have there is 'error', try
if(array_search('error',$array) === FALSE) {
echo 'not ok';
}
if you might have different strings, do
$result='ok';
foreach($array as $v) {
if($v) {
$result ='not ok';
break;
}
}
Mattia wrote:
Can anyone suggest an ELEGANT way t
When I use session.save_handler = mm I can only make it work by setting
session.save_path = /dev/shm
Is that how it should be?
Regards, Jacob
www.sharksforum.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I had this problem when I stored my images on another webserver, and linked
the images with the whole adress like http://somewhere/image.gif";>
I solved the problem by copying the images to the same webserver that views
the
page.
The last webserver was to slow to replay that it had the pictures. Ma
sorry, the solution was not to use session.save_path=/dev/shm, but to
install a new version of mm.
Regards, Jacob
www.sharksforum.com
> When I use session.save_handler = mm I can only make it work by setting
> session.save_path = /dev/shm
> Is that how it should be?
--
PHP General Mailing L
Hello,
Can I call a php function using forms in the same way as I do for a javascript
function? (in the same page, not with php_self).
.
Thanks, Adrian
No, you can't. PHP is run on the server side. JavaScript is client side.
Adrian Partenie wrote:
Hello,
Can I call a php function using forms in the same way as I do for a javascript function? (in the same page, not with php_self).
.
Thanks, Adrian
--
By-Tor.com
It's all ab
can i store images in mysql table using php , is it
possible if yes then pl show me where i can read more
about it
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
PHP Gener
Please do a quick google search first:
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=storing+images+in+mysql&b
tnG=Google+Search
Or at least TRY to find the answer by yourself.
on 26/11/02 11:42 PM, Vivek Kedia ([EMAIL PROTECTED]) wrote:
> can i store images in mysql table using php , is
I'll be trying to use a routine that checks 4 seperate variables for
content and need to know the easiest method to do so. The function works
on 2 conditions; either all the variables are empty and I do something or
I do something else.
$lineone
$linetwo
$linethree
$linefour
Would you use
if
At 13:50 26.11.2002, [EMAIL PROTECTED] said:
[snip]
> I'll be trying to use a routine that checks 4 seperate variables for
>content and need to know the easiest method to do so. The function works
>on 2 conditions; either all the variables are empty and I do
You can post with PHP using cURL or doing it yourself manually.
Search the archives for this, as the previous answers to this are
more complete than what I have time to explain now. Here is a quick
example of the manual approach:
http://shiflett.org/tutorials/php_post.txt
Thanks Chris. A usef
All four must be an empty string. I will be pulling the values from a
MySQL database. If these fields are empty I'll be prompting for
information. If any one of them contain anything I'll be showing it to
the user and asking if they want to change it.
Thanks,
Ed
On Tue, 26 Nov 2002, Ernest E
Yes you can store images in a mysql table. But you will have to create a new
binary database.
You can read here how it works:
http://www.phpbuilder.com/columns/florian19991014.php3
It is a easy to understand text.
/Martin
"Justin French" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]
Hi
The problem I am having is as follows:
I setup PHP with IIS and it seems to work fine. I am creating a Intranet
site and would like to obtain the user logged on to the networks
username. I have setup basic auth but when I visit the site it asks me
for my username and password before I can get in
Ed,
Assuming there will be a response from the db-tbl, here is another choice:
if ( $lineone . $linetwo . $linethree . $linefour > "" )
{
//show it to the user and ask if they want to change it
}
else
{
//prompt for information
}
Do you mean that the db-tbl will have a row of data even if t
The db will include these 4 rows even though they don't store data.
Eventually they will contain data for contact info as soon as the users
log in and it prompts them for it.
On Tue, 26 Nov 2002, DL Neil wrote:
> Ed,
> Assuming there will be a response from the db-tbl, here is another choice:
>
Gretings:
I am trying to set up a referal script; I want to pass a URL query
string to another php script. I am able to pass the complete query
string with all the variables I want through to the javascript function
call but then the string gets cut in the php script:
in the shopping cart:
t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
does anybody know how to obtain id of last inserted row via dbx ?
- --
- --
Mirek Novak
ICQ:119499448
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAj3jgGE
You don't need to do client-side transformation (although you could
check user agent and do it client-side if the browser supports it).
You can use Php's XSLT functions see the manual for more info.
I was just suggesting this as a potential option. It may not be
appropriate in this situation. I
Something like this will work...
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I'll be trying to use a routine that checks 4 seperate variables for
> content and need to know the easiest method to do so. The function works
> on 2 conditions; either al
hi,
i want to save a base64 encoded string after i decode it. i saw that
base64_decode function returns a string. so how do i save it as a binary
file? i plan to save it to postgresql database field.
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Something like this will work...
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> The db will include these 4 rows even though they don't store data.
> Eventually they will contain data for contact info as soon as the users
> log in and it prompts them for i
That's what I was looking to acheive. Thanks!
Ed
On Tue, 26 Nov 2002, Craig wrote:
> Something like this will work...
>
>
> if(empty($_GET['1']) && empty($_GET['2']) && empty($_GET['3']) &&
> empty($_GET['4'])){
>
> echo "All vars are EMPTY";
>
> }else{
>
> echo "Some vars contain
Gretings:
I want to pass a URL query string to another php script. I am able to
pass the complete query string with all the variables I want through to
the javascript function call but then the string gets cut in the php
script:
in the shopping cart:
this page
where 'ref' is set correctly an
> Tried that, but no go. I did figure it out however. Putting the following
at
> the bottom of the $header seemed to work.
>
> $headers .= "--=MIME_BOUNDRY_message_parts\n";
> $headers .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n";
> $headers .= "Content-Transf
> Thanks for the reply, however, that will not work. The only line breaks
you
> may get with that are those layed out in a text box or from your mail
> client. What if I have other variables that need to be put in the body of
> the email.
>
> i.e.
>
> Age: 16
> Height: 168
> Weight: 120
> etc
> et
hi nicole,
do you have an example what your query contains ?
maybe urlencode($pageURL) or quoting will help
greetings martin
> -Ursprüngliche Nachricht-
> Von: Nicole Lallande [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 26. November 2002 15:40
> An: [EMAIL PROTECTED]
> Betreff: [PHP
Nicole Lallande wrote:
> Gretings:
>
> I want to pass a URL query string to another php script. I am able to
> pass the complete query string with all the variables I want through
> to the javascript function call but then the string gets cut in the
> php script:
>
> in the shopping cart:
> this p
Hi,
Is it possible to use mbstring after setting the necessary values in
ini_set() or htaccess without having it enabled during /configure?
thanks
Oliver
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there.
It's been a while since I have done any PHP work. I am creating an online
employment application using multiple forms for a client. I was going to use
PHP. I don't remember if I need to pass variables along with the form for
each page, or can I just call them on the last page.
The appli
> It's been a while since I have done any PHP work. I am creating an online
> employment application using multiple forms for a client. I was going to use
> PHP. I don't remember if I need to pass variables along with the form for
> each page, or can I just call them on the last page.
> The applica
--- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote:
> At 13:50 26.11.2002, [EMAIL PROTECTED] said:
> >if ($lineone && $linetwo && $linethree && $linefour = "")
>
> Your expression yields true if 1-3 are not-empty AND four is an
> empty string.
Actually, this expression yields true when $lineone,
Oliver Spiesshofer wrote:
> Hi,
>
> Is it possible to use mbstring after setting the necessary values in
> ini_set() or htaccess without having it enabled during /configure?
Nope...the functions of mb are unknown, because you didn't compile them.
Grtz Erwin
--
PHP General Mailing List (http://
"Geoff Hankerson" <[EMAIL PROTECTED]> wrote:
> You don't need to do client-side transformation (although you could
> check user agent and do it client-side if the browser supports it).
> You can use Php's XSLT functions see the manual for more info.
>
> I was just suggesting this as a potential o
--- Shane McBride <[EMAIL PROTECTED]> wrote:
> I don't remember if I need to pass variables along with the
> form for each page, or can I just call them on the last page.
Consider using sessions:
http://www.php.net/manual/en/ref.session.php
Chris
--
PHP General Mailing List (http://www.php.ne
So, you are using a database to store the records?
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 10:45 AM
To: Shane McBride; [EMAIL PROTECTED]
Subject: Re: [PHP] Multiple page form
> It's been a while since I have done any PHP work. I am
Derick Rethans wrote:
> Jonathan Rosenberg wrote:
>> I have a page with thumbnail pictures that can be clicked on to see
>> a larger picture. Each picture is hyperlinked as follows
>>
>>
>>
>> I access the 'pic' & 'caption' attributes with $_GET['pic'], etc.
>> Pretty standard stuff.
>>
>> I have
Hi All,
Quick question, has anyone had any luck using the
register_tick_function
and
declare (ticks=32){ ...}
construct?
I have a need to try this out to measure the times taken in various
functions etc using this sort of method, I want to know is there any way of
extracting the function n
Hello,
(B
(B"Oliver Spiesshofer" <[EMAIL PROTECTED]> wrote:
(B
(B> Hi,
(B>
(B> Is it possible to use mbstring after setting the necessary values in
(B> ini_set() or htaccess without having it enabled during /configure?
(B
(BNo.
(B
(BWell, if you're using windoze, you can probably just do
On Tuesday 26 November 2002 23:45, Chris Shiflett wrote:
> --- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote:
> > At 13:50 26.11.2002, [EMAIL PROTECTED] said:
> > >if ($lineone && $linetwo && $linethree && $linefour = "")
> >
> > Your expression yields true if 1-3 are not-empty AND four is an
> >
Nic Fordham wrote:
> Hi there,
> I am hosting a server running castle wolfenstein for a few friends of
> mine & want to make a web page to run on the same server that they
> can log in to to stop & start the game when they want.
> I have tried putting the following code in a web page -
>
> exec (
> So, you are using a database to store the records?
Yes. What's the point in taking the user's information if you aren't
going to store it somewhere. Even if all you need to do is email
the data upon completion of the form, storing the data for later use
would be a good idea.
Chris
--
PHP G
In an earlier message, Derick Rethans [mailto:[EMAIL PROTECTED]] said ...
> Yes it is. Actually, you should specify the URL with the
> & yourself, like this:
>
> otherwise it is not valid HTML.
I understand that using '&' is technically not correct HTML. But I don't
see how changing the '&'
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> At 13:50 26.11.2002, [EMAIL PROTECTED] said:
> >if ($lineone && $linetwo && $linethree && $linefour = "")
>
> Actually that expression will always be FALSE. $linefour = ""
> does not evaluate to TRUE thus the whole expression to be FALSE!
Yes, you're ri
Not, this answer makes sense. I couldn't see how using '&' in the query
string would work.
I'm gonna take the advice & augment my error message to include browser name
& other info. I've been wondering if a web crawler might be causing this.
I'll let you know what turns up (of course, the probl
--- Chris Boget <[EMAIL PROTECTED]> wrote:
> > So, you are using a database to store the records?
>
> Yes. What's the point in taking the user's information if you
> aren't going to store it somewhere. Even if all you need to do is
> email the data upon completion of the form, storing the data f
> I'll let you know what turns up (of course, the problem will stop
> occurring once I add this info :-).
As it always does ;-))
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
"Jonathan Rosenberg (Tabby's Place)" <[EMAIL PROTECTED]> wrote:
[snip]
> I'm missing something here. If you use '&' to separate arguments on
the
> query string, how do they get separated out for access via $_GET?
[/snip]
Don't worry about it, just try it :)
Anyway, the link that has & w
> > Yes. What's the point in taking the user's information if you
> > aren't going to store it somewhere. Even if all you need to do is
> > email the data upon completion of the form, storing the data for
> > later use would be a good idea.
> Since it seems like you are inferring otherwise, I shou
"Chris Boget" <[EMAIL PROTECTED]> wrote:
> > So, you are using a database to store the records?
>
> Yes. What's the point in taking the user's information if you aren't
> going to store it somewhere. Even if all you need to do is email
> the data upon completion of the form, storing the data f
--- "Jonathan Rosenberg (Tabby's Place)" <[EMAIL PROTECTED]> wrote:
> In an earlier message, Derick Rethans [mailto:[EMAIL PROTECTED]] said
>
> > Yes it is. Actually, you should specify the URL with the
> > & yourself, like this:
> >
> >
> >
> > otherwise it is not valid HTML.
>
> I understand
> > Yes. What's the point in taking the user's information if you aren't
> > going to store it somewhere. Even if all you need to do is email
> > the data upon completion of the form, storing the data for later use
> > would be a good idea.
> Not always. Are your users aware of this?
> Just wonde
Dear Martin & Erwin,
Tried the urlencode - same thing happened - the variables after the
first one were chopped off - so
this page
where the url is
http://mydomain.com/displayem.php3?cat=5&olimit=0&zid=1&lid=1
results in http://mydomain.com/displayem.php3?cat=5 being passed and
the '&olimit=
--- Nicole Lallande <[EMAIL PROTECTED]> wrote:
> this page
>
> where the url is
>
> http://mydomain.com/displayem.php3?cat=5&olimit=0&zid=1&lid=1
>
> results in http://mydomain.com/displayem.php3?cat=5 being passed
> and the '&olimit=0&zid=1&lid=1' gets cut off
Can you visit this page, view so
I'm interested in spawing a new PHP process -- if that's the correct terminology.
The situation is that I've got a very slow loading page, where, for example, I'm using
PHP to send, say, 1000 emails. The user clicks submit, and, although PHP is firing
out the emails, it appears to the user that
Okay, that's neat and I get what you're saying with xml_process() to
handle this.
>From what I'm reading, it would not allow this sort of procedure, but
please let me know otherwise:
==
echo "" . $ServerName;
if ($ServerType)
{
echo " ("
The correct solution for this particular problem is to just queue the
outbound mail and have your MTA deliver them out of band. "man sendmail"
-Rasmus
On Tue, 26 Nov 2002, ROBERT MCPEAK wrote:
> I'm interested in spawing a new PHP process -- if that's the correct terminology.
>
> The situation
Assuming you're working on UNIX--you need to use one of the execute
functions (search for exec in the manual). You can spawn a separate PHP
in the background in a number of way, for example, by using the screen
program.
If I remember correctly, you can't instantiate it directly and run it in
the
Hi,
Apache 1.3.24, PHP 4.2.2
I am running a php script which executes something like
system("scp -r -S ssh host1:/home/dir host2:/home");
The scp command executes as the apache user, in my case 'nobody'. This does
not work, as the ssh authentication is not set up for user 'nobody' nor
should it
Hello,
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 application using multiple forms for a client. I was going to use
PHP. I don't remember if I need to pass variables along with the form for
each page, or can I
Hi,
suEXEC will only work if PHP is installed as CGI, not Apache module...
Regards,
Serge
> Hi,
>
> Apache 1.3.24, PHP 4.2.2
>
> I am running a php script which executes something like
>
> system("scp -r -S ssh host1:/home/dir host2:/home");
>
> The scp command executes as the apache us
At 16:45 26.11.2002, Chris Shiflett spoke out and said:
[snip]
>--- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote:
>
>> At 13:50 26.11.2002, [EMAIL PROTECTED] said:
>> >if ($lineone && $linetwo && $linethree && $linefour = "")
>>
>> Your expression yields tr
--- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote:
> >> >if ($lineone && $linetwo && $linethree && $linefour = "")
> >>
> >> Your expression yields true if 1-3 are not-empty AND four is an
> >> empty string.
> >
> > Actually, this expression yields true when $lineone, $linetwo,
and
> > $linethree
At 16:54 26.11.2002, Erwin spoke out and said:
[snip]
>> Actually, you should specify the URL with the &
>> yourself, like this:
>>
>>
>
>Of course not...this is a HREF tag, which can use & instead of &. &
>is for displaying purposes only, not for URL's.
No
Have your page before the email's would actually be sent, submit to a
page with a frameset, in the bottom frame have a height of 1 pixel so
that it's invisible. Then, in your PHP page, add something like:
parent.topframe.progress.value =
eval(parent.topframe.progress.value)+1;
Have that
Chris -- thanks! didn't think to look - the 'ref' variable is being
passed correctly in the form action=:
http://embitec.com/fishcart/email.php?ref=http://embitec.com/fishcart/displayem.php3?cat=5&olimit=0&zid=1&lid=1"; method="post">
but below in the text area where I display it:
or even
it
--- Nicole Lallande <[EMAIL PROTECTED]> wrote:
> http://embitec.com/fishcart/email.php?ref=http://embitec.com/fishcart/displayem.php3?cat=5&olimit=0&zid=1&lid=1";
method="post">
There is your problem right there. Here are the variables you are
passing:
ref=http://embitec.com/fishcart/displayem.p
My company, as a matter of policy, closes the ftp ports of the servers in the DMZ.
However, I am not convinced that this is necessary, given the advent of very secure
ftp servers. I would appreciate any comments on the security of an open ftp port. To
relate this to php, I am ready to give up t
Rich,
Why don't you create an ssh tunnel between your two boxes and then
perform you ftp connection through there? This way, the connection would
be secure and you could impersonate whichever user you need to.
There is also a secure version of ftp, but I don't think that it can be
instantiated di
Chris -
Tried that -- I have urlencode in the script that sends the url and I
have url encode right below the form action -- ref is getting cut off at
the first ampersand - regardless:
where:
action="http://embitec.com/fishcart/email.php?ref=http://embitec.com/fishcart/displayem.php3?cat=5&olim
Hello,
I am a beginner of PHP/MySQL. I have tried several times to install PHP3
and MySQL (free products) to conduct some web pages for my company, but
lots of trouble came up. I just followed the instruction on www.php.net
but it did not help.
Can you help me? Thanks.
Manh.
[EMAIL PROTECTED]
On Mon, 2002-11-25 at 20:22, Justin French wrote:
>
> I don't think I was being clear enough at all :) 12px is 12pixels... there
> is no way for it to *reliably* be reset to 14px, or 10px by the user on all
> browser.
That's like saying 10% is 10%. 10% of what? The physical size of a pixel
vari
it's to do with probably folder permissions, the folder all your web files
are should have IUSR_machinename added to the folder with full rights, the
login box should then not appear...
"Shaun Garriock" <[EMAIL PROTECTED]> wrote in message
018301c2954d$265b4010$c101a8c0@rgcweb01">news:018301c2954d
--- Nicole Lallande <[EMAIL PROTECTED]> wrote:
> Tried that
I'm thinking you haven't, but I might be wrong. The HTML you showed
us previously was of a form tag. The action attribute of that form
tag is where your problem lies.
http://embitec.com/fishcart/email.php?ref=http://embitec.com/fishcart
> 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 comma a
Hi,
I have some code that writes data to a socket (works fine) and stores the
resource id created in a table with the column defined as varchar (80). Then
the next time I need to write data to the same IP I retrieve the resource id
and reuse it. Problem is that the socket_write seems to work fine
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
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
> > > 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 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
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
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
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
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
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
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/
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
> > 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
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
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
> -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
1 - 100 of 185 matches
Mail list logo