[PHP] PHP graphs

2003-02-27 Thread K
Hi guys, I would like to read the IP address from a PC that connects to my web site. Any function does that in PHP? Secondly, I'd like to trace a basic X/Y graph with data provided from a DB, any PHP help? Thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] JP Graph

2003-02-27 Thread K
Hi all, I'm using JPGraph on a localhost for a website opened via a host redirect. My problem is that nobody can see the graphs but me ('cause I'm on localhost). Any clues? Thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] about socket_set_timeout

2002-02-20 Thread K
I have windows 98 sr 2 and php 4.1.1 installed. When i call the function socket_set_timeout, i got a socket_set_timeout supported in this php build". What am i supposed to do ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] deleting $_SESSION

2005-04-11 Thread -k.
--- AndreaD <[EMAIL PROTECTED]> wrote: > I have a session variable called > > $_SESSION['total'] the problem is I can't > delete/reset it. I have tried Try unset. unset($_SESSION['total']); http://us4

Re: [PHP] Image and PHP

2005-04-14 Thread -k.
Remember though, as written you need to do some validation on $filepath, because as is, this script will pass anything to the user that is contained in $_GET['image_name'] then delete it, so be careful. -k. __ Do you Yahoo!? Yaho

Re: [PHP] Php defense

2005-04-22 Thread -k.
http://www.oreillynet.com/pub/wlg/5155 Google around some, especially on the Friendster switch, which as I recall caused quite a stir, for more information. -k. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: [PHP] Re: [NOVICE] SSL use

2005-04-22 Thread -k.
have couple related questions: Is this necessary if the database is running on the same machine (as implied by "host= localhost")? If so why? Is it possible to make an SSL connection between Apache and Postgres using Unix-domain sockets? -k.

Re: [PHP] Restricting browser's a password manager pop-up

2005-04-28 Thread -k.
ot and see which combination > works for you. You may also try adding autocomplete="Off" in your password input tag. -k. __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_m

Re: [PHP] MySql injections (related question)

2005-05-11 Thread -k.
with the internals of any of these functions, i'm wondering which are safer or do they do approximately the same thing? Is there any difference in performance? Which method do you use and why? -k. __ Do you Yahoo!? Yahoo! Mail - Helps p

Re: [PHP] PHP error on form

2005-07-28 Thread -k.
n"; $msg .="Senders E-MAIL: ".$_POST['senders_email']."\n"; $msg .="Senders Name: ".$_POST['message']."\n\n"; $to ="[EMAIL PROTECTED]"; $subject = "There has been

[PHP] Job for SQL or PHP?

2005-08-03 Thread -k.
ar. This SQL obviously doesn't work, however, my question is there a way to do this with SQL alone? Or do i need to grab all the records from the Last_Order table loop through the record set and insert each new row into Orders individually? -k.

Re: [PHP] Job for SQL or PHP?

2005-08-03 Thread -k.
--- "Kristen G. Thorson" <[EMAIL PROTECTED]> wrote: > Try > > INSERT INTO Orders (SELECT '678',Cust_ID,Item_No,No_ordered FROM > Last_Order WHERE Cust_ID = '678') Thanks that nailed it. You rock. -k. ___

Re: [PHP] Regular expressions book

2005-08-03 Thread -k.
Has anyone here tried to learn Regular expressions with RegexBuddy? http://www.regular-expressions.info/regexbuddy.html It looks pretty cool, and even has some PHP specific stuff, but you have to pay to play. -k. __ Do You Yahoo!? Tired of

[PHP] Problem with PEAR:SOAP

2005-09-12 Thread -k.
y (much less a Request.php). I have the HTTP PEAR package installed (Version 1.3.6 ). My question is should installing the HTTP package put these files in /usr/local/lib/php ? If not what are these files? And where do i get them? Am i missing a dependency or somethin

Re: [PHP] Problem with PEAR:SOAP [solved]

2005-09-13 Thread -k.
--- Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > Install the HTTP_Request package. That did it. Anyone know why the SOAP package didn't complain about this when i installed it? -k. __ Do You Yahoo!? Tired of spam? Yahoo

Re: [PHP] Webservices and PHP?

2005-09-14 Thread -k.
SOAP should turn up some pretty good results for you. -k. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Curl problems

