Re: [PHP] $_POST bug?

2003-11-12 Thread Ryan Thompson
On Thursday 13 November 2003 00:59, Jake McHenry wrote: > > -Original Message- > > From: Jake McHenry [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 13, 2003 12:53 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] $_POST bug? > > > > > > I have 5 fields, all 1 character in length, num

[PHP] C++ objects

2003-11-12 Thread Sreesekhar Palaparthy
Hi, How do i use a class which is implemented in C++ ,to create instances of that class in a PHP file ?? Can i use shared object concept to achieve this ??? Please help me with this problem.Thank You.

RE: [PHP] Calling PHP functions from within javascript

2003-11-12 Thread Jake McHenry
> -Original Message- > From: Nitin [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 1:35 AM > To: PHP-General > Subject: [PHP] Calling PHP functions from within javascript > > > Hi all, > > can anybody tell me how to call PHP functions from within > javascript, as I want m

Re: [PHP] $_POST bug?

2003-11-12 Thread - Edwin -
On Thu, 13 Nov 2003 00:59:11 -0500 "Jake McHenry" <[EMAIL PROTECTED]> wrote: ...[snip]... > Just to test, I changed the input field length to 3, and > every time I tried it, single 0 does not create the $_POST > variable. Double 0's create it, along with any other > numbers, it's only when a sing

[PHP] Calling PHP functions from within javascript

2003-11-12 Thread Nitin
Hi all, can anybody tell me how to call PHP functions from within javascript, as I want my PHP function to be interactive. I need to call the function written in the same page, with the values selected by the user Thanx in advance Nitin

Re: [PHP] Cannot bind to port 80

2003-11-12 Thread Teren
Sorry to flood your boxes (including my own...lol...) I have it running A ok now. Thanks Teren - Original Message - From: "Evan Nemerson" <[EMAIL PROTECTED]> To: "Teren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 1:19 AM Subject: Re: [PHP] Cannot bind to

Re: [PHP] Cannot bind to port 80

2003-11-12 Thread Evan Nemerson
On Wednesday 12 November 2003 10:11 pm, Teren wrote: > Hi, I recently upgraded my box to php 4.3.4 and i copied the current > configure line and then ran it in the un-tared directory. I ran make, then > make install. I tried to restart apache and it wouldn't restart. Any ideas? Sounds like somethi

Re: [PHP] First test release of BTportal made!!!!

2003-11-12 Thread Evan Nemerson
On Wednesday 12 November 2003 12:24 am, Jason Wong wrote: > On Tuesday 11 November 2003 20:11, Burhan Khalid wrote: > > Bas wrote: > > > It's avaiable on: > > > > > > http://members.home.nl/famde.jong/portalBT-0.0.1.zip > > > > Get your own list. php.general is not your personal announcement list.

[PHP] Cannot bind to port 80

2003-11-12 Thread Teren
Hi, I recently upgraded my box to php 4.3.4 and i copied the current configure line and then ran it in the un-tared directory. I ran make, then make install. I tried to restart apache and it wouldn't restart. Any ideas? I tried the things that were on google but those didn't work. The apache err

RE: [PHP] $_POST bug?

2003-11-12 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 12:53 AM > To: [EMAIL PROTECTED] > Subject: [PHP] $_POST bug? > > > I have 5 fields, all 1 character in length, numbers being > entered. If zero's are entered in the boxes, and the fo

[PHP] $_POST bug?

2003-11-12 Thread Jake McHenry
I have 5 fields, all 1 character in length, numbers being entered. If zero's are entered in the boxes, and the form is submitted, the corresponding $_POST variables are empty? Is there a way around this, or am I doing something wrong? I guess I could just do, if (isset(... Blah.. Then if it's not

[PHP] having problems connecting with imap module..

2003-11-12 Thread Rolf Brusletto
Hey all - this is really my first time jumping into the imap module, but I'd like to read from an email box and then archive the messages into an html template... here are the errors I get.. Certificate failure for 127.0.0.1: self signed certificate /C=US/ST=NY/L=New York/O=Courier Mail Server

Re: [PHP] Help with Javascript

2003-11-12 Thread Jason Wong
On Thursday 13 November 2003 01:47, Payne wrote: > I know this is a php question so if you can give me a javascript mailing > that would be a BIG help. Is it that hard to type "javascript mailing list" into your favourite search engine? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz

Re: [PHP] HTTP1.1 problems maybe?

2003-11-12 Thread Chris Shiflett
Hi Shawn, --- Shawn McKenzie <[EMAIL PROTECTED]> wrote: > I've never sent attachment to this group, hope it is ok. It is generally fine, although I think most people prefer that you trim your code down to the most relevant bit and include that in the body of the email. I got a bit lost in your a

Re: [PHP] php compile....

2003-11-12 Thread Jason Wong
On Thursday 13 November 2003 05:42, John Nichel wrote: > Is the phpinfo page showing your php code '', or is > it blank as in no content at all? > > If no content, what do you see when you view the source of the page in > the browser? > > Did you restart apache? > > Did you compile php at the same

Re: [PHP] split()

2003-11-12 Thread Chris Shiflett
--- erythros <[EMAIL PROTECTED]> wrote: > trying to use split(). i want to split a paragraph by sentence. so of > course i used split('[.!?]', $data). but then i noticed i use ... or > every now and again at the end of a sentence. Maybe you could explode on a period followed by a space? I wou

RE: [PHP] Why is this code not working? [SOLVED]

2003-11-12 Thread Dave G
> > PHP Gurus, > If you say so... A few people have remarked about this. It's just a habit of mine. Whatever list I'm on, I address it to the "gurus" of that list. A guru being anyone who knows more than me, which is almost everyone. So on the CSS list, I address it to "CSS Gurus". On the

RE: [PHP] sorting files by date

2003-11-12 Thread Martin Towell
> > If the filename has anything to do with the date, then just > sort it. > > MM > > is numeric and not alphabetic, right? > > I guess I should do some more testing -- didn't expect sort() would > work on dates, but I'll happily go run some tests :) This only really works if your format's YY

