de("/", $dir);
$fileListArr = dirList($dir);
}
$db = mysql_connect("localhost","usr","pwd");
mysql_select_db("db",$db);
foreach($fileListArr AS $value) {
$sql="INSERT INTO r2 (ID, RECORDI
On Jan 13, 2010, at 10:40 AM, Rahul S. Johari wrote:
On Jan 13, 2010, at 9:50 AM, Warren Windvogel wrote:
On 2010/01/13 04:25 PM, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:
\Test\) and take all the filenames found in the director
On Jan 13, 2010, at 9:50 AM, Warren Windvogel wrote:
On 2010/01/13 04:25 PM, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:
\Test\) and take all the filenames found in the directory (eg:
1.vox, 2.wav, 3.txt) and store them in a simple
On Jan 13, 2010, at 10:07 AM, Kenneth Sande wrote:
Ashley Sheridan wrote:
On Wed, 2010-01-13 at 09:25 -0500, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:
\Test \) and take all the filenames found in the directory (eg:
1.vox, 2.w
On Jan 13, 2010, at 9:56 AM, Warren Windvogel wrote:
On 2010/01/13 04:25 PM, Rahul S. Johari wrote:
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:
\Test\) and take all the filenames found in the directory (eg:
1.vox, 2.wav, 3.txt) and store them in a simple
Ave,
This is what I'm trying to do; I want to read a directory (eg: W:\Test
\) and take all the filenames found in the directory (eg: 1.vox,
2.wav, 3.txt) and store them in a simple mySQL table.
Can I do this?
---
Rahul Sitaram Johari
Founder, Internet Architects Group, Inc.
[
On Nov 30, 2009, at 11:41 AM, Bob McConnell wrote:
From: Rahul S. Johari
On Nov 30, 2009, at 11:07 AM, Bob McConnell wrote:
From: news
even though the dbf has 10K records
Fox can't spend "minutes" to found a match
by the way, its very strange
to have 35 columns in a table/
exes. The problem is - does
PHP use those indexes?
---
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
.
On Nov 24, 2009, at 12:46 PM, Olav wrote:
Rahul S. Johari wrote:
Quite right.
Unfortunately there doesn't seem to be any available ODBC Drivers for
FoxPro available for Mac OS X either!! I'm hitting a brick wall no
matter what direction I take.
Convert to SQLite and don't look b
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
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/)
Original Topic:
Still no solution for a faster search through the dbf via PHP.
On Nov 24, 2009, at 11:11 AM, keyser soze wrote:
uhh, i don't know
(time ago Fox was multi-platform unix/mac/dos)
did you found that on the web?
Rahul S. Johari escribió:
Keyser,
It gets better -- I'
Keyser,
It gets better -- I'm on a Mac OS X (Leopard)!! As far as I know,
there isn't a VisualFoxPro ODBC Driver for Mac OS X.
On Nov 24, 2009, at 10:11 AM, keyser soze wrote:
Rahul, my friend
i found this in a first search
perhaps it be helpful
http://www.yinfor.com/blog/arc
er used php+fox
so, reading your code
i see you are scanning the whole dbf file from php
Fox cant help you in this way
if there is not another option for scan a dbf
the row by row method is very slow
Rahul S. Johari escribió:
Your post definitely gives me hope. It's possible I'm doi
worked with Fox
with dbfs of 2 millions of records
and the speed is amazing -- using indexes of course!
regards,
ks
Rahul S. Johari escribió:
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
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
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
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
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!
---
$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
;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
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
mail'];
//echo "Replacing Record number $i";
// Replace the record
$row = array_values($row);
dbase_replace_record($db, $row, $i) or die("Fatal
Error&qu
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
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
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
not just here (in
PHP mailing list), but in an abundant number of places all across the
Internet horizon. And My PC didn't come bundled with Vista, in fact, I
actually Upgraded from XP personally & manually.
I have no stock options in Microsoft, and I have nothing personal with
th
On Jul 31, 2008, at 3:10 PM, Boyd, Todd M. wrote:
-Original Message-
From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 2:06 PM
To: Boyd, Todd M.
Cc: php-general@lists.php.net
Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
--
SOLVED
uot; SQL Query in an independent SELECT LIST.
AJAX takes care of the rest by pulling in this SELECT LIST on to the
original page.
Thanks a ton - this actually turned out to be easier then I thought!!
:)
On Jul 31, 2008, at 2:31 PM, Boyd, Todd M. wrote:
Rahul,
Aww, come now... don't b
On Jul 31, 2008, at 12:55 PM, Boyd, Todd M. wrote:
-Original Message-
From: Rahul S. Johari [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 11:40 AM
To: php-general@lists.php.net
Subject: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!
Ave,
What I have is two Select
COLS="26" ROWS="3">
I'm not able to understand exactly how to manipulate the SQL Query or
otherwise force the 2nd Select List to only show recor
problem is lying somewhere in either Firefox 3 or my settings of
Firefox 3. Let me look into this.
Thanks guys!
On Jul 22, 2008, at 10:45 AM, Thijs Lensselink wrote:
Quoting "Rahul S. Johari" <[EMAIL PROTECTED]>:
No, actually the flow of the program does not work in that orde
de if possible. Unless there doesn't exist any
alternates, which still stumps me.
Thanks!
On Jul 22, 2008, at 10:37 AM, Andrew Ballard wrote:
On Tue, Jul 22, 2008 at 10:24 AM, Rahul S. Johari
<[EMAIL PROTECTED]> wrote:
It works, but it's not the most efficient solution. The page
r can fill in
somewhere after that
So honestly I don't think it's this code that makes the difference. I
still believe this is a browser cache issue. I could be wrong though.
On Jul 22, 2008, at 9:08 AM, Thijs Lensselink wrote:
Quoting "Rahul S. Johari" <[EMAIL PROT
et/unsub.php
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Rahul Sitaram Johari
Founder, Internet Archi
CT is executed.
On Jul 22, 2008, at 8:34 AM, Thiago H. Pojda wrote:
Code, please? :)
On Tue, Jul 22, 2008 at 9:33 AM, Rahul S. Johari <[EMAIL PROTECTED]
> wrote:
Hmm, interesting.
In my case, $file does indeed output dynamic data.
I did try with the modified time but it still doesn'
;s last modification would indicate some time in the
future, the server MUST replace that date with the message
origination date.
So do not send a future date!
On Tue, Jul 22, 2008 at 2:11 PM, Rahul S. Johari <[EMAIL PROTECTED]
> wrote:
I tried with just the first three header() stateme
odification date then use
$time = filemtime($ffile);
header('Last-Modified: '.gmdate('D, d M Y H:i:s', $time).' GMT');
On Tue, Jul 22, 2008 at 1:14 PM, Rahul S. Johari <[EMAIL PROTECTED]
> wrote:
Ave,
I'm wondering if there's a PHP solution to this,
ded record does
not show up unless you "Refresh" the page.
I'm imagining even after form submit, the Browser is caching the data
and displaying data from the Cache.
Is there a solution to this? Is there anything PHP can do to instruct
the browser not the cache the data?
T
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
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
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
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:
>
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
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:
>
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
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
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
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
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
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
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'
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
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
On Wednesday 26 December 2007 21:03:40 Mad Unix wrote:
Am facig problem with XSS cross Site scripting general on our web
site, and
i think its a coding issue
since our dedicated server run Linux with apache mysql and php...
any recommendation to resolve this issue
Sure!
---
Rahul Sitaram
le to do with
PHP and a whole lot to do with Mac OS X! And yet, on a PHP mailing list - we
Solved it!
Diversity in Unity!
Of course, I've heard longer, endless, pointless rants in this same very
mailing list over the course of last 6 years or so that I've been here.
~~~~~
"
~~~
I guess I can officially consider this case closed with all problems solved!
Thanks All!
~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11/6/07 12:57 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote:
> On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote:
>>
>> On 11/6/07 12:03 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote:
>>
>>> On 11/6/07, Rahul
On 11/6/07 12:03 PM, "Nathan Nobbe" <[EMAIL PROTECTED]> wrote:
> On 11/6/07, Rahul S. Johari <[EMAIL PROTECTED]> wrote:
>>
>> I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been
>> manually mounting after each boot, s
On 11/2/07 11:12 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
>
> Rahul,
>
> I believe all of the modern MacOS variants still use the
> *nix-style (due to being based on BSD) rc.d startups, right? If so:
>
> sudo echo "sudo -u www
On 11/2/07 11:12 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/2/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>>
>> That sounds like a good place to look.
>>
>> I actually did figure out a way to make this work. It appe
are as "www" - which is Apache Web Server - and my PHP
scripts had no problem reading files of the share on my Website.
Now I need to figure out how to write an AppleScript (or use the Automator)
to automate the process on every boot up. I had an AppleScript before to do
this - but it's
On 11/1/07 12:43 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>
>> Is there a Terminal way of figuring out the UID/GID of something like admin,
>> apache etcetera?
>>
>> PS: I
On 11/1/07 12:17 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>> Well FollowSymLinks was present in my httpd.conf, and it's definitely not
>> the problem. I think the problem is the fact th
On 11/1/07 10:41 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>>> 1.) Did you restart Apache after making any changes to php.ini or
>>> httpd.conf?
>>> 2.) The path is cAsE
On 11/1/07 10:22 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote:
>>> Ave,
>>>
>>> Somehow my PHP won't acc
On 11/1/07 9:46 AM, "Robert Cummings" <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote:
>> Ave,
>>
>> Somehow my PHP won't access, won't even acknowledge the existence of a file
>> that is outside th
d open_basedir which is not
set same settings as php.ini from before.
Any ideas what might be causing this?
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²
#x27;Share ratio', '', 0);
$share_ratio2 = trim(ereg_replace("[\n\r\t]", "", $share_ratio));
$share_ratio3 = substr($share_ratio2, 25, 5);
echo "Ratio: $share_ratio3";
?>
~~~
Rahul Sitaram Johari
CEO, Twenty Four Sev
x27;t want PHP as
CGI.
Make sense?
~~~
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²
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ave,
Is it true that the PHP Installer does not work on Windows Vista? And if it
does, it only installs the CGI version?
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I morti non sono piu
different ways. When it failed
to work, I realized that the cookies that curl setup are stores in the
cookie jar, not the client browser/machine therefore the redirection
took me to the ³unlogged-in² page, and not the ³logged-in² page of the
website.
So what¹s the work around?
~~~
url_exec($curl);
curl_setopt($curl, CURLOPT_URL, "http://www.website.org/index.php";);
curl_setopt($curl, CURLOPT_POSTFIELDS, "username=usr&password=pwd");
$xxx = curl_exec($curl);
curl_close ($curl);
Basically I want to redirect to: http://www.website.org/index.php after
logging
FiezM='));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result=curl_exec ($ch);
if (curl_errno($ch)) {
print curl_error($ch);
}
curl_close ($ch);
print_r($result);
?>
Needless to say that if I put their form ³as-is² on a page on my server and
specify full URL in ³ACTION², it works.
Why i
Interesting read - although the whole thing is trumpeted upon their policy
"We have the right to terminate a service at any time without any reason" -
Well apparently, Network Solutions and most "Major" Domain Name Service
vendors have a similar policy - so I wouldn't be surprised to see a
"www.ne
om for $179. It¹s the exact same thing you can burn it
when you get home, if you like!
No You own it!
~~~~~~~
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²
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();
int main() {
mysql_error()
; return 0; }
Help would be ap
Ave,
Does anyone have the old PHP installers for Mac OS X 10.3.9 ??
Entropy.ch only has the latest installer for 10.4 I¹m looking for any PHP
5 Installer that will install & work on a Mac OS X 10.3.9 ... Can¹t seem to
find it anywhere!!!
Help!
~~~
R
Unless anyone has a better solution of getting php 5.2.3 on mac os x 10.3.9
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²
Richard, I'm using Firefox on Mac OS X 10.3.9 ... Clicking your link takes
me to a page with http authentication asking me for usr/pass. Where are you
seeing the pop-up phenomena? I have Safari as well to check with. I can't
get past the Authorization to see where you get the pop-up.
On 7/11/07
ss the values along to
pages and make it work.
Thanks again!
On 7/10/07 11:04 AM, "Jim Lucas" <[EMAIL PROTECTED]> wrote:
> Rahul Sitaram Johari wrote:
>> I¹m trying to write a Photo Gallery in PHP. Everything else is pretty much
>> worked out like thumbnails, indexe
s to the one being selected, and passing that
along to the (photo.php) page. I¹m just not able to figure out how to pick
out the next & previous filename and place it in the Query String.
Any suggestions?
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Ni
have over 60 fields in each row and I just want to replace the value of
the field ³A².
Any suggestions?
~~~
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²
OS X 10.3.9?
I¹m currently running PHP 5.0.1 / Apache 1.3
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²
AWESOME!!!
Never worked with Curl before - but looks like a solution to my problem from
what I'm reading.
Thanks! I'll write back if I run into snags.
On 6/20/07 11:25 AM, "Robert Cummings" <[EMAIL PROTECTED]> wrote:
> On Wed, 2007-06-20 at 11:16 -0400, Rahul
code or
help for that matter.
~~~
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²
or die("Critical Error: ".mysql_error());
And it Works!
All special characters are escaped within the Array's Values itself, and
then I just implode them with ',' and add them to the mySQL Database!!
On 5/25/07 11:32 AM, "Rahul Sitaram Johari" <[EMAIL PRO
Ok, I'm not able to use array_map() at all to my benefit, or at least I
can't figure out how to.
I'm trying to generate the string with escape slashes before I put it in the
INSERT statement, but it's not working primarily because values have to be
enclosed in Single Quotes while inserting into m
escape.
I¹d like to use mysql_escape_string() but I¹m not sure how to integrate
mysql_escape_string here with the INSERT statement. I tried it, but it¹s not
working. Any clues?
Thanks.
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari
I guess one of the problems is that PHP has a limited number of dbase
functions and I'm not able to run SQL Queries on a dbf database. Basically I
have to make-do with the few dbase() functions I have available in PHP.
But I do get your logic and it's pretty helpful. I did re-write the code
using
WORKS!!
Thanks.
On 5/24/07 5:34 PM, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
>> $db = dbase_open(try.dbf", 0);
>> if ($db) {
>
> $exists = false;
> $today = false;
>
>> $record_numbers = dbase_numrecords($db);
>> for ($i = 1; $i <= $record_numbers; $i++) {
>> $r
At this point having gone through all sorts of permissions and running
Apache as User and what not - I'm pretty close to giving up myself.
Fortunately I do have other alternates to running this particular
application - but it would have helped if things worked.
On 5/24/07 6:23 PM, "David Giragos
through all the rows and check if there is any entry
with the Account Number & Today¹s Date?
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²
You may have something here.
Problem is, I don¹t know how to mess with how & under what user Apache is
running and no one else here does either so basically I have to figure
this one out! I would like to, as you suggested, try and ³get Apache to run
as a service under a user that can access the
the Windows 2003 machine, manually access the folder/file that
> you're asking PHP (through Apache) to access? Unless the service that Apache
> is running under has permissions to communicate with the share resource
> (location X), this will always fail.
Yes! Without any problems! I
e file X:/send/Transfer/LIVE/live.txt does NOT Exist
string
The file X://send//Transfer//LIVE//live.txt does NOT Exist
string
The file \Foresight\send\Transfer\LIVE\live.txt does NOT Exist
string
The file \\Foresight\send\Transfer\LIVE\live.txt does NOT Exist
string
The file //Foresight/send/T
How exactly do you run Apache manually as your own user on Windows 2003?
On 5/24/07 5:32 AM, "Stut" <[EMAIL PROTECTED]> wrote:
> Does the user Apache is running as have permission to access the network
> at all? It's fairly common for services to lack that access for
> (shockingly for Windows)
Ave,
UNC paths didn't work, i.e., ("server\\share\\Transfer\\test.dbf").
I have no clue how to Run Apache as a particular User on Windows! I
installed Apache using the Installer available - but I really don't know
anything else 'user' related about Apache.
Both "SYSTEM" and the Computer I'm
rver to access files
on a network drive.
On 5/23/07 4:33 PM, "Jared Farrish" <[EMAIL PROTECTED]> wrote:
> So you haven't been able to actually access the drive yet? Are you using any
> other shared content on network drives that does currently work?
>
> On
..
>
> Let us know what the error is exactly, as well. What happens? Error?
> Warning? Blank page? What tells you the script doesn't work?
>
> On 5/23/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>>
>>
>> Tried that too. Used
>>
>>
Tried that too. Used
\\Servername\sharename\test.dbf
Also used additional backslashes for the escape issue:
Servername\\sharename\\test.dbf
Still doesn't work!
I'm not getting a permissions related issue and I'm doubting it is a
permissions issue. I have Full Control given to the system al
1 - 100 of 277 matches
Mail list logo