2005-09-22 Thread -k.
led around and read a few basic curl tutorials but they haven’t helped me sort this out. -k. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SOAP problem, (related to gethostbyname?)

2005-10-06 Thread -k.
back the page found at that address. I'm running PHP Version 4.3.4 with CURL support enabled (CURL Information: libcurl 7.9.8 (OpenSSL 0.9.7c) (ipv6 enabled) ) on Red Had. If i ping 'secure.example.com' the address resolves properly. Any tips on things to try? Should i reinstall

[PHP] Trouble moving directory

2005-10-12 Thread -k.
e some way to escape the characters in the directories? For example if i put a "\" in front of blank spaces it takes care of those (same for "'","(" etc.) but that obviously doesn't take care of everything. I'm hoping there is something easy

Re: [PHP] Trouble moving directory

2005-10-12 Thread -k.
ther characters such as " ) ". So... $source_dir = escapeshellarg( '/some/dir/Dir That (Won't Move)/' ); ...fails as well. Any other ideas? -k. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://mu

[PHP] Strange pg_escape_string behavior

2005-11-07 Thread -k.
quot;car\" in it ) I'm running PHP Version 4.3.4, and Apache 1.3.29. -k. __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Uploading more than one file

2005-11-21 Thread -k.
If you named the fields like this: Then did something like (or whatever): $error) { echo $key.""; echo $_FILES["files"]["tmp_name"][$key].""; echo $_FILES["files"]["name"][$ke

[PHP] php.ini ignored! Re: [PHP] PHP 4.3.0 released

2002-12-28 Thread omer k
redhat, apache2.0.43 (as dso). compiles and runs without a problem php4.3.0release fails to utilize php.ini settings. ignores changes to the ini file. ./configure --with-config-file-path=/usr/local/apache2/conf/php.ini --with-a pxs2=/usr/local/apache2/bin/apxs --with-mysql (got no errors) thi

[PHP] imagecreatefromjpeg() problems

2003-08-16 Thread J-K
Hi! I've made a little script to make thumbnails which worked before the summer, but now I get this errormessage: Fatal error: Call to undefined function: imagecreatefromjpeg() in /usr/local/others/www.stud.users/mark/gfx/create_tn.php on line 15 First I thought they had

Re: [PHP] imagecreatefromjpeg() problems

2003-08-17 Thread J-K
t; At 2003-08-16 14:35 +0200, J-K wrote: > >I've made a little script to make thumbnails which worked before the > >summer, but now I get this errormessage: > > > >Fatal error: Call to undefined function: > >imagecreatefromjpeg() in > >/usr/local/others/www.

[PHP] Are sessions affected by Unix user changes?

2002-08-27 Thread K Soares
Are sessions in PHP somehow affected by changes in Unix users? I know that the only recent changes to the server have been the addition of a few Unix users and the changing of some older passwords, but now sessions do not work within PHP. Is a session related to a web (default?) user? K

[PHP] Zero-length files for PHP sessions??

2002-08-28 Thread K Soares
My PHP session files are being created in the specified directory (/tmp) by the specified user (apache), but always have a file-length of zero, so no data is being stored. Anyone know what may cause this or how to correct? K. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Upgrade from 4.0.6 to 4.1.1

2002-08-30 Thread K Soares
To upgrade from 4.0.6 to 4.1.1, do I have to fix any code? I think session code has to change but is there anything else? Thanks K. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] file upload problem

2002-09-05 Thread Ram K
Hey I have a prob with my php file upload. i am using windows my html file looks like Upload the datafile here my php file looks like "; echo $file.""; @copy($file, $newfile) or $endresult = "Couldn't Copy File To Server"; echo $endresult; ?> when i run i get an

[PHP] Strore Data in File

2002-09-10 Thread Ram K
Hi I want to store the data of a table in a file and read that file just as one would read a table. For e.g. I have a table t_data with cols name,number,cost and my data file data.txt would have the following data: --- john,1,100 mark,2,200 spencer,3,200 --- Now on the web page when t

[PHP] Need an array parser

2001-02-28 Thread Dallas K.
I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city] = austin $arr[address][state] = Texas $arr[somthing][somthing_else][blah1]= some_valu

