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 appears that Apache
Web Server did not have enough permissions to read files
the process on every boot up. I had an AppleScript before to do
this - but it's changed now.
Thanks guys.
PS: You guys are funny! And brilliant!!
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I
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²
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 the /Library/WebServer/Documents folder. This was never a a
problem
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 access, won't even acknowledge the existence of a file
that is outside the /Library
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-sEnSiTiVe. Did you make sure that it's
EXACTLY the same?
3
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 that on in Panther, I was able
to specify Apache Web
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 know it's going OT!
Yes, you'll find those UIDs in /etc
;
?
~~~
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,
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
?
~~~
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
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?
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http
/index.php;);
curl_setopt($curl, CURLOPT_POSTFIELDS, username=usrpassword=pwd);
$xxx = curl_exec($curl);
curl_close ($curl);
Basically I want to redirect to: http://www.website.org/index.php after
logging in using curl.
Thanks.
~~~
Rahul Sitaram Johari
CEO, Twenty
in ³ACTION², it works.
Why is Curl failing to log me in?
~~~
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²
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²
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
. */
/* 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 appreciated.
~~~
Rahul Sitaram Johari
CEO, Twenty
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²
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²
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, indexes, titles all the one thing I¹m
stuck at is the Next Previous
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
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 Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL
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²
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²
or not for a service we¹re providing them.
Right now we¹re trying to avoid requesting them for their source/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
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 Sitaram Johari wrote:
Ave
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
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++) {
$row =
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
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.com
E: [EMAIL PROTECTED]
³I morti non sono piu soli ... The dead are no longer lonely²
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
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 PROTECTED]
wrote:
Ave,
I¹m inserting values out of an array into mySQL. There¹s other values besides
the array values that are being inserted
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
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)
/live.txt does NOT Exist
string
The file Foresight//send//Transfer//LIVE//live.txt does NOT Exist
~~~
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
fail.
Yes! Without any problems! I can easily navigate to the X: drive on that
Windows Machine, and do anything I want with files there. I have all
permissions.
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL
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
,
~~~
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²
);
It is not able to open the database. The X: Drive is a network drive.
Any clues on how to make this happen?
Thanks.
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I morti non sono piu soli
Well, Full Permissions (Full Control, including read write) have been
given to the Machine on which the Apache Web Server is setup. Not sure if
anything else needs to be done!
On 5/23/07 3:02 PM, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
Let¹s say there¹s a database on
Didn't help. Tried X:\\Transfer\\test.dbf
Still can't access the file.
On 5/23/07 3:11 PM, Tijnema [EMAIL PROTECTED] wrote:
The \ is an escape token, and you should use \\ instead.
Try X:\\Transfer\\test.dbf instead.
Tijnema
ps. Please don't top post.
--
PHP General Mailing List
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
?
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
\\Servername\sharename\test.dbf
Also used additional backslashes for the escape issue:
Servername\\sharename\\test.dbf
Still doesn't
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 5/23/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote
Ave,
I was just about to post when I saw your message. I think what you're saying
is exactly what is happening. The values have Spaces and stuff so Quotes are
Required - cannot have values not enclosed in Quotes. Other then that it was
actually working.
Is there a way to enclose in Quotes using
WORKS Like A Charm!! :)
Thanks.
On 5/2/07 12:14 PM, Brad Fuller [EMAIL PROTECTED] wrote:
Jim Moseby wrote:
$sql = INSERT INTO table (f1, f2, f3, . implode(,,
array_keys($pr1)) .) VALUES ('abc', '123', '456', . implode(,,
array_values($pr1))
.);
HTH,
Brad
Might not work if the
?
~~~
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 readfile($F) you've just made ALL
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
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.
W: http
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 [EMAIL PROTECTED
='takekey_download.php?F=vox/.basename($value).'.basename($value).
/option;
}
?
/SELECT
/FORM
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
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
Transfer);
header(Content-Type: application/force-download);
header(Content-Disposition: attachment; filename=.basename($F));
@readfile($F);
?
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I
and act accordingly
?
~~~
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
¹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
= mysql_query($sql), but I don't see $sql = QUERY
STATEMENT anywhere
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Ave,
Does anyone know what I¹m doing wrong?
?php
//Add Record Function
if($_POST['Submit']) {
$db
($sql) or die(Fatal Error :.mysql_error());
echo span class='SmallText'EMSTRONG~: message sent
:~/STRONG/EM/spanBRBR;
}
?
Please disregard the previous code I sent. Thank you!
On 3/29/07 10:10 AM, Rahul Sitaram Johari [EMAIL PROTECTED]
wrote:
Ave,
Does anyone know what I¹m doing
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 morti non sono piu soli ... The dead are no longer lonely²
--
PHP General Mailing
= mysql_query($sql) or die(Fatal Error :.mysql_error());
echo span class='SmallText'EMSTRONG~: message sent
:~/STRONG/EM/spanBRBR;
}
Thanks!
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I
!
~~~
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 PROTECTED] wrote:
On 3/29/07, Rahul Sitaram
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
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
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:
Daniel I like your code it¹s
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
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
!
~~~
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:
-Original Message-
From: Rahul Sitaram Johari [mailto:[EMAIL
Ave,
This Works!!
?php
exec(find /Users/rjohari/Documents/XFER/espi -type f -name
.$row['PHONE'].*.vox, $files);
foreach ($files as $value) {
echo substr($value,35).br;
}
?
THANKS!
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy
Awesome!! This Works!!
?php
exec(find /Users/rjohari/Documents/XFER/espi -type f -name
.$row['PHONE'].*.vox, $files);
foreach ($files as $value) {
echo basename($value).br;
}
?
THANKS!
~~~
Rahul Sitaram Johari
CEO, Twenty Four
PROTECTED] wrote:
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote:
Ave,
This Works!!
?php
exec(find /Users/rjohari/Documents/XFER/espi -type f -name
.$row['PHONE'].*.vox, $files);
foreach ($files as $value) {
echo substr($value,35).br;
}
?
THANKS!
I
;)
Point taken!
?php
exec(find /Users/rjohari/Documents/XFER/espi -type f name
.$row['PHONE'].*.vox, $files);
foreach ($files as $value) {
echo basename($value).br;
}
?
:)
Thanks
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy
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: [EMAIL PROTECTED]
³I morti non sono piu soli ... The dead are no longer lonely²
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: [EMAIL PROTECTED]
³I morti non sono piu
the name of the file on
the server into the output bugger head so that the user would see it simply as
a direct download.
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote:
Ave,
This is actually a continuation of my previous ³Show files using Wildcards²
thread, but a different problem
select
the file from a drop 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
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 5:33 PM, Roberto Mansfield [EMAIL PROTECTED] wrote:
Only do this if all the files should be publicly accessible. Otherwise
for 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
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 one
of my website. Nothing too fancy or exceptional
in the 'delete'
and in
the subquery, thus, you will have to first insert the id's in an
auxiliary
table and then delete the records.
Satyam
- Original Message -
From: Rahul Sitaram Johari [EMAIL PROTECTED]
To: Mark markw@mohawksoft.com; PHP php-general@lists.php.net
Sent: Friday
the file in IE.
?php
header(Content-Description: File Transfer);
header(Content-Type: application/force-download);
header(Content-Disposition: attachment; filename=.basename($F));
@readfile($F);
?
$F was the filename passed as a variable.
~~~
Rahul Sitaram
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-download
header(Content-Disposition: attachment; filename=.basename($F));
@readfile($F);
?
$F
.
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 unique, and then your second insert is gonna
fail, and you can just ignore
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 exporting the data from mySQL table(s) into a dbase DBF table. The
unique index you're talking about should be in the DBF end
,
~~~
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²
11:36 AM, Mark markw@mohawksoft.com 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: query for the row, if it isn't there insert
();
if($record-primary_key != $primary_key)
{
store_new_record($record);
$primary_key = $record-primary_key;
}
}
}
On 3/23/07 11:36 AM, Mark markw@mohawksoft.com wrote:
Rahul Sitaram Johari wrote:
As far as I can see, there is probably only three ways to do
Ave,
A better solution would be to add a column in the MySQL table, maybe call it
processed with a default value of 0, and update this value to 1 with each
row inserted. Then you are only querying records where processed=0.
Of course this will not work if you cannot modify the MySQL table.
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
post the log of the ls -la Share command here?
Tijnema
On 3/22/07 12:18 PM, 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'm facing. I'm
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 Web Server running on Mac OS X with PHP. I have a folder on a
windows machine mounted on my Mac OS X
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 Johari [EMAIL PROTECTED] wrote
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'm facing. I'm not sure how to do that. If I'm not
mistaken, Apache runs as user nobody on my Mac, but I don't know how
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 promising, but is giving me:
mount_smbfs: -o fmask=: option
remounting the partitition, the permissions are
reset too. That's why there are options like fmask and dmask :) but
somehow they don't work on Mac OS X.
Tijnema
Rahul Sitaram Johari wrote:
Rahul Sitaram Johari wrote:
Ave,
I¹m not sure if anyone here is going to be able to help, but I
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, Tijnema ! [EMAIL PROTECTED] wrote:
On 3/22/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote:
Ave,
But i
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 dead are no longer lonely²
On 3/14/07 9
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 PROTECTED] wrote:
Ave,
I recently configured Installed PHP on my
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:
Rahul Sitaram Johari wrote:
'cannot load
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 Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]
³I morti
98 matches
Mail list logo