[PHP] Control Panel
Hi Guys, I want a affordable and the best control panel for my website. Though i can make it myself but it make some time to do that. Do any of you guys and gals know about this do let me know. Looking forward for yours earliest reponse. karthikeyan.
[PHP] Pregenerating Script
Hi Guys, I want a php script which takes 4 parameters : - header file - body file - footer file - OUTPUT file What it should do is combine 1. header, 2. body, and 3. footer and save it as 4. OUTPUT file How do i do that. Any help with sampe code will be greatly appreciated. Regards, karthikeyan b
[PHP] Pregenerating Script Again
Hi Guys, I got some sweet responses like using cat and using Output Buffering functions. But then what i really want is to provide user with the interface like this : Pregeneration Program --- Step 1 - Choose you Header file [ ] [Browse] - here they will choose the header file Step 2 - Choose you Body file [ ] [Browse] - here they will choose the content body file Step 3 - Choose you Footer file [ ] [Browse] - here they will choose the footer file Step 4 - Please give the output File Name [ ] - The file can be saved in the same directory where this program is running [ Generate ] - This is a button When they press generate then step4 file should be created combining the step1, step2 and step3 files. Obviously this will take them to the next page where this operations will be carried out the then they will be shown the succes or failure. Hope now you understand what i really want. Environment - Win NT, PHP 4.0.6, Apache Looking forward for your response. karthikeyan.
[PHP] Pregenerating Script Once Again Putting this question
Hi Guys, I got some sweet responses like using cat and using Output Buffering functions. But then what i really want is to provide user with the interface like this : Pregeneration Program --- Step 1 - Choose you Header file [ ] [Browse] - here they will choose the header file Step 2 - Choose you Body file [ ] [Browse] - here they will choose the content body file Step 3 - Choose you Footer file [ ] [Browse] - here they will choose the footer file Step 4 - Please give the output File Name [ ] - The file can be saved in the same directory where this program is running [ Generate ] - This is a button When they press generate then step4 file should be created combining the step1, step2 and step3 files. Obviously this will take them to the next page where this operations will be carried out the then they will be shown the succes or failure. Hope now you understand what i really want. Environment - Win NT, PHP 4.0.6, Apache Note + I am working in win nt environment. So no Cat. + header, body, footer can be plain as well as html + no right now no php is not contained in the header, body and footer but may be in +future. + Just a simple success and failure Looking forward for your response. karthikeyan.
[PHP] Cron Job
Hi, How do i set cron job on Red Hat Linux. Looking forward for yours response. karthikeyan.
[PHP] Content Management
Hi, How should i go about to developing a php application to manage the content of a web site OR is there allready some ready made script available which i can use in my project. Looking forward for yours response. karthikeyan.
[PHP] Expat Installation on windows
Hi Guys, How do i install expat on WinNt. I have php-4.0.6. Looking forward for yours response. karthikeyan.
[PHP] Paypal Integration
Hi, Anybody here in this list have successfully integrated paypal to their websites. Like sending item info to the paypal site and getting response code and based on that do some action stuff. I have also searched through archives http://interchange.redhat.com/ some one this list mentioned about this. But of no luck. I went to paypal site but not of good help. Regards, karthikeyan.
[PHP] Web Cam Support
Hi All, I am trying to develop a web site for daycare and would like to support web cam where users(parents) can login and see what their child is doing. I have PHP, Apache, Linux Setup. What are the things required to get me going with this. Looking forward for all your response. Regards, karthikeyan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Web Cam Support
Hi Rasmus and Others, Thanks for your info I will look into those link you have provided. How do you think yahoo is able to do it so beautifully. When i click web cam in Yahoo Chat it opens a pop up window and says connecting to the server and then it shows up web cam picture and it is pretty good. Can I achieve something like that in my web site. Regards, karthikeyan. - Original Message - From: Rasmus Lerdorf <[EMAIL PROTECTED]> To: karthikeyan <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, March 03, 2002 8:06 AM Subject: Re: [PHP] Web Cam Support > > I will be setting one up next week so should have more for you then. But > there really isn't much for PHP to do here. Basically you need something > like camstream to regularly create an image somewhere and then a little > meta-refresh page that reloads that image. You are unlikely to be able to > stream out the video feed in any sort of realtime fashion unless you have > a whole lot of bandwidth going into this daycare. The best you can do is > most likely to update the image every couple of seconds. > > You can find camstream here: > > http://www.smcc.demon.nl/camstream/index.html > > I am assuming you have the right kernel driver for your webcam? Assuming > a USB cam, see: http://www.smcc.demon.nl/webcam/ > > -Rasmus > > On Sun, 3 Mar 2002, karthikeyan wrote: > > > Hi All, > > > > I am trying to develop a web site for daycare and would like to support > > web cam where users(parents) can login and see what their child is doing. > > > > I have PHP, Apache, Linux Setup. What are the things required to get me > > going with this. > > > > Looking forward for all your response. > > > > Regards, > > > > karthikeyan. > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Form value retrieval
Hi Everybody, In my somename.cgi file there are few hidden fields like this with the tag: Now in my php file (somename.php) i somehow need to get that hidden name and value and put it inside my php form like this : Note : I cannot change the name of the hidden variable order into an array like order[1] or something like that because that variable is being used by some cgi program so I want to maintain the name as it is. Note : I cannot change my form method=get and use QUERYSTRING I have a cgi program which does job very easily like this : foreach $line (@orders) {print " \n"} how do i accomplish the same in php. Looking forward for your response. Regards, karthikeyan.
[PHP] Form value retrieval
Hi Everybody, In my somename.cgi file there are few hidden fields like this with the tag: Now in my php file (somename.php) i somehow need to get that hidden name and value and put it inside my php form like this : Note : I cannot change the name of the hidden variable order into an array like order[1] or something like that because that variable is being used by some cgi program so I want to maintain the name as it is. Note : I cannot change my form method=get and use QUERYSTRING I have a cgi program which does job very easily like this : foreach $line (@orders) {print " \n"} how do i accomplish the same in php. Looking forward for your response. Regards, karthikeyan.
[PHP] FORM RELATED QUESTION - I
Hi Everybody, In my somename.cgi file there are few hidden fields like this with the tag: Now in my php file (somename.php) i somehow need to get that hidden name and value and put it inside my php form like this : Note : I cannot change the name of the hidden variable order into an array like order[] or something like that because that variable is being used by some cgi program so I want to maintain the name as it is. I have a CGI-Perl code which does job very easily like this : *** foreach $line (@orders) {print " \n"} *** how do i accomplish the same in php. I have one solution using GET method but I would really like to have it in POST because I am passing lots of values to this php file. == $ar=explode('&',$QUERY_STRING); foreach ($ar as $stritem) { if(substr($stritem, 0, 5) == "order") { $ordervalue = substr($stritem, 6); echo "\n\n"; } } == Looking forward for your response. Regards, karthikeyan.
[PHP] REQUEST QUESTION
Hi Guys, I allready posted this question in detail but I believe I didn't explain it properly. There are 2 hidden variable in my FORM. 1. order = 10 and 2. order=20 I want to retrieve both the orders in the next page say somename.php. How do i do that. Regards, karthikeyan.
Re: [PHP] FORM RELATED QUESTION - I
Yes I did use $HTTP_POST_VARS but it removes duplicate values. Say if there are two hidden variables 1. order= 10 2. order= 20 I get order=20 the last one but i want both. I need both. Regards, karthikeyan. - Original Message - From: Jason Wong <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 9:18 AM Subject: Re: [PHP] FORM RELATED QUESTION - I > > On Tuesday 05 March 2002 10:39, karthikeyan wrote: > > > how do i accomplish the same in php. > > > > I have one solution using GET method but I would really like to have it > > in POST because I am passing lots of values to this php file. > > > > == > > $ar=explode('&',$QUERY_STRING); > > > > foreach ($ar as $stritem) { > > if(substr($stritem, 0, 5) == "order") { > > $ordervalue = substr($stritem, 6); > > echo "\n > urldecode($ordervalue) . "\">\n"; } > > } > > == > > I don't fully understand your question and what your problem is. Taking a > stab in the dark, did you want to retrieve the values resulting from a POST? > > If so then use: > > $HTTP_POST_VARS (php <= 4.06) > $_POST (php > 4.06) > > > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > /* > Small things make base men proud. > -- William Shakespeare, "Henry VI" > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: REQUEST QUESTION
Hi Thanx, --- > > > > > On the nest page you just do > > echo "The first order is ".order[1]." and the second order is ".order[2]; -- But that is what I cannot do. I cannot change the name of the order to order[1] because that form is not in my control. I want both the order with its values. Any other suggestions please. Regards, karthikeyan. - Original Message - From: David Tandberg-Johansen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 10:09 PM Subject: [PHP] Re: REQUEST QUESTION > > > "Karthikeyan" <[EMAIL PROTECTED]> skrev i melding > 002601c1c461$cfa08580$0600a8c0@aspire006">news:002601c1c461$cfa08580$0600a8c0@aspire006... > Hi Guys, > > I allready posted this question in detail but I believe I didn't explain > it properly. > > There are 2 hidden variable in my FORM. > > 1. order = 10 and 2. order=20 > > I want to retrieve both the orders in the next page say somename.php. How > do i do that. > > Regards, > > karthikeyan. > > You must put the in a array like this > > > > > > On the nest page you just do > > echo "The first order is ".order[1]." and the second order is ".order[2]; > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: REQUEST QUESTION
Hi All, I have worked in Java and Cgi and there I was able to do this very easily. Infact i have one solution to this using GET method in PHP but I want this using POST. Here is the PHP Solution using GET to get 2 values with same NAME. --- $ar=explode('&',$QUERY_STRING); foreach ($ar as $stritem) if(substr($stritem, 0, 5) == "order") { $ordervalue = substr($stritem, 6); echo "\n\n"; } } -- Looking forward for further comments on this subject. Regards, karthikeyan. - Original Message - From: SHEETS,JASON (Non-HP-Boise,ex1) <[EMAIL PROTECTED]> To: 'karthikeyan' <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 12:18 AM Subject: RE: [PHP] Re: REQUEST QUESTION > > Hello, > > Without changing the name of the variables or using an array you can't > retrieve both values. The reason is that one overwrites the other, for > example > > > > at this point the value of order is 10 > > > > at this point the value of order is 20 > > You can't have one variable have two values unless it is an array. > Unfortunately you are going to have to have the form changed to either use > the > > > > > method or use > > > > > I would recommend the first because it is cleaner. > > Hope this helps, > > Jason > -Original Message- > From: karthikeyan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 10:42 AM > To: [EMAIL PROTECTED] > Cc: David Tandberg-Johansen > Subject: Re: [PHP] Re: REQUEST QUESTION > > > Hi Thanx, > > --- > > > > > > > > > > On the nest page you just do > > > > echo "The first order is ".order[1]." and the second order is ".order[2]; > -- > > But that is what I cannot do. I cannot change the name of the order to > order[1] because that form is not in my control. > > I want both the order with its values. > > Any other suggestions please. > > Regards, > > karthikeyan. > - Original Message - > From: David Tandberg-Johansen <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 05, 2002 10:09 PM > Subject: [PHP] Re: REQUEST QUESTION > > > > > > > > "Karthikeyan" <[EMAIL PROTECTED]> skrev i melding > > 002601c1c461$cfa08580$0600a8c0@aspire006">news:002601c1c461$cfa08580$0600a8c0@aspire006... > > Hi Guys, > > > > I allready posted this question in detail but I believe I didn't explain > > it properly. > > > > There are 2 hidden variable in my FORM. > > > > 1. order = 10 and 2. order=20 > > > > I want to retrieve both the orders in the next page say somename.php. > How > > do i do that. > > > > Regards, > > > > karthikeyan. > > > > You must put the in a array like this > > > > > > > > > > > > On the nest page you just do > > > > echo "The first order is ".order[1]." and the second order is ".order[2]; > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: REQUEST QUESTION
Dear Mark, Thanx for your reply. The solution you mentioned I knew it allready but i cannot change the name of order to order[] or something else but i still want to know is there any other way i can solve this issue. I got so many anwer saying that it is not possible I wonder why because PHP is supporting so many feature why not this. In Java and Cgi-Perl it is very simple why not in PHP that's my question. In java i use : (works for both GET and POST) public Enumeration ServletRequest.getParameterNames() - for getting all the names public String[] ServletRequest.getParameterValues(String) - for getting all values for the given name ( this is the one which accomplishes my job, gets both order's values) I am very sure that there must be some solution to this but I don't know how to do this in PHP. I have one solution using GET method but not with POST. Looking forward for solution to this issue. Regards, karthikeyan. - Original Message - From: Mark and Suzette <[EMAIL PROTECTED]> To: Karthikeyan <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 6:16 AM Subject: Re: REQUEST QUESTION > > What you want to do is change the hidden fields names to order[] = 10 and > order[]=20. This way you are generating an HTML array. PHP can then handle > both values being assigned ($order[0], $order[1]). If you don't create an > array, value 20 will cancel out value 10 (well should anyway). > > > - Original Message - > From: "Karthikeyan" <[EMAIL PROTECTED]> > Newsgroups: php.general > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 05, 2002 10:21 AM > Subject: REQUEST QUESTION > > > Hi Guys, > > I allready posted this question in detail but I believe I didn't explain > it properly. > > There are 2 hidden variable in my FORM. > > 1. order = 10 and 2. order=20 > > I want to retrieve both the orders in the next page say somename.php. How > do i do that. > > Regards, > > karthikeyan. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: REQUEST QUESTION
Hi, I use PHP 4.0.6, I am not sure about $_POST but $HTTP_POST_VARS removes duplicate entries. As far as $QUERY_STRING is concerned well I knew it could do it but I want to use POST method. Not that happy knowing that PHP doesn't support this feature when Java and CGI-Perl can. Regards, karthikeyan. - Original Message - From: David Robley <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 6:21 AM Subject: [PHP] Re: REQUEST QUESTION > > In article <006401c1c600$ba52c210$0600a8c0@aspire006>, > [EMAIL PROTECTED] says... > > Dear Mark, > > > > Thanx for your reply. > > > > The solution you mentioned I knew it allready but i cannot change the name > > of order to order[] or something else but i still want to know is there any > > other way i can solve this issue. I got so many anwer saying that it is > > not possible I wonder why because PHP is supporting so many feature why not > > this. In Java and Cgi-Perl it is very simple why not in PHP that's my > > question. > > > > In java i use : (works for both GET and POST) > > > > public Enumeration ServletRequest.getParameterNames() - for getting all the > > names > > public String[] ServletRequest.getParameterValues(String) - for getting all > > values for the given name ( this is the one which accomplishes my job, gets > > both order's values) > > > > I am very sure that there must be some solution to this but I don't know > > how to do this in PHP. I have one solution using GET method but not with > > POST. > > > > Looking forward for solution to this issue. > > > > Regards, > > > > karthikeyan. > > Have you looked at $HTTP_POST_VARS (or $_POST, depending on version) or > $QUERY_STRING? > > -- > David Robley > Temporary Kiwi! > > Quod subigo farinam > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Digital Certificate
Hi, I am connecting to LinkPoint for accepting credit card. They gave me this instruction : -- BELOW IS A COPY OF YOUR DIGITAL CERTIFICATE: Your ISP requires a digital certificate to complete the setup of your website in order for you to begin accepting credit card payments. A copy of your digital certificate has been emailed to your ISP. - How do i setup digital certificate, we have SSL. Do i need to something in the Apache's httpd.conf file to make this work. Looking forward for response on how to go about this job. Regards, karthikeyan.
[PHP] Website STATISTICS
Hi, Anybody knows any good open source website statistics tool with graph and pie diagrams. I did go to sourceforge.net and saw few but wanted to know if any of you have found really good one. Basically I am looking for tool which apart from basic stuff like referrer, ip, browser name, no of sec/min/hrs, and document name, should also be able to show what KEYWORD used in the search engine to access this website. Looking forward for your response. Regards, karthikeyan.
Re: [PHP] Website STATISTICS
Hi, You can find that at www.sourceforge.net. Regards, karthikeyan. - Original Message - From: Chuck "PUP" Payne <[EMAIL PROTECTED]> To: Dan Vande More <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 2:44 AM Subject: Re: [PHP] Website STATISTICS > > Where can you find that one? > > On 3/18/02 3:49 PM, "Dan Vande More" <[EMAIL PROTECTED]> wrote: > > > I think awstats has everything your asking for. > > > > -Original Message- > > From: karthikeyan [mailto:[EMAIL PROTECTED]] > > Sent: Monday, March 18, 2002 12:31 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Website STATISTICS > > > > > > Hi, > > > > Anybody knows any good open source website statistics tool with graph and > > pie diagrams. > > > > I did go to sourceforge.net and saw few but wanted to know if any of you > > have found really good one. > > > > Basically I am looking for tool which apart from basic stuff like > > referrer, ip, browser name, no of sec/min/hrs, and document name, > > should also be able to show what KEYWORD used in the search engine to access > > this website. > > > > Looking forward for your response. > > > > Regards, > > > > karthikeyan. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SESSION PROBLEM
Hi Guys, What does this error means - Warning: Cannot send session cookie - headers already sent by (output started at /home/web/public_html/karthik1.php:7) in /home/web/public_html/karthik1.php on line 35 Warning: Cannot send session cache limiter - headers already sent (output started at /home/web/public_html/karthik1.php:7) in /home/web/public_html/karthik1.php on line 35 --- I am trying to set session, it works here in my windows system but not on our linux server. Regards, karthikeyan.
[PHP] Control Panel
Hi Everybody, Is there any control panel like Webmin in PHP. Regards, karthikeyan.
[PHP] File Handling
Dear All, Greetings. Please let me know if the following can be done with php. All I need to do is this, Just assume that I have a text file with a separator like "|" It would be something like this "ImagePath" | "DialogName" | "Dialog location" I have to read the text file of above format and display in the html file. DialogName1 DialogName2 DialogName3 Thank you With Regards karthikeyan - Judge not, that ye be not Judged - Abraham Lincoln's favorite quote -
[PHP] Help required MySql + PHP
Dear Members, I installed RedHat 7.1, Apache, PHP4 and MySQL in a Intel Pentium processor system. Everything works fine (i.e. MySQL, PHP, etc). But when I want to connect MySQL through PHP. It is giving an error 'call to unknown function "mysql_connect" in line in __' . Can any one provide a solution. Thanks in advance yours Karthikeyan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Testing
Testing
[PHP] PHP, GD, FreeType, ImageMagic
Hi guys, I got your mail id from typo3.com discussion board. I have installed php4.0.6 in my system, i am working on winNT environment with Apache as my web server. The php is working great, i have also enabled gd library and i am able to run some of my image program, it is great. Now i need different fonts, for that i know i need freetype to be installed in my system. I download freetype-2.0.4-bin.zip for windows and when i extracted the zip, it created 3 folders /bin /contrib /manifest i saw freetype.dll in bin folder and copied it into /php4/bin, but still i am not able to get my program run. I also need information and download location regarding imagemagic. Waiting for your earliest reply, With Regards, b.karthikeyan.
[PHP] Fw: PHP, GD, FreeType, ImageMagic
- Original Message - From: karthikeyan To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 10:24 PM Subject: PHP, GD, FreeType, ImageMagic Hi guys, I got your mail id from typo3.com discussion board. I have installed php4.0.6 in my system, i am working on winNT environment with Apache as my web server. The php is working great, i have also enabled gd library and i am able to run some of my image program, it is great. Now i need different fonts, for that i know i need freetype to be installed in my system. I download freetype-2.0.4-bin.zip for windows and when i extracted the zip, it created 3 folders /bin /contrib /manifest i saw freetype.dll in bin folder and copied it into /php4/bin, but still i am not able to get my program run. I also need information and download location regarding imagemagic. Waiting for your earliest reply, With Regards, b.karthikeyan.
[PHP] Urgent
Hi guys, I have installed php4.0.6 in my system, i am working on winNT environment with Apache as my web server. The php is working great, i have also enabled gd library and i am able to run some of my image program, it is great. Now i need different fonts, for that i know i need freetype to be installed in my system. I download freetype-2.0.4-bin.zip for windows and when i extracted the zip, it created 3 folders /bin /contrib /manifest i saw freetype.dll in bin folder and copied it into /php4/bin, but still i am not able to get my program run. Waiting for your earliest reply, With Regards, b.karthikeyan.