[PHP] Need an array parser(CONT)

2001-02-28 Thread Dallas K.
I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city] = austin $arr[address][state] = Texas $arr[somthing][somthing_else][blah1]= some_valu

[PHP] Problem getting PostgreSQL to compile

2001-03-02 Thread K Old
Hello, I'm running RH 7 and Apache. I have the latest version of PostgreSQL and it is installed and running correctly. I have installed PHP with the --with-pgsql and it seems to install everything needed, but when I try to use pg_connect() it fails to connect. Any ideas what I can do? Than

Re: [PHP] Problem getting PostgreSQL to compile

2001-03-04 Thread K Old
es, everything seems ok. Any ideas? >From: The Hermit Hacker <[EMAIL PROTECTED]> >To: K Old <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: Re: [PHP] Problem getting PostgreSQL to compile >Date: Fri, 2 Mar 2001 22:30:11 -0400 (A

[PHP] resource id #2

2001-04-16 Thread Greg K
I am trying to run a query and in my log I am getting a message the message resource id #2. $query=mysql_query("Select pass from members where uname='$username'"); $result = mysql_query($query) or die("You are not authorized to be here."); Can someone tell me what I am doing wrong and guide me

[PHP] Easiest Way to Upgrade PHP

2001-05-01 Thread K Old
Hello all, Quick question. I'm wondering what the easiest way to upgrade PHP is? For instance, right now I have PHP 3 installed on a RH6.1 box and would like to upgrade to the latest version. Even though it was installed using RPMs can I use the tar.gz and build it to apply the upgrade? An

[PHP] function login

2001-05-17 Thread Greg K
I am creating a function called login, I have a main file called index.php .. which has my login form , it calls a login.php file, and in that login.php there is file include statement which calls config.php and that is where the function lie. This is my function , now if i don't set this as a fun

Re: [PHP] Parse error..help!

2001-05-18 Thread Greg K
Also take off the semicolon of the closing of the function } ""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Here is another error i keep on getting, this is suppose to send me an email > each time someone enters in my website but i keep on g

[PHP] newbie bigtime

2002-05-15 Thread k spellman
Just opened a "How to" book today on PHP. Already having problems and wouldn't mind an extra set of eyes. My basic form does not produce results.Any thoughts on this one? http://www.hermengoode.com/php/form.html Thanks! spellman __ Do You Yahoo!?

Re: [PHP] newbie bigtime

2002-05-15 Thread k spellman
you had to say:\n $Comments\n"; ?> And the book suggested POST instead of GET because it is stated that Post is secure and GET is not. Thanks, spellman --- Miguel Cruz <[EMAIL PROTECTED]> wrote: > On Wed, 15 May 2002, k spellman wrote: > > Just opened a "How to" b

Re: [PHP] newbie bigtime