[PHP] split()

2003-11-12 Thread erythros
trying to use split(). i want to split a paragraph by sentence. so of course i used split('[.!?]', $data). but then i noticed i use ... or every now and again at the end of a sentence. i don't know how to do this though... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

RE: [PHP] Calendar

2003-11-12 Thread Dave G
Steve, I'm a complete beginner, and I just finished building my own calendar. I tried using some pre-built ones, like this one: http://www.cascade.org.uk/software/php/calendar/index.php ... but I found that trying to figure out how to use their features was a whole n

Re: [PHP] validate names with regex

2003-11-12 Thread John W. Holmes
Chris W. Parker wrote: CPT John W. Holmes on Wednesday, November 12, 2003 2:09 PM said: $match = "^[a-z]+([- ]{1}|(\\\'))?[a-z]+$"; along with eregi(), but it can (should) be easily adapted to a syntax compatible with preg_match(). I'm wondering two things:

Re: [PHP] sorting files by date

2003-11-12 Thread Justin French
On Wednesday, November 12, 2003, at 12:52 PM, David T-G wrote: OK. So what are you filming? :-) www.preshrunk.com -- they are sending me short video diary entries from the road whilst on tour :) % know how to get the file names into an array, but I don't know how to % sort the array so that th

Re: [PHP] Usings functions and variables from a base class

2003-11-12 Thread Boyan Nedkov
[EMAIL PROTECTED] wrote: Hi there i am having problems using a functions from a base class in a sub class. I am using a perticular function from the base class which is private in a public function in the sub class which is checking for a variable which is set in a function in the base class. Anyw

Re: [PHP] Problem building on Solaris 9....

2003-11-12 Thread Lucas Lain
which version of gcc r u using? On Wednesday 12 November 2003 21:10, Rhugga wrote: > I am having an odd problem building php-4-3.2 on a Solaris 9 box. I built > it fine several weeks ago w/o oracle support (oracle is installed and > working fine). I now need to add oracle support so I went into th

RE: [PHP] nusoap

2003-11-12 Thread Dan McCullough
Let me put up one of my examples. I love it extremly easy, and writting to the list does work, its low volume but someone there can help. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:45 PM To: PHP General Subject: [PHP] nusoap Does an

