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
ahul 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²
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
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 Maili
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 X:\Transfer
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 ...
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,
>>
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
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
basename($F));
> header("Content-Length: ".filesize($F));
>
>> @readfile($F);
>
> only php gods are entitled to use @ - the rest of us will get bitten in the
> ass by a bad dog sooner or later. don't repress errors unless there is no
> other recourse
> (
(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]>
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
";
}
?>
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²
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
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.
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
~~~~~
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 5:33 PM, "Roberto Mansfield" <[EMAIL PROTECTED]> wrote:
> Only do this if all the f
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,
>>
>
ipt and output it
> sending a MIME type prior to the data output, placing 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:
>> Av
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
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
;)
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
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!!
>
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
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
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
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
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
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:
>
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
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
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
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²
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
,'$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
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
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²
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
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
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
;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
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
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²
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
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 tab
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
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:
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²
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
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
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
"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'
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
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
le/folder. Like it's just ignored.
>>
>> I did it as root using sudo.
>
> Can you post the log of the "ls -la Share" command here?
>
> Tijnema
>>
>>
>> On 3/22/07 12:18 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote:
>>
&g
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
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
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
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
'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
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²
99 matches
Mail list logo