Hi there I am trying to use php to output an asx playlist but depends
on a special hash in the url to prevent hotlinking. I am using a
session to store a generated token when generating the url to display
in an embedded player. The token is added in the filename and I am
using rewrite rules to
Hi
When I enter text as more than on paragrahs in a textarea field,The text
is displayed in one solid block of text even though I have entered it in
paragraphs.
How I can to insert line breaks in the text. (The values of textarea is
stored in database and then displayed.)
Bushra
--
PHP Ge
I thought you had to put the php.ini in the c:\windows directory?
-Original Message-
From: Glen Zimmerman [mailto:[EMAIL PROTECTED]
Sent: 27 August 2005 22:39
To: php-general@lists.php.net
Subject: RE: [PHP] PHP MySql Extension No Loading
*
This e-ma
bushra wrote:
Hi
When I enter text as more than on paragrahs in a textarea field,The text
is displayed in one solid block of text even though I have entered it in
paragraphs. How I can to insert line breaks in the text. (The values of
textarea is stored in database and then displayed.)
If y
Shaw, Chris - Accenture wrote:
I thought you had to put the php.ini in the c:\windows directory?
Please don't top-post. He said that when he changes the php.ini file the
changes take effect after restarting Apache, so that's not the problem.
See my other comments below.
-Original Messa
Hi folks!
I have compiled PHP 5.0.4 at my Slackware machine at home, I have the
FTP support enable and I trying connect to the FTP with this little scritp:
And I always get: error file array, so there is problem with the ftp_nlist I think.
But the sripts work well at my webhosting, but It d
You can e.g. use javascript for intra-frame communication, but for a
more specific answer we need a more specific question.
Jens
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have just discovered on closer debugging, the windows media plugin is
loading the file twice, i can see the stop button flicker twice and i
made an error log and the word loaded shows up twice, would this be
causing an issue with the session ?
On 29/08/2005, at 5:20 PM, Dan Rossi wrote:
Hi
HI,
how can i write regular expression for time in 24-hour format i:e, HH:MM:SS.
using preg_match.
thanks
babu
-
How much free photo storage do you get? Store your holiday snaps for FREE with
Yahoo! Photos. Get Yahoo! Photos
Hi there,
How can I protect all files with extension .xml from being accessed by the
outside? For Apache can one use .htaccess (if yes, how?), is there a generic
way of keeping stalkers from viewing your config files?
Thomas
SPIRAL EYE STUDIOS
P.O. Box 37907, Faerie Glen, 0043
Tel: +27
[snip]
How can I protect all files with extension .xml from being accessed by
the
outside? For Apache can one use .htaccess (if yes, how?), is there a
generic
way of keeping stalkers from viewing your config files?
[/snip]
You can put them outside of the web root so that they are not accessible
to
On 29/08/2005, at 10:00 PM, Dan Rossi wrote:
I have just discovered on closer debugging, the windows media plugin
is loading the file twice, i can see the stop button flicker twice and
i made an error log and the word loaded shows up twice, would this be
causing an issue with the session ?
Thomas wrote:
Hi there,
How can I protect all files with extension .xml from being accessed by the
outside? For Apache can one use .htaccess (if yes, how?), is there a generic
way of keeping stalkers from viewing your config files?
You can put them outside of the web root, or you can use .
babu wrote:
HI,
how can i write regular expression for time in 24-hour format i:e, HH:MM:SS. using preg_match.
thanks
babu
-
How much free photo storage do you get? Store your holiday snaps for FREE with
Yahoo! Photos. Get Yahoo! Photos
Yo
Hello babu,
Monday, August 29, 2005, 6:50:32 AM, you wrote:
> how can i write regular expression for time in 24-hour format i:e,
> HH:MM:SS. using preg_match.
--TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B
__ Geocaching:
"Simon Fredriksson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can anyone tell me what is wrong here?
>
> $data = "Pic 1";
> $info = sscanf($data,"%s");
> var_dump($info);
> ?>
One way to do this is:
Pic 1";
sscanf($data,"%s", $class, $href, $text);
echo "Class = $class";
echo
Hi there!
Is it possible to get (retrieve) the computername of the client? I just want
the name for comparing...
/G
@varupiraten.se
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anybody point to a good resource of a collection of filtering for
common inputs such as those listed by Chris above?...
I've searched for that and generally found one of two things:
1. Nothing useful.
2. A system so baroque and complex and with so much other baggage, it
would be impossible t
Hi all,
I would like to find a way to get my computers LAN IP address through PHP.
I tried using the gethostbyname("HOSTNAME") function, however I only got
back the 127.0.0.1 address.
Any help is always appreciated
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Philippe Reynolds wrote:
Hi all,
I would like to find a way to get my computers LAN IP address through
PHP. I tried using the gethostbyname("HOSTNAME") function, however I
only got back the 127.0.0.1 address.
Any help is always appreciated
Cheers
Phil
Server or client IP?
Server : $_SERV
No, according to the documentation, it goes into the directory pointed
to by PHPIniDir. My php.ini file is being read properly when Apache
loads. Its just when I have the line, extension=php_mysql.dll ,
uncommented that I receive the error.
>>> "Shaw, Chris - Accenture" <[EMAIL PROTECTED]> 08/29
Hi.
I think you want to get the internal IP adress which computer uses? Am I
right?
If yes, that is not possible with PHP directly, but it is possible with
Java and PHP.
Erik
Philippe Reynolds wrote:
Hi all,
I would like to find a way to get my computers LAN IP address through
PHP. I tr
Yes, I would hard code my IP address but when the computer crashs the server
assigns it a different IP address, so I have to make my code a tad more
dynamic...
I havn't touched Java in a while, would you know the function for that?
Thanks again
I think you want to get the internal IP adress w
Thanks, Jasper, that seems to have done the trick. I'm not sure I
understand why it is necessary to put the dll in system32, since there is an
environment variable for the path that is pointing to c:\php. I would seem
that it would pick up the dll through this env variable.
>>> Jasper Bryant-Gre
Sorry for the split of threds, i dont have the original email.
This is the answer from computerworld regarding the article
http://www.computerworld.com/securitytopics/security/holes/story/0,10801,104124,00.html
,
>Thank you for taking the time to write in. I see your point.
>The article
Okay.
There I have script for you: http://pokusy.depi.sk/internalip.zip. Just
download it and see the source.
You can see how it works here: http://pokusy.depi.sk/inernalip/ip.php.
Hope that helps you.
Erik
Philippe Reynolds wrote:
Yes, I would hard code my IP address but when the computer
On 2005-08-29, "Philippe Reynolds" <[EMAIL PROTECTED]> wrote:
> Yes, I would hard code my IP address but when the computer crashs the server
> assigns it a different IP address, so I have to make my code a tad more
> dynamic...
Have you had a look at tools that you get at dynip etc?
--
Met vri
On Monday 29 August 2005 16:09, Dan Rossi wrote:
> ? I logged two different sess id's being created.
Hi
I have seen this behaviour as well, although in another context. The solution
was to have the session_start instruction be one of the very first.
In fact, in my software, the session_start i
On Sunday 28 August 2005 19:26, Jan Broermann wrote:
> _
> Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle
> Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
Lauffen sie scheissen!
It's bad enough when somebody posts a blank email to the list, but when
people start posting blank replies, it gets really frustrating.
Please cease & desist.
Thanks
Brian
"Andy Pieters" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.ne
On Mon, 2005-08-29 at 11:07, Jay Paulson wrote:
> > Can anybody point to a good resource of a collection of filtering for
> > common inputs such as those listed by Chris above?...
> >
> > I've searched for that and generally found one of two things:
> >
> > 1. Nothing useful.
> > 2. A system so bar
This is probably a really simple question, but I can't work out what to
write! I've written a fairly standard HTML form and I would like an
email to be generated as soon as the user clicks 'Submit'. Can you help?!
Thanks
Ravi Gogna
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
[snip]
This is probably a really simple question, but I can't work out what to
write! I've written a fairly standard HTML form and I would like an
email to be generated as soon as the user clicks 'Submit'. Can you
help?!
[/snip]
Yes.
I was able to conjure up a whole page
Personally I reckon that you should simply place them outside the webroot.
If you are either too lazy to do this, or too paranoid for this alone,
then you could consider renaming them from filename.xml to
.ht_filename.xml. There is a section in most default apache config
files to make filenames be
You need to be __W__A__Y__ more specific.
(the Capital letters and underscores were for added emphasis)
On 8/29/05, Ravi Gogna <[EMAIL PROTECTED]> wrote:
> This is probably a really simple question, but I can't work out what to
> write! I've written a fairly standard HTML form and I would like a
Ravi Gogna wrote:
This is probably a really simple question, but I can't work out what to
write! I've written a fairly standard HTML form and I would like an
email to be generated as soon as the user clicks 'Submit'. Can you help?!
Yes.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EM
[snip]
Yes.
[/snip]
Watch out, this'll start a flood of "why can't you be nice"? e-mail
John, any relatives still in LA?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How are you weathering the storm? I hope all is well there.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nice to know that newbies are well looked after on these lists. If you
didn't wanna help, you could have not clicked reply
Jay Blanchard wrote:
[snip]
Yes.
[/snip]
Watch out, this'll start a flood of "why can't you be nice"? e-mail
John, any relatives still in LA?
--
PHP General Maili
Ravi -
http://www.php.net/mail
That page should get you on your way.
http://www.ouradoptionblog.com
Join our journey of adoption
http://www.thelonecoder.com
[EMAIL PROTECTED]
continuing the struggle against bad code
*/
?>
> From: Ravi Gogna <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTEC
Ravi Gogna is quoted as saying on 8/29/2005 1:53 PM:
> This is probably a really simple question, but I can't work out what to
> write! I've written a fairly standard HTML form and I would like an
> email to be generated as soon as the user clicks 'Submit'. Can you help?!
Sure, but what do you wan
Dude,
Im a new guy too..If u don't even provide a code do you THINK we will all
write & email a code to u?
Chirantan Ghosh
PS: I think a little modesty is in order asking for help. We have the
neatest, helpful people around here.
- Original Message -
From: "Ravi Gogna" <[EMAIL PRO
Ravi Gogna wrote:
Nice to know that newbies are well looked after on these lists. If you
didn't wanna help, you could have not clicked reply
Help != Holding One's Hand
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
Nice to know that newbies are well looked after on these lists. If you
didn't wanna help, you could have not clicked reply
[/snip]
I think, if I recall correctly, that you were provided with the web
address of the manual specifically relating to e-mail. You asked, "Can
you help?!". The ans
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my ethernet.
It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
Cheers
Phil
--
PHP General Mailing List (ht
Hi there!
How do I do a sort in PHP where a column in a db must be two other columns
divided...`?
I tried to use DIV-function in MySQL but it doesn't seem to work ): Of
course, I can hard-code it, but i want this value because of sorting ten
largest of the resultvalue. ($gradeJoke). Ten best
Hi list
I've googled... how is it that no PHP list-server email goes to any of
my gmail accounts?
This email is in itself a test ;-) so I might not even get your reply(ies).
TiA
smee
--
/bin/tar --done-dat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
LOL. They could have opened up their browser window and performed the
following:
http://www.google.com/search?hl=en&q=php+send+email+after+form+submit&btnG=Google+Search
But I think they were trying to suggest that you
1. do the same, or
2. ask a more specific question.
kgt
Ravi Gogna wr
The thing is that we do want to help. We want everyone to have as
positive experience as possible with PHP, and I've personally spent
hours in the past helping people with their various PHP Problems, both
on this list and elsewhere, so you'll understand if I take issue with
your suggestions.
Most
On 8/29/05, Stuart Murray-Smith <[EMAIL PROTECTED]> wrote:
> I've googled... how is it that no PHP list-server email goes to any of
> my gmail accounts?
>
> This email is in itself a test ;-) so I might not even get your reply(ies).
Works fine here.
--
Greg Donald
Zend Certified Engineer
MySQ
Mikey wrote:
ok, so you have html like
and you have js like
// some event that triggers the script
document.images['img'].location = "/images/updated_graph.php";
And php makes your graph. Using whatever classes you choose.
Another option is to exchange the images (using the JavaScript Mike
Rory Browne wrote:
> The thing is that we do want to help. We want everyone to have as
> positive experience as possible with PHP, and I've personally spent
> hours in the past helping people with their various PHP Problems, both
> on this list and elsewhere, so you'll understand if I take issue wi
Hello,
on 08/29/2005 02:53 PM Ravi Gogna said the following:
This is probably a really simple question, but I can't work out what to
write! I've written a fairly standard HTML form and I would like an
email to be generated as soon as the user clicks 'Submit'. Can you help?!
If you want to sen
Hello, all -
I was doing some thinking today about the above three subjects. Now, I
might sound like a complete tool here because I don't think I quite know
exactly in which instances constructors and destructors can be used -
but what about inside a session?
Say I had a visitor hit a site. A s
Dan Trainor wrote:
I was doing some thinking today about the above three subjects. Now, I
might sound like a complete tool here because I don't think I quite know
exactly in which instances constructors and destructors can be used -
but what about inside a session?
Say I had a visitor hit a sit
Does your load balancer support sticky sessions? What this means is a
client will make a request and the request will be sent through a load
balancer. That LB will remember the client and always point the
client's requests to the same webserver. This way you don't have to
write your own session
Nathan Tobik wrote:
> Does your load balancer support sticky sessions? What this means is a
> client will make a request and the request will be sent through a load
> balancer. That LB will remember the client and always point the
> client's requests to the same webserver. This way you don't hav
Thanks for replying, Jasper -
>> Is this possible? Does it work this way? If so, or if not for that
>> matter, please help me out here to better understand how these three
>> elements interact with eachother, if at all.
Ah yes, me being quite new didn't take into consideration in which
versio
I've never looked into some of the open-source load balancing solutions,
but I know they exist are are out there. The F5's I mentioned are
probably around $20k each, and you need two obviously, so if you're on a
limited budget those are not the solution for you. I'd google for open
source load ba
Nathan Tobik wrote:
> I've never looked into some of the open-source load balancing solutions,
> but I know they exist are are out there. The F5's I mentioned are
> probably around $20k each, and you need two obviously, so if you're on a
> limited budget those are not the solution for you. I'd go
Hello once more, all -
I was wondering if it's at all possible to redirect a user to a remote
site, while passing HTTP AUTH credentials somehow.
I've been tinkering around with making a secure login gateway, and the
first server that they log in to would negotiate the login sequence, but
the syst
Hi,
The following code is attempting to display a list of work types for all the
users in my database. However it only loops through the inner loop once and
I can't work out why, can anyone help here please?
Thanks for your help
Work_Type; ?>
--
PHP General Mailing List (http
Dan Trainor wrote:
Hello once more, all -
I was wondering if it's at all possible to redirect a user to a remote
site, while passing HTTP AUTH credentials somehow.
Yes, but...
I'd rather not use http://user:[EMAIL PROTECTED], however. There's got to
be a different way. I understand that
Shaun wrote:
Hi,
The following code is attempting to display a list of work types for all the
users in my database. However it only loops through the inner loop once and
I can't work out why, can anyone help here please?
Work_Type; ?>
Well, if Project_ID is a primary key o
Or you can save the the session in the database [ works good for me ]
Sharing the cookie is easy when you have multiple boxes on the same tld
[ or FQDN ]
Evert
Dan Trainor wrote:
Nathan Tobik wrote:
I've never looked into some of the open-source load balancing solutions,
but I know they
Thanks andy, I'll give this a shot however I am already doing this in
the constructor of my class. However its just after calling the
constructor of the base class. What I have noticed is really freaky.
The plugin is loading my php script 4 times when loading to play a
file, for the 3 times the
I had the same issue not so long ago, the solution we ended up going
with was Pound for the load balancer and stock Apache webservers. Pound
supports sticky sessions which you can configure the timeout for, and
also can proxy https->http. We also wrote our own session handlers to
allow session v
Just an update i've changed to use non cookie based sessions using
pear's HTTP_Session so sending it in the filename string which loads in
the query string of the php script within the plugin's file source.
However the session isnt expiring now lol.
On 30/08/2005, at 10:32 AM, Dan Rossi wrote:
Hey guys,
Thanks for all the answers. I had not considered leaving the xml file
outside the webroot (duh!). However, in this case I don't think it would
work, as the project is working through a svn structure (and some boxes run
Linux, otherwise Win).
I thought that the .htaccess would have been t
Thomas wrote:
Thanks for all the answers. I had not considered leaving the xml file
outside the webroot (duh!). However, in this case I don't think it would
work, as the project is working through a svn structure (and some boxes run
Linux, otherwise Win).
I thought that the .htaccess would have b
Philippe Reynolds wrote:
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my
ethernet. It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
--
PHP General M
71 matches
Mail list logo