Re: [PHP] ls as function.

2003-11-12 Thread John Nichel
Marek Kilimajer wrote: So who is wrong and who is right now? I'm confused ;) Hell, I don't even remember the question anymore. :) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ls as function.

2003-11-12 Thread Marek Kilimajer
John Nichel wrote: Chris Shiflett wrote: --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: So, i am looking for a function which return the result of the unix shell command: ls mydir/name* www.php.net/glob I think you read that question wrong, or else I am. :-) Try the second user note on this

[PHP] Problem building on Solaris 9....

2003-11-12 Thread Rhugga
I am having an odd problem building php-4-3.2 on a Solaris 9 box. I built it fine several weeks ago w/o oracle support (oracle is installed and working fine). I now need to add oracle support so I went into the exact same source tree and deleted config.cache and then reconfigured with this comma

[PHP] Usings functions and variables from a base class

2003-11-12 Thread daniel
Hi there i am having problems using a functions from a base class in a sub class. I am using a perticular function from the base class which is private in a public function in the sub class which is checking for a variable which is set in a function in the base class. Anyway, its doesnt seem to reg

Re: [PHP] ls as function.

2003-11-12 Thread John Nichel
Chris Shiflett wrote: --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: So, i am looking for a function which return the result of the unix shell command: ls mydir/name* www.php.net/glob I think you read that question wrong, or else I am. :-) Try the second user note on this page: http://www.ph

Re: [PHP] ls as function.

2003-11-12 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > So, i am looking for a function which return the result of the unix > > shell command: ls mydir/name* > > www.php.net/glob I think you read that question wrong, or else I am. :-) Try the second user note on this page: http://www.php.net/manual

Re: [PHP] php and apache

2003-11-12 Thread Boyan Nedkov
Jen wrote: Hi there. New to the PHP space here and I'm trying to set things up. (if I'm on the wrong newsgroup, please let me know...) I've got Apache 1.3.27 running and I have downloaded PHP 4.3.4 on my computer. Next, I created a test.php file which contains: phpinfo(); ?> That's it - re

Re: [PHP] php and apache

2003-11-12 Thread John Nichel
Jen wrote: Hi there. New to the PHP space here and I'm trying to set things up. (if I'm on the wrong newsgroup, please let me know...) I've got Apache 1.3.27 running and I have downloaded PHP 4.3.4 on my computer. Next, I created a test.php file which contains: phpinfo(); ?> That's it - re

[PHP] php and apache

2003-11-12 Thread Jen
Hi there. New to the PHP space here and I'm trying to set things up. (if I'm on the wrong newsgroup, please let me know...) I've got Apache 1.3.27 running and I have downloaded PHP 4.3.4 on my computer. Next, I created a test.php file which contains: That's it - real simple. I just want to

Re: [PHP] ls as function.

2003-11-12 Thread Marek Kilimajer
Vincent M. wrote: Hello, Is there any function to do: $thumb = exec("ls $dir/name*") ; without using the exec function and without making a while: $direc_src_obj = dir($dir) ; while($entry=$direc_src_obj->read()) { ... } So, i am looking for a function which return the result of the unix shell

Re: [PHP] ls as function.

2003-11-12 Thread John Nichel
Vincent M. wrote: Hello, Is there any function to do: $thumb = exec("ls $dir/name*") ; without using the exec function and without making a while: $direc_src_obj = dir($dir) ; while($entry=$direc_src_obj->read()) { ... } So, i am looking for a function which return the result of the unix shell

Re: [PHP] comparison efficieny

2003-11-12 Thread Marek Kilimajer
Jon Hill wrote: I am sure I read somewhere that doing the following if (false === $variable) was a better option than if ($variable === false) maybe it was a dream or is there something in this? Jon The later will give error if you mistakenly use single =, which can spare you frustration whe

[PHP] ls as function.