2002-05-15 Thread k spellman
ode with $firstname > rather than > $_POST['firstname']... given that your version of > PHP is probably new > (4.2.x), register_globals is prolly OFF in your > php.ini config file. > > Justin > > > > on 16/05/02 12:13 PM, k spellman > ([EMAIL PROTECTED

[PHP] PHP 4.0.6 and xsl-transformation

2002-04-12 Thread K. Pihl
Hey PHP-gurus! How do I run and invoke PHP XSL-parsing and transformation using PHP version 4.0.6.? Here is the sample code I want to run. files included: PHP-script XML-file and XSL-file:They are formatted nicely client-side by IE6.0. (Please disregard the stupid text in the XML-file, it

[PHP] PostgreSQL query taking a long time

2001-12-21 Thread K Old
Hello all, I have a PostgreSQL database that is storing The Bible. It has 31,103 records in it and I have a PHP page executing this query: SELECT books.book_name, bible.chapter, bible.verse, bible.versetext FROM asv_bible bible, book_bible books WHERE bible.book = books.id ORDER BY random() LI

[PHP] Storing data from several forms of the same type in an array

2001-03-28 Thread cam k
I would like to store data from several forms (same form, different data) so that the info can be written to a database all at once. The reason being is that I would like to have all this information tied to information from a general form. eg. I have a general information form in one frame on

Re: [PHP] Storing data from several forms of the same type in an array

2001-03-28 Thread cam k
;[EMAIL PROTECTED]> wrote in message 99ujc9$nvb$[EMAIL PROTECTED]">news:99ujc9$nvb$[EMAIL PROTECTED]... > How about use JavaScript to do that. > You should be able to access all forms, frames in browser. > > -- > Yasuo Ohgaki > > > ""cam k"" &

[PHP] javascript to php

2001-03-29 Thread cam k
does anyone know how to pass values in javascript variables to php variables?? Or a workaround if no direct solution... -- 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 administrat

[PHP] Re:javascript to php

2001-03-29 Thread cam k
what exactly are you trying to do? pass variables to a php script? then use a form with POST or GET...not that simple? describe better what you're doing then... -jack cam k wrote: ok, I'll explain this a little better, bear with me. I have several forms in different frames and one

Re: [PHP] Re:javascript to php

2001-03-29 Thread cam k
ently > about arrays in sessions, and some good sample code...checkout the list > archives... > if you didn't want to use sessions you could just keep passing one large > array to your different php scripts and then passing that into your > database at the end when you're do

Re: [PHP] registering an array into a session (?)

2001-04-01 Thread cam k
No idea if this will help, but not sure why you are serializing the array... // sessionarray.php4 session_cache_limiter(""); session_start(); session_register('name'); session_register('city'); session_register('state'); session_register('postcode'); session_register('pagecount'); if (pagecoun

[PHP] Hosting for FREE??

2001-04-02 Thread Frank K
Hi, I am just learning PHP (I was a ASP developer but I switched over) and I need a host that is free and lets me use PHP4 and MySQL? Does anyone know of such a host? If you do please tell me! Thanks, -Frank

[PHP] Script Encodeing??? other than Zend.

2001-04-03 Thread Dallas K.
I need a way to encode my scripts so that others can not read them. But I dont want to use the zend encoder? Is there anything else out there that can do what I need?

Re: [PHP] Sneaky solution

2001-04-03 Thread Dallas K.
If you want to check where your submit is comming from, then you need to check the REFERER url. do so by useing the global $HTTP_REFERER variable. global $HTTP_REFERER; if($HTTP_REFERER == "YOUR_FORM_PAGE_HERE") { //PROCESS CODE. } else { echo"Your a hacker, so BITE ME!!!"; } --

[PHP] 1 MySQL Database??

2001-04-04 Thread Frank K
Hi, The host that I am currently at only gives me 1 MySQL Database and I was wondering if I create lots of table will it slow it down at all? I will only be selecting data from 1 or 2 tables on a page...do you think it would slow it down at all? Thanks, -Frank

[PHP] PHP with Win2k or Linux

2001-04-04 Thread Frank K
Does anyone know is there are advantages to running linux while developing php? I just would like to know if there is anything special to installing and developing on linux before I move from Win2k?? Thanks, -Frank

[PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Frank K
I am having trouble installing PHP4 on my linux machine. I downloaded to source and i did a ./configure then a make then a make install. That all went good. Now i am trying to find the libphp4.so file. I did a couple search commands but it could not find it. Can anyone help me with finding this f

[PHP] WHAT IF I DONT WANT TO USE ZEND......(help)

2001-04-09 Thread Dallas K.
But I still want to encode my scripts AND have them run on all differant platforms AND run with little or no setup by the user??? What other alternatives are out there? I know about APC but it only seems to run on windows. I need somthing that I can show my client here soon. so wha

Re: [PHP] WebMail client

2001-06-19 Thread Greg K
Try squirremail at http://www.squirrelmail.org ""Rosen"" <[EMAIL PROTECTED]> wrote in message 9gnf7f$dsk$[EMAIL PROTECTED]">news:9gnf7f$dsk$[EMAIL PROTECTED]... > Hi, > I want to find some Web Mail script in PHP with possibilities to > create mail accounts directly on Linux Mail server. > > Than

Re: [PHP] List of included file names.

2001-06-20 Thread Dallas K.
Try using $PHP_SELF to get the name of the PHP script. - Original Message - From: "Tim McGuire" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 2001 11:30 AM Subject: [PHP] List of included file names. Hi, I searched the archives for this. For debugging pur

Re: [PHP] bad form...

2001-06-20 Thread Dallas K.
On a previous shopping cart, some of our "fantastically complex" scripts got so big that WE couldn't follow the logic too many conditional test, things started to conflict it was hell... so we found that it was better to break the processing code apart from the html. but build one file

Re: [PHP] Which DB abstraction ?

2001-06-22 Thread Dallas K.
Check out the ADODB.. They support 9 (maybe 11) different db's the code is easy and it works http://php.weblogs.com/ADODB We use their script .works well. - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Robert Mena" <[EMAIL PROTECTED]>; "php maili

[PHP] Name of an array???

2001-07-09 Thread Dallas K.
I need to echo the NAME of an array to the browser. when I try this all I get is "Array". when I try to : echo $$array_name; I get nothing. How can I get the NAME of an array to the browser? Thanks.

Re: [PHP] Variables

2001-07-10 Thread Dallas K.
don't use the quotes if($test1 == $test2) {echo "True"; } else {echo "False"; } - Original Message - From: "James Bartlett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 7:21 PM Subject: Re: [PHP] Variables No it doesn't seem to like that either

[PHP] PHP inside code problem

2001-08-07 Thread Nick K.
hi there - if ($act = "add") //Add the message... { if (!empty($user_name) && !empty($user_ip) && !empty($user_message) && !empty($user_sex)) { if (!($html_support)) { $user_message = htmlspecialchars("$user_message"); } $user_mess

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread Dallas K.
This is what I use file://DIR to start looking in $basedir = "C:/Inetpub/wwwroot/_ActiveClientFiles/GLS/portfolio/"; file://working DIR or the dir to change to. $wdir = "web/"; // list of DIRs var $dirlist; $filelist; $add_dir ; /

Re: [PHP] Newbie Question: Forcing a page load with no click

2001-08-21 Thread Dallas K.
use require_once(""); to include the page or use header("Location: "); to redirect to a different page - Original Message - From: "LB" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 10:58 AM Subject: [PHP] Newbie Question: Forcing a page load with n

[PHP] Trunkated zeros..... how to fix?

2001-09-05 Thread Dallas K.
I am having the problem that Mysql is truncating the zeros from both the int and char fields when I try to insert How can I fix this. example: 0123 in PHP = 123 in mysql 3210 in PHP = 321 in mysql but I need that zero how do I keep mysql from doing this?

[PHP] Fw: Show of American Solidarity - Read & pass on

2001-09-13 Thread Dallas K.
- Original Message - From: "Steve Walker" <[EMAIL PROTECTED]> To: "Info" <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 11:09 AM Subject: Show of American Solidarity - Read & pass on > > Tomorrow is U.S. Color day. Red, White & Blue should be worn in honor of our > fellow Americ

[PHP] Time.com Interactive Memorial for the WTC Attack

2001-09-13 Thread Dallas K.
http://www.time.com/time/nation/article/0,8599,174659,00.html

[PHP] Worth reading

2001-09-13 Thread Dallas K.
Worth reading Written by Leonard Pitts, a writer for the Miami Herald. Published Wednesday, September 12, 2001 We'll go forward from this moment. It's my job to have something to say. They pay me to provide words that help make sense of that which troubles the American soul. But in th

[PHP] text editing (parsing)

2001-09-19 Thread Jonas K
I need some help with parsing text. very simple. I have a text string like "News, Bla, Blabla" and i want to get the single words out of the string. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Wow

2001-09-20 Thread Jonas K
thx alot :) -- 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] Can someone explain this????

2001-09-21 Thread Dallas K.
try this when u get a sec. >its weird... > >In Microsoft Word, start with a blank page and type the letters NYC > > >in all caps. Highlight the letters and change to the largest font size, > >72 points. > > > >Now change the font itself to Webdings . > > > >that's not all. > > > >

[PHP] ReflectionMethod::invokeArgs

2009-04-23 Thread K. L.
Hi! Please, tell me what's ReflectionMethod::invokeArgs first param for? Since method always know it's class and it can only be invoked on it's own class. Regards, K.L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help me

2005-02-17 Thread K Karthik
can u help me to use $_SERVER['remote_addr'] to find the IP address ? i am new to php. i also want to find what page of my site he is viewing ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [php] -help me

2005-02-17 Thread K Karthik
i have got string as "/home/karthik/welcome.php/view.php" i just need "view.php" how shall i remove rest of the string. please do help me.i am new to php. -thanks, karthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help me

2005-02-17 Thread K Karthik
i am so surprised for the immediate reply.thank you so much. i'll be thank ful again if you could help me finding the current date and time using php. thanks, karthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help me

2005-02-23 Thread K Karthik
dear sir, i'd like to get a date from my database(mysql).and then show a combobox of calendar(date-month-year) with the retrieved data selected. can you help me doing this?? am new to php. thanks, karthikeyan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] php-help

2005-03-01 Thread K Karthik
dear friends, can u help me to find the current directory where my php files are.. using php. thanks, karthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-help

2005-03-08 Thread K Karthik
sir, iam new to php i'll explain my problem .if u could help i'll be very thankful... in my mysql database i have two tables i.e., table1 and table2. i have an array of result from one query "select feild1 from table1 " i have to use this result in another query. "select field2 from table

[PHP] php-help

2005-03-08 Thread K Karthik
hello sir, i am so happy about the immiediate response for any of my question. i would like to create a static html page. using cronjob regenerate it every 24 hours. how can i do it using php. thanks, kkarthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] php-help

2005-03-09 Thread K Karthik
sir, i'll explain my problem.and if anyone could help me i'll be thankful. i am displaying a content read from a file into a text area of a form. when i make changes andretrieve back in the text area, i encounter a problem.. i.e., when i enter text="please enter" i have an outputas text= /" please

[PHP] [Fwd: db to xml using php]

2005-03-16 Thread K Karthik
--- Begin Message --- can anyone help me to write from db to xml using php. if there is any site please do refer me. thanks, karthik --- End Message --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] db to xml using php

2005-03-16 Thread K Karthik
can anyone help me to write from db to xml using php. if there is any site please do refer me. thanks, karthik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] db to xml using php

