[PHP] value not displayed

2003-01-24 Thread Rahul
Hello All, When i pass a value through browser to a php page as below http://www.xyz.com/test.php?abc=test But when i try to display the variable abc as below It is not showing anything in php-4.3.0. but the value is displayed in php-4.2.2 version. Regards, -sadha -- PHP General Mailing L

[PHP] Creating a zip file using php

2002-08-13 Thread Rahul
Hi I want to create a zip file using php. Can this be done? If anybody has a code snippet, for this, or any guidelines, please send it to me. Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] remote desktop control

2002-09-30 Thread Rahul
Hello all, Is it possible to implement Web Based Remote Desktop Control using PHP or anyother webbased language? Aim is to share the remote(visitor's) system(desktop). If possible, plz let me know how to proceed. Advance thanks, -sadha

Re: [PHP] remote desktop control

2002-10-01 Thread Rahul
Hello Smith, Thanks for your reply. Do you have any idea in implementing same with any other language? But VNC and all needs download process to use (control remote desktop). I'm asking abt web based(anywhere control- no need to download and install). if you have any idea in doing this, plz te

[PHP] simple Q!

2002-10-29 Thread Rahul
Hello all, I'm plan to use latest verison of Apache(httpd-2.0.43.tar.gz), PHP(php-4.2.3.tar.gz) and MySql(mysql-3.23.53.tar.gz) combinations. Just i want to conform is there any Vulnerability issues in any of these sources? Advance thanks. Regards, -Shadha

Re: [PHP] simple Q!

2002-10-29 Thread Rahul
suggest sticking with Apache 1.3.x for the time being. > > -Rasmus > > On Wed, 30 Oct 2002, Rahul wrote: > > > Hello all, > > > > I'm plan to use latest verison of Apache(httpd-2.0.43.tar.gz), PHP(php-4.2.3.tar.gz) and MySql(mysql-3.23.53.tar.gz) combina

[PHP] Transferring files between computers using php

2008-03-06 Thread Rahul
I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones version of php, i.e. just the original thing that gets installed when I run "yum install php". As there is no webserver on any of these machines, I was wondering if there is a way to

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Rahul
en and so I was thinking of establishing a direct connection between them.. Zareef Ahmed wrote: On 3/7/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Rahul wrote: I have a small file to be transferred between two computers every few seconds. I'm using unix with a bare bones ver

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Rahul
Zareef Ahmed wrote: On 3/7/08, Rahul <[EMAIL PROTECTED]> wrote: Thank you all so much for replying... I guess I was very vague in describing the situation. I will write in detail: I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don'

[PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someone help me out please?

2008-05-10 Thread Rahul
MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /export/home/rahul/may/sample.php on line 5 PHP Warning: mysql_query(): A link to the server could not be established in /export/home/rahul/may/sample.php on line 5 Can't connect to local MySQL server through soc

[PHP] Re: PHP-MYSQL Error: Can't connect to MySQL socket. Can someone helpme out please?

2008-05-10 Thread Rahul
By the way it installed MySQL 6 and PHP 5.0.4 and from the console this command does not work: mysql -u root -p but only this works: mysql -h -u root -p I tried doing the same while connecting to the database via php but it does not work. Rahul wrote: I am using Fedora Core 4. As I was

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someone help me out please?

2008-05-10 Thread Rahul
mysql -h mycomputer.webaddress.com -u root -p Thank You Nathan Nobbe wrote: On Sun, May 11, 2008 at 12:30 AM, Rahul <[EMAIL PROTECTED]> wrote: I am using Fedora Core 4. As I was unable to use PHP or MySQL together, I uninstalled both of them and installed again using the following co

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Rahul
puter.webaddress.com.err drwxr-xr-x 2 nfsnobody nfsnobody 4096 Jan 24 20:07 mysql And when I try to change the ownership of the directory to mysql by [EMAIL PROTECTED] chown mysql ./mysql6 chown: changing ownership of `./mysql6': Operation not permitted Just thought it might be related t

[PHP] Can I make EasyPHP on Windows allow remote connections?

2008-05-10 Thread Rahul
I have EasyPHP installed on my Windows system and can connect to the php+mysql using localhost in the browser but I was wondering if I can connect to this computer (which is at my office) from my home. I have a web address alloted to my computer at office. Thanks, Rahul -- PHP General

[PHP] php install error --enable-sockets

2002-06-12 Thread Rahul Bhide
Hi , I am trying to install php with the --enable-sockets on a solaris2.8 machine . and getting the following error . Any help is appreciated . thanks ~Rahul sockets.c: In function `php_if_recvmsg': sockets.c:1728: structure has no member named `msg_control' sockets.c:1729: str

[PHP] run commands on multiple machines

2002-06-18 Thread Rahul Bhide
Hi, I want to run some unix commands on multiple machines(in a network) from my web server and display results in the browser . eg. I want to run "pkginfo" or "showrev -p" kind of commands on multiple machines and gather the result on the web server and display in the browser . Can anyboby

[PHP] Newbie : info/tut on XML and PHP

2001-01-18 Thread Rahul Bhide
Hi Gurus , Can you give me pointers(read urls) to "Good Sites" on tutorials or info from scratch on XML with PHP. Thanks in Advance. ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] first three characters

2001-03-18 Thread Rahul Bhide
Gurus, How do I extract the first n characters out of a word . I have this- $Word = attention I want - $Word_3 = att $Word_4 = atte $Word_5 = atten this is only extracting first three/four/five characters . What is the right function to use here ?? thx in advance. ~Rahul -- PHP

[PHP] db to xls

2001-04-24 Thread Rahul Bhide
Gurus, I want to query an oracle database and push the output to an MS Excel spreadsheet . Currently I am dumping it to a csv text file and reading into Excel. Is there a better way to do this?? Is there a php function for this ?? Regards ~Rahul -- PHP General Mailing List (http

Re: [PHP] create bar chart

2001-04-24 Thread Rahul Bhide
Ali, You need to install gd library with php . Visit here for a reference tool //www.sourceforge.net/projects/phplot/ bye ~Rahul Ali wrote: > Hello, > > how it is possible to create a bar chart in php? I appreciate any hint. > > Ali > > -- > PHP General Mailing

Re: [PHP] db to xls

2001-04-24 Thread Rahul Bhide
Thanks Calin, I have already tried with the csv and the tab delimited text file . I wanted to know a better option bye `Rahul Calin Rotaru wrote: > You can query the oracle database and generate a text file with tab delimiter. > Then you can open this file in Excel. > > Calin &g

[PHP] dynamically adding rows to same form.

2001-04-27 Thread Rahul Bhide
Gurus , Problem : my php form has a 4 text field with one row . I want to put an "add another row" button at the end of the row such that clicking will bringup the previous row as well as add a new row below it for further input of data . let me know , thanks and regards, ~Rahul

Re: [PHP] Can php support ttf??

2002-04-22 Thread Rahul Bhide
php/gd/freetype work well with each other . I am using freetype-1.3.1 gd-1.8.4 php-4.0.4pl1 which works well for me . hope this helps. ~Rahul zhaoxd wrote: > hello all: > :) > My version of gd is 1.8.4,my php is 4.1.2,which works on apache server whose version >is 1.3.24 and my OS

[PHP] sessions and REMOTE_USER

2001-03-29 Thread Rahul Bhide
get his login name in a variable. but on execution nothing gets printed. Any solutions ?? thanks in advance, ~Rahul -- 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

Re: [PHP] what could cause the maximum execution time exceeded?

2001-04-10 Thread Rahul Bhide
Just wondering ---if your question means . Where is the time limit set ? then the answer is ---php.ini file (usually sitting in the /usr/local/lib directory) . please ignore if I interpreted the question wrong !!. bye, ~Rahul "B. van Ouwerkerk" wrote: > At 11:02 10-4-01 -0500

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Rahul P
h all sorts of bad files. I will try Google now... Thanks for the help... :) On Sun, May 11, 2008 at 12:17 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 1:05 AM, Rahul <[EMAIL PROTECTED]> wrote: > >> I have recorded both the errors by chang

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Rahul P
oding something :) On Sun, May 11, 2008 at 12:27 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 1:22 AM, Rahul P <[EMAIL PROTECTED]> wrote: > >> Thanks. I just stopped mysql and when I try to start it again it throws >> another set of errors: >

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Rahul P
On Sun, May 11, 2008 at 12:42 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 1:29 AM, Rahul P <[EMAIL PROTECTED]> wrote: > >> Oh... This is the fourth time I'm doing that except that this time yum >> installed mysql6 instead of older

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Rahul P
Ok I removed mysql using yum remove mysql. But is there a special way to tell yum to install that version of mysql? On Sun, May 11, 2008 at 12:44 AM, Rahul P <[EMAIL PROTECTED]> wrote: > > > On Sun, May 11, 2008 at 12:42 AM, Nathan Nobbe <[EMAIL PROTECTED]> > wrote: >

Re: [PHP] Can I make EasyPHP on Windows allow remote connections?

2008-05-10 Thread Rahul P
n Sun, May 11, 2008 at 1:25 AM, Rahul <[EMAIL PROTECTED]> wrote: > >> I have EasyPHP installed on my Windows system and can connect to the >> php+mysql using localhost in the browser but I was wondering if I can >> connect to this computer (which is at my office) from

Re: [PHP] PHP-MYSQL Error: Can't connect to MySQL socket. Can someonehelp me out please?

2008-05-10 Thread Rahul P
Ok. I apologize for the mix. When I'm mailing someone, I simply don't get Google into mind. :) Thanks, Rahul On Sun, May 11, 2008 at 12:53 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 1:46 AM, Rahul P <[EMAIL PROTECTED]> wrote: > >> O

Re: [PHP] Can I make EasyPHP on Windows allow remote connections?

2008-05-10 Thread Rahul P
Looks like it is closed... Thanks. I will pay a visit to the Root... You've been of great help... Thanks Rahul On Sun, May 11, 2008 at 1:00 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 1:48 AM, Rahul P <[EMAIL PROTECTED]> wrote: > >> Well

[PHP] Query : Facing Error

2006-03-08 Thread Rahul sharma
ebserver, consult the installation file that came with this distribution, or visit http://php.net/install.windows";>the manual page. Have you any solution to kill this problem. Please send me. With best regards ( Rahul )

[PHP] Site Search for website

2004-10-18 Thread Rahul S. Johari
is generated automatically and goes into the database. I know there are paid software out there which do the same, but I¹m inclined to believe there has to be a way for PHP to read keywords off the pages in a folder and index them. Or I may be wrong. Any guidance appreciated. Rahul S. Johari

[PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
quot;,".trim($row['DATE']).","."\n"; <-- THIS is where my problem is! This only writes the last row!! } } #WRITE TO CSV @fwrite( $_fp, $_csv_data ); @fclose( $_fp ); _ Thanks! --- Rahul Sitaram Johari Founder, Internet Arc

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < sleepwal...@rahulsjohari.com> wrote: Ave, I'm trying to retrieve data from a DBF database and write it to a CSV file in a comma delimited format. I'm able to get the d

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
On Mar 13, 2009, at 11:44 AM, Shawn McKenzie wrote: Rahul S. Johari wrote: On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < sleepwal...@rahulsjohari.com> wrote: Ave, I'm trying to retrieve data from a DBF database and wr

[PHP] Writing to dbase (dbf) deletes index (cdx)

2009-03-25 Thread Rahul S. Johari
mail']; //echo "Replacing Record number $i"; // Replace the record $row = array_values($row); dbase_replace_record($db, $row, $i) or die("Fatal Error&qu

[PHP] Connecting to dBase using ODBC on Mac OS X

2009-04-09 Thread Rahul S. Johari
oxPro dBase table. Thanks. --- Rahul Sitaram Johari Founder, Internet Architects Group, Inc. [Email] sleepwal...@rahulsjohari.com [Web] http://www.rahulsjohari.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Extract variable out of a Class -> Function

2009-04-23 Thread Rahul S. Johari
;url,-10,7); echo $justTT; } } } I need to use $justTT. How do I get the value of $justTT into a different variable outside of this class/function so I can use it in a different class? --- Rahul S. Johari Supervisor, Internet & Administration In

Re: RES: [PHP] Extract variable out of a Class -> Function

2009-04-23 Thread Rahul S. Johari
$this->url) { $this->justTT = substr($this->url,-10,7); } } } $myvar=new Test(); $myvar->showOutput(); $othervar=$myvar->justTT; echo $othervar; $otherClass=new anotherclass($othervar); Is that u want? Zechim SP/Brazil -Mensagem original

[PHP] How do I Upload XML file using cUrl?

2009-06-12 Thread Rahul S. Johari
rl_setopt($ch, CURLOPT_TIMEOUT, 40); // times out after 4s curl_setopt($ch, CURLOPT_POSTFIELDS, $XPost); // add POST fields curl_setopt($ch, CURLOPT_POST, 1); $result = curl_exec($ch); // run the whole process [END CODE] Am I on the right track here or am I missing something? Thanks Guys! ---

[PHP] Exporting from Multiple mySQL Tables into One

2007-01-18 Thread Rahul S. Johari
ispo['loanofficer'], $row_loDispo['verifier'], $bx)); } while ($row_loDispo = mysql_fetch_assoc($loDispo)); dbase_close($db2); } mysql_free_result($loDispo); header("Location: dbf/$bx.dbf"); Now I just nee

Re: [PHP] Exporting from Multiple mySQL Tables into One - SOLVED!

2007-01-18 Thread Rahul S. Johari
do { dbase_add_record($db2, array( $row_loDispo['phone'], $row_loDispo['comments'], $row_loDispo['starttime'], $row_loDispo['endtime'],

[PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-14 Thread Rahul Sitaram Johari
k? Anyone else has this problem? Thanks. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²

Re: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-14 Thread Rahul Sitaram Johari
'm facing. I'm just not sure how to make php.ini or the mySQL DLL extensions get administrative privileges while Apache tries to access them. Thanks. On 3/14/07 9:54 AM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/14/07, Rahul Sitaram Johari <[EMAIL PROT

Re: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-14 Thread Rahul Sitaram Johari
You kidding me? I didn't know anything about that! That could be the solution! I'm gonna give this a try and see if that makes a difference. I'm using native mySQL btw, not mysqli. Thanks! On 3/14/07 9:54 AM, "Richard Davey" <[EMAIL PROTECTED]> wrote

Re: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-14 Thread Rahul Sitaram Johari
ying the DLL), without trying, it would be too premature to label it logical or illogical - because if it does work, logic can be scrutinized. All in all, good post there mate, and appreciate you sharing your mind! Cheers! ~~~ Rahul Sitaram Johari CEO, Twenty

Re: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-16 Thread Rahul Sitaram Johari
nsion won't work with PHP just because I'm running Vista. Never had this problem ever before. Anyone?!? ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The

[PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
the original folder. Windows is only able to provide the Mac User with Permissions, not Apache. Any help would be appreciated. Thanks ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
rahul:~/Documents/XFER rjohari$ ls -la osm total 26548 drwxr-xr-x 1 rjohari rjohari16384 31 Dec 1969 . drwxr-xr-x 5 rjohari rjohari 170 22 Mar 12:08 .. -rwxr-xr-x 1 rjohari rjohari21508 13 Sep 2006 .DS_Store -rwxr-xr-x 1 rjohari rjohari 82 14 Sep 2006 ._Temporary

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
ess on the Windows Machine. Yes, it is quite complicated :( > On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> >> Ave, >> >> I¹m not sure if anyone here is going to be able to help, but I¹ve run into a >> permissions snag. >> I have Apache W

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
Ave, Certainly looks very promising, but is giving me: mount_smbfs: -o fmask=: option not supported Let me google it too, see what I can come up with. Appreciate it a lot mate. On 3/22/07 12:48 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/22/07, Rahul Sitaram Johar

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
"Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> >> Ave, >> >> "Or make sure the user apache runs on has write access to the share." >> >> That's the problem I'

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
e a closer look at Samba and also the list you linked to. Thanks again - appreciate your help! On 3/22/07 2:21 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> Ave, >> >> Certainly looks very

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
you would recommend a recursive chmod? > as long as there's no OS installed it wouldn't do a lot, but of course > this would remove a little bit security. (Not that there's a lot of > security with windows...:P) > But i think that when remounting the partitition, the permissions ar

Re: [PHP] Permissions issue on share - SOLVED!!

2007-03-22 Thread Rahul Sitaram Johari
ut uid & gid of Apache Web Server on my Mac OS X. Hope this helps someone else ;) ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/22/07 3:32 PM, "Tij

[PHP] Add New Records Only!

2007-03-23 Thread Rahul Sitaram Johari
e'], $row_loDispo['dispo'], $row_loDispo['loanofficer'], $row_loDispo['verifier'], $bxQ)); } while ($row_loDispo = mysql_fetch_assoc($loDispo)); } dbase_close($db2); } Any suggestions would be highly appreciated. Thanks, ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²

Re: [PHP] Add New Records Only!

2007-03-23 Thread Rahul Sitaram Johari
ks! On 3/23/07 11:36 AM, "Mark" wrote: > Rahul Sitaram Johari wrote: > > As far as I can see, there is probably only three ways to do this: > > One: Make sure your dbase system contains unique primary key capability, and > use it to avoid duplicates. > Two:

Re: [PHP] Add New Records Only!

2007-03-23 Thread Rahul Sitaram Johari
key is the same as the previous one, it is a > duplicate record and ignore it. > > like this: (pseudo code) > > $primary_key = ""; > while(!eof()) > { >$record = get_next_record(); > > if($record->primary_key != $primary_key) > { >store_new_reco

Re: [PHP] Add New Records Only!

2007-03-23 Thread Rahul Sitaram Johari
3/23/07 2:17 PM, "Brad Fuller" <[EMAIL PROTECTED]> wrote: > Rahul wrote: >> Ave, >> >> It's definitely not live data, so that is not a problem at all. But I'm >> not >> sure I understand your method very well. >> >> I do under

Re: [PHP] Add New Records Only!

2007-03-26 Thread Rahul Sitaram Johari
uns it will remove one occurence of the all duplicated >> records. You'd have to run it several times until it deletes no more >> records. In MySql, you cannot have the same table in the 'delete' >> and in >> the subquery, thus, you will have to first ins

Re: [PHP] OT - How to code a link to download a file (program file)

2007-03-26 Thread Rahul Sitaram Johari
e file, and not open the file in IE. $F was the filename passed as a variable. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²

Re: [PHP] OT - How to code a link to download a file (program file)

2007-03-26 Thread Rahul Sitaram Johari
CTED]> wrote: > On Mon, March 26, 2007 2:49 pm, Rahul Sitaram Johari wrote: >> header("Content-Type: application/force-download"); > > header("Content-type: asfdsgfhrsiu/luhgireughinfibvn"); > > would work equally well as application/force-down

Re: [PHP] Add New Records Only!

2007-03-26 Thread Rahul Sitaram Johari
;m not getting this right. On 3/26/07 4:13 PM, "Richard Lynch" <[EMAIL PROTECTED]> wrote: > On Mon, March 26, 2007 2:28 pm, Rahul Sitaram Johari wrote: >>> Another option would be to just create a UNIQUE INDEX on the fields >>> you think "should" be

Re: [PHP] Add New Records Only!

2007-03-26 Thread Rahul Sitaram Johari
could, perhaps, create a TEMP table in MySQL, with the unique > index, insert rows one by one, and silently ignore the ones that fail > to insert. > > Then export the temp table to DBF. > > On Mon, March 26, 2007 3:19 pm, Rahul Sitaram Johari wrote: >> >> I'm export

[PHP] Anyone TrackPro 2 or Something Similar?

2007-03-27 Thread Rahul Sitaram Johari
download trackpro. I was wondering if someone has a the trackpro script from before they closed it down. If not ... Anything similar would do. Thanks. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I

Re: [PHP] Anyone TrackPro 2 or Something Similar?

2007-03-27 Thread Rahul Sitaram Johari
Ave, Will give it a try!! Thanks! On 3/27/07 9:37 AM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/27/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> Ave, >> >> I was looking to incorporate a PHP based web traffic analysis script for

[PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
names are fine ­ Connection is fine! I¹ve double checked all these things. I¹m not getting any errors ­ it¹s just not executing the INSERT for some reason!!! HELP! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
3/29/07 10:14 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > > I see $result = mysql_query($sql), but I don't see $sql = "QUERY > STATEMENT" anywhere > > On 3/29/07, Rahul Sitaram Johari < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECT

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
,'$WHAT','$WHO')"; $result = mysql_query($sql) or die("Fatal Error :".mysql_error()); echo "~: message sent :~"; } ?> Please disregard the previous code I sent. Thank you! On 3/29/07 10:10 AM, "Rahul Sitaram Jo

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
orm is not submitted, this code is not executed (the echo statements do not appear) - so I'm assuming that's not the problem. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I mort

[PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
nd not giving any errors: $sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES ('$WHEN','$WHAT','$WHO')"; $result = mysql_query($sql) or die("Fatal Error :".mysql_error()); echo "~: message sent :~"; } Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
Honorable *bow* Thanks! ~~~~~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/29/07 10:30 AM, "Tijnema !" <[EMAIL P

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
if the form has been submitted? BTW: figured out the problem, as resolved by Tijnema, ³WHEN² is a reserved word in mySQL. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
Awesome! This helps. I¹ll start using this method from now on ­ certainly seems a lot more compliant and also actually helps eliminating the ³Submit² button name confusion. Thanks! Appreciated. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Rahul Sitaram Johari
Agreed, if there are multiple forms, I will definitely have to use either Submit name or some form of identifier. Thanks! On 3/29/07 10:47 AM, "Zoltán Németh" <[EMAIL PROTECTED]> wrote: > 2007. 03. 29, csütörtök keltezéssel 10.38-kor Rahul Sitaram Johari ezt > írta: >

[PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
but they contain additional chars. What I need is something that can pull up all 515515515*.ext Can I do this in PHP? Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
Ave, Yes well, I did kind of figure out that I have to scan through contents of a directory, pull up a file list, and then do some kind of pattern matching to narrow down to the files I need. But at this moment I'm kinda struggling with the directory & file functions - haven't really dwelled into

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
Thanks!! Much Appreciated! ~~~~~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/29/07 4:31 PM, "Peter Lauri" <[EMAIL PROTECTED]> wrote: >> -Orig

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
Ave, This Works!! "; } ?> THANKS! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/29/07 4:31 PM, &quo

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
Awesome!! This Works!! "; } ?> THANKS! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] “I morti non sono piu soli ... The dead are no longer lonely” On 3/29/07 3:52

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
Agreed! And definitely modified my code to use basename() "; } ?> Thanks! On 3/29/07 3:58 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/29/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: >> Ave, >> >> This Works!! >

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Rahul Sitaram Johari
;) Point taken! "; } ?> :) Thanks ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/29/07 4:58 PM, &quo

[PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
e on in the Apache Web Server htdocs folder where my website resides. How do I make these files available to download if they are not in my webserver folder? Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EM

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
eside on a mounted share on my system. They are NOT in the Apache Web Server htdocs folder where my website resides. How do I make these files available to download if they are not in my webserver folder? Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
Ave, I¹m going to try creating the sharepoint within my webserver, as suggested by you and tijnema. I think that¹s probably the easiest and quickest solution to this. I¹ll report back! Thanks! On 3/29/07 4:48 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: > > Rahul,

Re: [PHP] Link to download files on another part of system - SOLVED!

2007-03-29 Thread Rahul Sitaram Johari
rop down and it comes up for Download. Perfect! Thanks!! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² >> Ave, >> >

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
Ave, You've actually raised pretty valid security issues. The files in that particular mounted share can be publicly accessible so I'm not worried about that. But I'll certainly validate phone number before executing the find command. Thanks! ~~

Re: [PHP] Show Filename using Wildcards

2007-03-30 Thread Rahul Sitaram Johari
Ave, Hmmm... Not familiar with glob() at all... Let me dig! Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/30/07 5

Re: [PHP] Link to download files on another part of system

2007-03-30 Thread Rahul Sitaram Johari
Yes, and while I dig up on glob(), to be quite honest, the exec is working very effectively and fast for my searches & download application - so can't complain about it one bit. ~~~~~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc.

Re: [PHP] What is wrong with this INSERT?

2007-03-30 Thread Rahul Sitaram Johari
A definite improvement!! Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/29/07 7:31 PM, "Chris" <[EM

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-03-30 Thread Rahul Sitaram Johari
"; } ?> Thanks! ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-03-30 Thread Rahul Sitaram Johari
Tijnema, In fact this same Question popped into my head - which one should I choose and why to choose one over the other? I tried both of the codes and compared them. While I can't comment on any security benefits of using either, I have to say, I did find glob() to be slightly faster in bringin

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-03-30 Thread Rahul Sitaram Johari
(and please don't kill me): ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 3/30/07 10:31 AM, "Jochem Maas" <[EMAIL PROTECTED]>

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-03-30 Thread Rahul Sitaram Johari
ecure way to do this. I'm sure there are security flaws in this code. All files in the vox folder are publicly accessible so I'm not majorly concerned about it, but at the same time, it would be a good opportunity to strengthen security on this. Thanks! On 3/30/07 10:55 AM, "Jochem M

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-04-03 Thread Rahul Sitaram Johari
flaw? ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely² On 4/1/07 1:59 AM, "Richard Lynch" <[EMAIL PROTECTED]> wrote: > The problem is that with &q

Re: [PHP] moving to quad core

2009-09-15 Thread Rahul S. Johari
nteresting question indeed; I moved from a single-core to dual-core some time back, and recently moved from dual-core to quad-core. Never paid attention to the hyper- threading difference in the httpd process. Would definitely be interesting in seeing more information on this topic. --- Rah

[PHP] dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
any way in PHP to reference this Index file for faster searches. Is there any possibility to improve search response time? Thanks! --- Rahul Sitaram Johari Founder, Internet Architects Group, Inc. [Email] sleepwal...@rahulsjohari.com [Web] http://www.rahulsjohari.com -- PHP General Mailing

Re: [PHP] dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
On Nov 24, 2009, at 8:59 AM, Ashley Sheridan wrote: On Tue, 2009-11-24 at 08:40 -0500, Rahul S. Johari wrote: Ave, I'm connecting to a foxpro database (dbase) and simply running a search to retrieve a record. It's a very simple code. The problem is, as the database is growing, the

  1   2   3   >