2003-11-12 Thread Vincent M.
Hello, Is there any function to do: $thumb = exec("ls $dir/name*") ; without using the exec function and without making a while: $direc_src_obj = dir($dir) ; while($entry=$direc_src_obj->read()) { ... } So, i am looking for a function which return the result of the unix shell command: ls mydir/

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Andre Volmensky
[snip] > All these responses and nobody has said anything about > register_globals? heh, I guess you're right. Feel free to elaborate on what you mean for those of us that don't know what's up with register_globals. [/snip] Well it's all at http://www.php.net/register_globals for anyone that w

Re: [PHP] OOP clarification: Messages between objects

2003-11-12 Thread Boyan Nedkov
Robert Ian Smit wrote: I am trying to implement a generic form handler that is capable of printing the form and checking the user input. I want this application to be useful in the end, but I also use it to explore OOP in PHP. .. I'd like the zipcode object to ask a question to find

RE: [PHP] validate names with regex

2003-11-12 Thread Chris W. Parker
Eugene Lee on Wednesday, November 12, 2003 3:12 PM said: > The range of human names is so wide that there probably isn't a way to > validate names. What part of one's name do you consider valid? What part of one's name do I consider valid? Umm... probably the whole

[PHP] comparison efficieny

2003-11-12 Thread Jon Hill
I am sure I read somewhere that doing the following if (false === $variable) was a better option than if ($variable === false) maybe it was a dream or is there something in this? Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] validate names with regex

2003-11-12 Thread Chris W. Parker
CPT John W. Holmes on Wednesday, November 12, 2003 2:09 PM said: > $match = "^[a-z]+([- ]{1}|(\\\'))?[a-z]+$"; > > along with eregi(), but it can (should) be easily adapted to a syntax > compatible with preg_match(). I'm wondering two things: 1. Is there a

Re: [PHP] validate names with regex

2003-11-12 Thread Eugene Lee
On Wed, Nov 12, 2003 at 01:56:10PM -0800, Chris W. Parker wrote: : : Can someone post a function or regex that can validate names (first and : last)? The most important bit is that names like O'Malley and Hope-Jones : are not barred. The range of human names is so wide that there probably isn't a

Re: [PHP] js, printing and redirection