2005-03-17 Thread K Karthik
sir, i downloaded the zip from http://php.chregu.tv/sql2xml/. and then i couldnt know what i am suppose to do.. when i tried running the file am getting error Fatal error: main() [function.require]: Failed opening required 'XML/sql2xml.php' (include_path='.:/usr/local/lib/php') in /home/kkarthik/w

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread K. Hayes
What "lists" are you referring to? Also this is how the examples show I've seen. I know this is basic general stuff but I try many times before posting, and I have followed all directions given. So this is what I did, and nothing is set DB still :-( ===NEW CODE==

[PHP] Install question

2007-06-15 Thread Paul K
I have just started with a clean install on a Windows XP Pro system, Apache 2.24 and PHP 5.2.3 Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3. I can access html files just fine but I can't even run a test program Nothing displays. Where do I look to see whats wrong? Paul -- PHP Genera

Re: [PHP] Form Data Filtering

2007-06-16 Thread K. Hayes
if(@sizeof($profanity) > 0) { echo "Please REMOVE the profanity in the following fields. Immediately!"; foreach($profanity as $field => $value) { echo "  {$label_array[$field]}"; //line 114 } } - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "kvigor" <[EMAIL PROTEC

Re: [PHP] Selecting Rows Based on Row Values Being in Array

2007-06-29 Thread K. Hayes
Will do. Thanks. - Original Message - From: "Jim Lucas" <[EMAIL PROTECTED]> To: "kvigor" <[EMAIL PROTECTED]> Cc: Sent: Saturday, June 30, 2007 1:46 AM Subject: Re: [PHP] Selecting Rows Based on Row Values Being in Array kvigor wrote: Hello All, I'm attempting to return rows from

Re: [PHP] Selecting Rows Based on Row Values Being in Array

2007-07-05 Thread K. Hayes
No not trying to trick you at all. It's just that because of an incident I had on a previous site with giving actual table names etc. I had another one helping me through forums. I actually share too much info. as a result my DB was ruined... At any rate had no clue about combined_string it

[PHP] Php code in html buttons

2007-07-10 Thread k w
I'm trying to make a button execute some php code when the button is clicked. I'm not sure if it is the button i'm coding wrong or the php code. Here is the code I am using. 'Click"; ?> I've got all my variables stored in the php page, and I know they are all correct. But when I push the button

[PHP] ��Ң�¶١ Licensed Windows XP Pro, win 98, 98 se, Office XP Small, Office

2006-06-28 Thread k. paisarn
àÃÒ¢Ò¶١ Licensed Windows XP Pro, win 98, 98 se, Office XP Small, Office XP Professional, Office Pro 2003 ¶Ù¡ÁÒ¡ ¢Í§á·éá¹è¹Í¹ 100 % µÔ´µèÍ Paisarn 06-5881135 - Windows 95 ẺÁÕ CD ¤ÃºªØ´ 200 bath - Windows 98 book+COA only 800 bath - Windows 98 boo

[PHP] �Թ����ʹ͡����µ��-����Ѻ����ӧҹ��Ш��������Ңͧ�Ԩ������ͼ�������ҡ�����˹���ѵ���ôԵ�����Թ��������Ҵ͡ᾧ

2006-06-30 Thread k. chin
˜ : ºÃÔ¡ÒÃà¡çºàÍ¡ÊÒö֧·ÕèºéÒ¹áÅзÕè·Ó§Ò¹ã¹à¢µ¡Ãا෾ áÅлÃÔÁ³±Å µèÒ§¨Ñ§ËÇÑ´Êè§àÍ¡ÊÒ÷ҧä»ÃɳÕÂì µÔ´µèÍÊͺ¶ÒÁä´é·Õè k. chin 06-7815050, 03-7797261 [EMAIL PROTECTED] ¢ÍÍÀÑÂà»ç¹ÍÂèÒÂ

[PHP] Check if var content was exceeded (float).

2008-07-09 Thread k bah
-- Powered by Outblaze -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Floats and avoid exponential notation - How?

2008-07-17 Thread k bah
Hi, From http://www.php.net/manual/en/language.types.float.php (second comment in that page, from "kjohnson at zootweb dot com"): "PHP switches from the standard decimal notation to exponential notation for certain "special" floats. You can see a partial list of such "special" values with t

[PHP] Floats and avoid exponential notation - How?

2008-08-14 Thread k bah
Hi, I'm working with floats because I have a big number to identify users, and the only operation I make with this number is to add something less than 100 with 100 (one and ten zeros). Besides that I just need to use the number to search ("=" comparison). I never need the fr

[PHP] Secure way to handle pw on session.

2008-09-02 Thread k bah
Hi, I noticed session files are kept on /tmp for a while, and even if they were immediately deleted, well, someone could use one of my php scripts to inject code and read them, since they belong to the httpd user. What's the best way to receive passwords thru a form and store them in the $_

Re: [PHP] Secure way to handle pw on session.

2008-09-03 Thread k bah
> - Original Message - > From: "Dan Joseph" <[EMAIL PROTECTED]> > To: php-general@lists.php.net > Subject: Re: [PHP] Secure way to handle pw on session. > Date: Tue, 2 Sep 2008 15:35:26 -0400 > > > On Tue, Sep 2, 2008 at 3:27 PM, k bah &

Re: [PHP] What is wrong here?

2002-11-24 Thread Leif K-Brooks
Are you using a relative url for the redirection? Cesar Aracena wrote: Hi all, I'm making a site which will reside in a remote server and had several problems... most of them where solved once I saw that register_globals are OFF, but now I dont know which other settings are affecting my script

[PHP] Browser going to page twice?

2002-11-24 Thread Leif K-Brooks
I'm having a weird problem. When I submit a form on my site, it often sends twice. I'm not sure if this is a client-side or server-side problem, but it doesn't happen on other sites. Is this a common problem, or am I making some dumb mistake? -- The above message is encrypted with double rot

[PHP] BBCode?

2002-11-24 Thread Leif K-Brooks
I'm working on adding simple BBCode to my site. I'm currently using the [i] tag for testing, with the following code: function bbcode($text){ $text = ereg_replace('\\[i\\](.{1,})\\[/i\\]','\\1',$text); return $text; } print bbcode('[i]This[/i] is a [i]test[/i].'); ?> But it prints "This[/i] is

  1   2   3   4   5   6   7   8   9   >