2003-11-12 Thread Martin Marques
El Mié 12 Nov 2003 19:59, Marek Kilimajer escribió: > Martin Marques wrote: > >> > >>function printAndRedirect() { > >> print(); > >> location="someotherscript.php"; > >>} > >> > > > > Yes, I already have this. > > My problem is that I want to make it work on the event "Onload" (when the >

RE: [PHP] Explanation for php.net front page???

2003-11-12 Thread Chris W. Parker
Robert Cummings on Wednesday, November 12, 2003 2:38 PM said: > It's not active on the main page. It's on the search page. Go there > instead. > > http://www.php.net/search.php Wow that's cool. Sux though that IE's auto-complete gets in the way of the way list.

Re: [PHP] HTTP1.1 problems maybe?

2003-11-12 Thread Shawn McKenzie
Sorry, here is zip with data from mozilla also. mozilla works with HTTP 1.1 enabled in preferences. -Shawn "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've never sent attachment to this group, hope it is ok. > > Any help is much appreciated as I am not well ver

Re: [PHP] js, printing and redirection

2003-11-12 Thread Marek Kilimajer
Martin Marques wrote: function printAndRedirect() { print(); location="someotherscript.php"; } Yes, I already have this. My problem is that I want to make it work on the event "Onload" (when the page ends loading, execute the JS function). And what is so difficult about it? -- PHP

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Chris W. Parker
Andre Volmensky on Wednesday, November 12, 2003 2:17 PM said: > All these responses and nobody has said anything about > register_globals? heh, I guess you're right. Feel free to elaborate on what you mean for those of us that don't know what's up with register_gl

Re: [PHP] js, printing and redirection

2003-11-12 Thread Martin Marques
El Mié 12 Nov 2003 19:36, Marek Kilimajer escribió: > Martin Marques wrote: > > I need to print a page and redirect the browser to another page. As it > > can't be done with PHP, I thought about using javascript. Can anyone give > > me an advise on how to do it? > > You are right, and that means yo

Re: [PHP] HTTP1.1 problems maybe?

2003-11-12 Thread Chris Shiflett
--- Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Yes, thanks Chris. Could it be gzip problems? That's a possibility, but I've never heard reports of IE having trouble with gzip. > I captured with HTTP Interceptor and here are the server response > headers prior to the actual HTML: > > With NO HTT

Re: [PHP] HTTP1.1 problems maybe?

2003-11-12 Thread Shawn McKenzie
Yes, thanks Chris. Could it be gzip problems? I captured with HTTP Interceptor and here are the server response headers prior to the actual HTML: With NO HTTP 1.1 [From Req: GET http://mckenzies.net/nuke69/ HTTP/1.0] HTTP/1.1 200 OK Date: Wed, 12 Nov 2003 22:32:00 GMT Server: Apache/1.3.28 (Unix

Re: [PHP] Explanation for php.net front page???

2003-11-12 Thread Robert Cummings
It's not active on the main page. It's on the search page. Go there instead. http://www.php.net/search.php And it doesn't seem to work with Opera 6 :) Cheers, Rob. On Wed, 2003-11-12 at 17:33, Scott Fletcher wrote: > Hi! > > Would anyone care to explain to me about the article on the front

Re: [PHP] js, printing and redirection

2003-11-12 Thread Marek Kilimajer
Martin Marques wrote: I need to print a page and redirect the browser to another page. As it can't be done with PHP, I thought about using javascript. Can anyone give me an advise on how to do it? You are right, and that means you should ask on javascript list. But here you have it anyway: fu

Re: [PHP] js, printing and redirection

2003-11-12 Thread Chris Shiflett
--- Martin Marques <[EMAIL PROTECTED]> wrote: > I need to print a page and redirect the browser to another page. As it > can't be done with PHP [snip] Is that a challenge? :-) Try this: http://www.php.net/'); echo 'Hello, world!'; ?> Hope that helps. Chris = My Blog http://shiflett.o

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Chris Shiflett
--- Pablo Gosse <[EMAIL PROTECTED]> wrote: > [snip] It might be best to not try and definitely declare what counts as > foreign data, because it's a sort of "everything else" type of thing. If > it doesn't originate within the PHP script itself, it is foreign.[/snip] > > What about data from a dat

[PHP] Explanation for php.net front page???

2003-11-12 Thread Scott Fletcher
Hi! Would anyone care to explain to me about the article on the frontpage of the php.net website about the IDE or PHP function name code completion? Never mind about the bug report and browser stuffs... --snip-- New function list auto completion [04-Nov-2003] You can probably name at least on

Re: [PHP] HTTP1.1 problems maybe?

2003-11-12 Thread Chris Shiflett
--- Shawn McKenzie <[EMAIL PROTECTED]> wrote: > I get a blank page (no error) in IE6. If I go to IE settings and > disable use HTTP 1.1, then all loads well in IE. > > Any ideas on things to look at or a method to troubleshoot??? Can you capture the HTTP transaction with IE and with another brow

Re: [PHP] Re: Need a nicer way to escape single/double quotes....

2003-11-12 Thread Scott Fletcher
Wow! That really help for a not so effective HTML tag... Thanks! Scott F. "Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > news:<[EMAIL PROTECTED]>... > > > > > I haven't found a more efficient way to

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Andre Volmensky
[snip] Hmmm... ok so that's all I can think of. I think it'd be a really great thing for the community if this list was corrected and added too in a detailed way (such as I've tried to do here). Looking forward to all the responses. [/snip] All these responses and nobody has said anything about r

[PHP] js, printing and redirection

2003-11-12 Thread Martin Marques
I need to print a page and redirect the browser to another page. As it can't be done with PHP, I thought about using javascript. Can anyone give me an advise on how to do it? -- 19:13:01 up 22 days, 2:35, 3 users, load average: 0.08, 0.15, 0.26 --

RE: [PHP] Explode a string

2003-11-12 Thread Wouter van Vliet
Jay Blanchard wrote: > [snip] > Considering Jay's answer for this question, do I always do things the > hard way or what?? [/snip] > > Young Grasshopper...there is more than one way to do things, > a lot of them are "right"some are just harder than others. Isn't that the diplomatic equivalent

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Pablo Gosse
[snip] It might be best to not try and definitely declare what counts as foreign data, because it's a sort of "everything else" type of thing. If it doesn't originate within the PHP script itself, it is foreign.[/snip] What about data from a database which is retrieved within the PHP script? Would

Re: [PHP] validate names with regex

2003-11-12 Thread CPT John W. Holmes
From: "Chris W. Parker" <[EMAIL PROTECTED]> > Can someone post a function or regex that can validate names (first and > last)? The most important bit is that names like O'Malley and Hope-Jones > are not barred. I use this: //allow a possible ', -, or space in name. ' will //be re

[PHP] Re: Need a nicer way to escape single/double quotes....

2003-11-12 Thread CPT John W. Holmes
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > I haven't found a more efficient way to better escape the quote > characters for the javascript right from PHP because I only get "The kid" in > the javascript alert message, so I'm wondering if anyone of y

[PHP] validate names with regex

2003-11-12 Thread Chris W. Parker
Hey all. I tried googling for this AND looking in the archives with no luck. Can someone post a function or regex that can validate names (first and last)? The most important bit is that names like O'Malley and Hope-Jones are not barred. Hopefully I haven't been too brief with my request. Than

[PHP] HTTP1.1 problems maybe?

2003-11-12 Thread Shawn McKenzie
I have a script that I have written for the PHP-Nuke CMS that controls the theme. The site loads fine in any browser without my script. But with my script, the site will load fine in Mozilla 1.4 and in Lynx, but I get a blank page (no error) in IE6. If I go to IE settings and disable use HTTP 1.

Re: [PHP] php compile....

2003-11-12 Thread John Nichel
Mike R wrote: [snip] Yeah, got that as: AddType application/x-httpd-php .php AddType application/x-httpd-php .html AddType application/x-httpd-php .phtml And the DirectoryIndex stuff is there, too. [/snip] So, all of that is there, yet PHP does not work? After you compiled PHP did you restart Apac

[PHP] Need a nicer way to escape single/double quotes....

2003-11-12 Thread Scott Fletcher
Hi Fellas! I haven't found a more efficient way to better escape the quote characters for the javascript right from PHP because I only get "The kid" in the javascript alert message, so I'm wondering if anyone of you know of something better than that... --snip-- ";

RE: [PHP] help create community newbie guide to security

2003-11-12 Thread Chris Shiflett
--- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > My original thinking was that I wouldn't be using the session id as I > would the unique identifier because of point #2 (you shouldn't store the > session id on the client). But since you point out that storing the > session id is a necessary evil

RE: [PHP] php compile....

2003-11-12 Thread Mike R
> [snip] > Yeah, got that as: > > AddType application/x-httpd-php .php > AddType application/x-httpd-php .html > AddType application/x-httpd-php .phtml > > And the DirectoryIndex stuff is there, too. > [/snip] > > So, all of that is there, yet PHP does not work? After you compiled PHP > did you re

RE: [PHP] php compile....

2003-11-12 Thread Jay Blanchard
[snip] Yeah, got that as: AddType application/x-httpd-php .php AddType application/x-httpd-php .html AddType application/x-httpd-php .phtml And the DirectoryIndex stuff is there, too. [/snip] So, all of that is there, yet PHP does not work? After you compiled PHP did you restart Apache? How, pre

Re: [PHP] Re: Delete Temporary Internet Files

2003-11-12 Thread Kim Steinhaug
hehe, To me it I could say the same, why on earth would you want a script to alter the internet options when its up under Tools/Internet Options anyways? The sane sollution would be that some people have strange ideas, some people like to do things their own way. I myself often create PHP scripts

RE: [PHP] Getting an uploaded picture

2003-11-12 Thread Mike R
> > From: "Mike R" <[EMAIL PROTECTED]> > > I thought about that, but figured I'd ask first - particularly since I > > wasn't sure which code to send: the code for uploading the > pictures or the > > code that displays the pictures/links to them? > > Show the code that displays the links to them an

RE: [PHP] php compile....

2003-11-12 Thread Mike R
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 12, 2003 3:32 PM > To: Mike R; [EMAIL PROTECTED] > Subject: RE: [PHP] php compile > > > [snip] > In what way would I have to modify it? I've compiled before without any > issues... (not

Re: [PHP] Getting an uploaded picture

2003-11-12 Thread CPT John W. Holmes
From: "Mike R" <[EMAIL PROTECTED]> > I thought about that, but figured I'd ask first - particularly since I > wasn't sure which code to send: the code for uploading the pictures or the > code that displays the pictures/links to them? Show the code that displays the links to them and some of the re

RE: [PHP] Getting an uploaded picture

2003-11-12 Thread Jay Blanchard
[snip] > Is the directory where you placed the pics web accessible? Sounds like > you placed them outside of the web root Actually, it is accessible and the directory is chmod'd to 777 (though thr pictures themselves are 644). I should mention I did build the system to upload zip'd files, but cha

RE: [PHP] php compile....

2003-11-12 Thread Jay Blanchard
[snip] In what way would I have to modify it? I've compiled before without any issues... (not on this server, though, admittedly). [/snip] # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex ind

RE: [PHP] Getting an uploaded picture

2003-11-12 Thread Jay Blanchard
[snip] I thought about that, but figured I'd ask first - particularly since I wasn't sure which code to send: the code for uploading the pictures or the code that displays the pictures/links to them? I should note that I can ftp in and download the pictures and they appear fine. [/snip] Is the di

RE: [PHP] Getting an uploaded picture

2003-11-12 Thread Mike R
> [snip] > Then I wrote a script that shows a list of what pictures are in the > directory and creates a link to the picture. Everything seems to spit > out > from the list just fine, but the links do not work. Not because the > html in > them is wrong, but when you right-click on the picture to

RE: [PHP] php compile....

2003-11-12 Thread Jay Blanchard
[snip] I'm compiling php (4.3.4) on a server with linux (different server than my other post), and the config, make, and make install all seem to go fine (no errors or special messages). No go on PHP, though. Restarted apache, but nothing. Should I reboot the server? Any other possibilities? [/

[PHP] php compile....

2003-11-12 Thread Mike R
I'm compiling php (4.3.4) on a server with linux (different server than my other post), and the config, make, and make install all seem to go fine (no errors or special messages). No go on PHP, though. Restarted apache, but nothing. Should I reboot the server? Any other possibilities? Thanks

RE: [PHP] Getting an uploaded picture

2003-11-12 Thread Jay Blanchard
[snip] Then I wrote a script that shows a list of what pictures are in the directory and creates a link to the picture. Everything seems to spit out from the list just fine, but the links do not work. Not because the html in them is wrong, but when you right-click on the picture to save it locall

[PHP] Getting an uploaded picture

2003-11-12 Thread Mike R
I wrote a script that uploads pictures and writes them to a particular directory on a server. Then I wrote a script that shows a list of what pictures are in the directory and creates a link to the picture. Everything seems to spit out from the list just fine, but the links do not work. Not bec

Re: [PHP] How to find the Drive letters

2003-11-12 Thread Leif K-Brooks
D. Jame wrote: How to find the Drive letters and Drive Types of remote system WNT, i have system administrator password too.. this all work done with PHP pages, when my client give IP, user /password then my PHP scirpt show him that system drive/ folders... Can't be done unless the remote

RE: [PHP] Passing variables on the url and Macs

2003-11-12 Thread Jay Blanchard
[snip] Does anyone know of a problem on Macs (pre OSX) with passing variables on the URL? For example with the following url: http://someplace.org/file.php?ID=id&thingy=thingy only http://someplace.org/file.php actually gets passed. [/snip] What version of PHP? Have you checke

[PHP] Passing variables on the url and Macs

2003-11-12 Thread Susan Ator
Does anyone know of a problem on Macs (pre OSX) with passing variables on the URL? For example with the following url: http://someplace.org/file.php?ID=id&thingy=thingy only http://someplace.org/file.php actually gets passed. susan -- PHP General Mailing List (http://www.php

Re: [PHP] Overriding string concatenation '.'

2003-11-12 Thread Marek Kilimajer
tirumal b wrote: Hello All This is where i encounter the problem $hostin="122.122.122.122"; $l=system('ssh '.$hostin.' ls'); echo $l; The above one does not work at all but if i hardcode $l=system('ssh 122.122.122.122 ls'); You should post your real code (cut&paste), the above examples are ide

RE: [PHP] Overriding string concatenation '.'

2003-11-12 Thread Jay Blanchard
[snip] This is where i encounter the problem $hostin="122.122.122.122"; $l=system('ssh '.$hostin.' ls'); echo $l; [/snip] Then your code should read $hostin="122.122.122.122"; $l=system("ssh $hostin ls"); echo $l; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Overriding string concatenation '.'

2003-11-12 Thread tirumal b
Hello All This is where i encounter the problem $hostin="122.122.122.122"; $l=system('ssh '.$hostin.' ls'); echo $l; The above one does not work at all but if i hardcode $l=system('ssh 122.122.122.122 ls'); The ip addr is just an example Thank you Tirumal __

RE: [PHP] overriding string concatenation '.'

2003-11-12 Thread Chris W. Parker
CPT John W. Holmes on Wednesday, November 12, 2003 11:00 AM said: > From the way I read that, the periods _within_ $ipaddr were being > seen as concatination characters (according to OP), which doesn't > make sense. So I wanted an example. Ok, see I thought he was t

RE: [PHP] overriding string concatenation '.'

2003-11-12 Thread Chris W. Parker
Jay Blanchard on Wednesday, November 12, 2003 10:49 AM said: > $ipaddr = "192.34.123.122"; > > . is not a concatenator, it is part of the string. > > $myFileName = "barkLikeAdog.txt"; > > . is not a concatenator, it is part of the string. Oh geez, I know *that*.

Re: [PHP] Why is this code not working?

2003-11-12 Thread CPT John W. Holmes
From: "Dave G" <[EMAIL PROTECTED]> > PHP Gurus, If you say so... > I'm trying to put the results of a query into an array. > My code looks like this: > $query = "SELECT datecolumn FROM table WHERE MONTH(datecolumn) = " . > $currentMonth; > $result = mysql_query($query); > $numRows = mysql_num_r

Re: [PHP] overriding string concatenation '.'

2003-11-12 Thread CPT John W. Holmes
From: "Chris W. Parker" <[EMAIL PROTECTED]> > > CPT John W. Holmes > > > The dots in ipaddr variable are considered to be > > > string concatenations. > > > > No they are not. Show some examples. > > What am I missing here? How is the dot operator not considered > concate

Re: [PHP] overriding string concatenation '.'

2003-11-12 Thread Chris Shiflett
--- tirumal b <[EMAIL PROTECTED]> wrote: > I have an ip addr in a variable. I use > 'ssh'.$ipaddr.'command' in a php file > > The dots in ipaddr variable are considered to be > string concatenations. That's wrong, which makes me think that you didn't bother trying this before you asked your ques

RE: [PHP] Calendar

2003-11-12 Thread Pablo Gosse
On Wednesday, November 12, 2003 10:50 AM, Steve wrote: > I am looking for a simple easy to edit php calendar program. Does anyone > know where I can find one? Pear is always a good place to start: http://pear.php.net/package/Calendar Cheers, Pablo -- PHP General Mailing List (http://www.php.ne

RE: [PHP] Calendar

2003-11-12 Thread Jay Blanchard
[snip] I am looking for a simple easy to edit php calendar program. Does anyone know where I can find one? [/snip] Several http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=PHP+calendar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Calendar

2003-11-12 Thread Steve Marquez
Hi, I am looking for a simple easy to edit php calendar program. Does anyone know where I can find one? Thanks for your help. -- Steve Marquez [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] overriding string concatenation '.'

2003-11-12 Thread Jay Blanchard
[snip] > No they are not. Show some examples. What am I missing here? How is the dot operator not considered concatenation? $concatenatedString = 'a'.'concatenated'.'string'; [/snip] $ipaddr = "192.34.123.122"; . is not a concatenator, it is part of the string. $myFileName = "barkLikeAdog.txt"

RE: [PHP] Why is this code not working?

2003-11-12 Thread Jay Blanchard
[snip] I'm trying to put the results of a query into an array. Is there some simple error that I'm over looking? What's going on? [/snip] Have you tried mysql_fetch_array()? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   >