t; specific path?
>
> 2. Is there any function in php that can move particular files to other
> location?
>
>
> --
> Thx a lot!
> Jack
> [EMAIL PROTECTED]
>
>
>
http:/www.php.net/filesystem
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP Gene
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> hi how is it possible to strip quotes from an image tag ?
> i need
>
>
> to look like
>
>
>
>
$string_no_quotes = str_replace('"', '',$yourstring);
if the tag can be pla
I am creating an application where it would be useful to write and store
script in a field in a MySQL database and create a loop to process the array
of the code contained in the field. Conceptually, I think it sounds
reasonable but I am uncertain of what kind of process I could use to have
the c
I am trying to get code that I have saved as a string in a database to
evaluate as code within a larger script with a loop. There are obvious
security concerns with allowing users to input code into the field if it is
not preprocessed before it is evaluated. The eval function appears to be the
t
Thanks, Justin. I am really trying to figure something else out instead of
eval. It is really too much of a security hole. I really appreciate the
community to bounce ideas.
Regards,
Dave
--
>From: Justin French <[EMAIL PROTECTED]>
>To: David Pratt <[EMAIL PROTE
> I just upgraded to PHP 4.2.2 and am trying to make my sites work with
> register_globals turned OFF. I notice, however, that with
> register_globals turned off any variables I pass via the URL don't
seem to be
> recognized by the script it was passed to.
> I thought register_globals onl
I know I shouldn't do more to keep this going but I'll make this one,
and only, post.
> this all started when rasmus had a problem with the "click"
> in my original post
>From what I read, Rasmus made a correction to your opinion. You are
entitled to your opinion, but perhaps you should lear
Hi all,
I make 2 sites with 2 domain names that use same scripts,
Each has got its html templates in a special dir selected judgging from
$HTTP_HOST values.
I was wondering me how a web crawler (search engine robot) could refer those
pages.
Would crawler bring that parameter in order to refer we
You re right i will make a if statement ...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has anyone written or seen the Advogato.org trust metric implemented in
PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> In my MySQL db I have a date-field on every entry looking like this :
> 2002-08-10
> When presented on a PHP page, I want it converted to
> "Saturday, Augusth
> 10th, 2002".
>
> How do I achieve that? I've been playing around with the
> date-command and
> strtotime-command but haven
> I've tried that, but as usual rtfm doesn't help me. I need
> concise examples
> :(
>
> How would I write this basic select query to get the date in
> my format
> (Saturday, August 10th, 2002)?
> SELECT datum FROM news_items
> (where "datum" is the date-stamp in "-MM-DD" format)
nable to create file test.text because Permission denied in
/Library/WebServer/Documents/dev/testcreate.php on line 10
It's obviously a permissions problem but do not know what exactly to
change nor where/how to change it.
Thanks for any help.
David
--
PHP General Mailing List (http://www.ph
> How do you make a link in MySQL?
>
> I tried following code were the field "geluid" contains a
> link to a mp3
> while ($row=mysql_fetch_array($result))
> {
> echo "";
> echo $row[woord_nl]. ""
> . $row[woord_ost]. ""
> . $row[betekenis_nl]. ""
> . $row[geluid];
> echo "";
> }
Hi Paul:
Thanks, that worked.
Cheers,
David
On Sunday, August 11, 2002, at 07:11 PM, Paul Colcutt wrote:
> Hi,
>
> you need to set the permissions for the directory youre creating the
> file in.
> Try typing (or copy and paste):
>
> chmod 777 /Library/WebServer/Document
eason for this?
>
> Balu
>
The underscore is a mysql wildcard for a single character; it may be that
mysql is attempting to treat it as a wildcard rather than a literal in the
circumstances in which you are using it.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I'd like to implement on my web site an "whois" to know the
> information about a domain name (.com, org, )
There's an article about doing exactly this on devshed
(www.devshed.com/Server_Side/PHP/) that you could have a look at. Looked
like a pretty complete solution when I went looking
here is something in the PHP
interpreter that thinks the app has finished before it has (there's no
discernable lag-time), or if there's some trick to getting output using
these functions.
Any help would be appreciated.
Thanks,
-David
--
PHP General Mailing List (http://www.php.net
it is quite
possible that $result may be true but no entries have been deleted. You
perhaps should look at the possibility of testing mysql_affected_rows to
determine whether any rows have been updated/deleted.
WHERE artid = '$editpic'
implies that you expect artd to be a text field of
t, you may have problems.
> Im not to sure why this is all ways happening. If anyone haas a solution or
> knows why this might occur could you please respond or email me at
> [EMAIL PROTECTED]
>
> Much appreaciated
>
> Daniel
>
>
>
--
David Robley
Temporary Kiw
s,
>
> Brian
Just the pseudocode to give you an idea...
query = Select color, colorid from table
run dbquery
loop through dbresults
end loop
See the mysql functions for exampls of how to submit a query and use the
results in a while loop.
Cheers
--
David Robley
Temporary Ki
ried 'man up2date' to
find out how to determine 1) what was installed where and 2) how to
uninstall it.
As a Slackware user I am unfamiliar with up2date.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
\myscripts\gobirthday.php
then every day at 6:00am the batch file gobirthday.bat would be ran which
executes the gobirthday.php script. now it doesn't matter whehter you have
visitors at all to your site. Every morning the birthday emails will get
sent.
David
- Original Message -
re error log and there wasn't any help in that.
>
> ???
It's possible you have more than one php.ini and the one you are editing
is not the one php is reading? Again, look in phpinfo() for where php
expects to find php.ini.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Note the new line at the end.
>
> Is there a way to get rid of any new lines in a string?
> Because this is making my directory listing go whacko.
>
>
> Cheers,
> Liam
trim()
Liam is an Irish name, is it not :-)
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
ation/x-httpd-php .php .php3 .html
AddType application/x-httpd-php-source .phps
This will cause .php .php3 and .html files to be parsed by php and will
cause .phps files to be shown as highlighted source code. Modify to suit
your needs and remember to restart apache after making changed
. I guess I was keying off of
NoWhErMan's statment "Since my server in on my local windows machine" which
I interpreted to mean that he had control of the the machine. Maybe I was
wrong.
DAvid
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]]
Sent: Thursd
2GB. The first field I'm searching in is a CHAR(255) field. The
second field is a small blob and usually is only about 1 paragraph of text.
The thrid field is an entire HTML document and can be many many pages long.
Any help is appreciated,
David
doesn't work on BLOB
fields.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 8:37 AM
To: David Buerer; '[EMAIL PROTECTED]'
Subject: Re: [PHP] Keyword & exact phrase search
I only just started getting into this, but it se
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 9:08 AM
To: David Buerer
Subject: Re: [PHP] Keyword & exact phrase search
Why would you have text in blob fields?
Justin French
on 16/08/02 1:25 AM, David Buerer ([EMAIL PROTECTED]) wrote:
> I'd like to agr
Try this, it should work great.
$starttag=''
$endtag=''
$pos_starttag=strpos(strtoupper($origstring),$starttag);
$pos_endtag=strrpos(strtoupper($origstring),$endtag)+strlen($endtag);
if($pos_starttag===False OR $pos_endtag===False) return 0;
$newstring = substr(origstring,$pos_starttag,$pos_endt
Use the google API...
http://www.google.com/apis/
- David
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting PHP to submit a form to google
Hi all
I would like to be able to get the result
> while (list ($key, $val) = each ($info))
> {
>do stuff
> }
$count = 0;
$last = sizeof($info);
While (list($key, $val) = each($info))
{
if ($count == 0)
{
// first time through
}
if ($count == $last)
{
// last time through
}
// do stuff
$count++;
}
--
P
> I keep getting "Undefined variable: PHP_SELF" when using the
> following:
>
>
>
> Global variables are off... What am I doing wrong?
In current versions of PHP, $PHP_SELF is available if globals are on.
You'll need $_SERVER['PHP_SELF'] instead if you're keeping globals off.
CYA, Dav
DQo=
>
If you can set Outhouse to send just text, those of us _not_ using ita
might have a better chance of responding to your queries.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l you have, have mail to a nominated address piped to a php script
which parses the mail and responds accordingly.
This would need php compiled as an executable to run the script as mail is
received.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;referenzen_tbl.text']."";
>echo $arrResult['referenzen_tbl.technik']."";
>echo $arrResult['referenzen_tbl.year']."";
>echo '';
> }
> }
> ?>
>
> I know that there is a result comming out of the string i entered, but these failure
> messages are comming up when i load the page:
I think you may be in error here and in fact there is no result, which
is what is triggering the error messages :-) Try this, which will return a
useful error string if there is a problem with your query:
$Result = mysql_query($Query, $connect) or exit("Error: ".mysql_error());
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dden input on the form. Then in the
page that handles the POST I unserialize the array to determine if checkbox
fields were passed and then handle accordingly. But I'm wondering is there
a better way (or at least a standard way) of doing this?
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a bunch of files which need to be kept secure. I need to allow a user
access to them them based on a criteria which I can programmatically
determine.
My question, is how can I allow the user to download or view only one file
on my computer without allowthem to just enter the URL into their
Thankyou Robert, THat is a great and easy way to do it.
What if I need to initiate a download to the user?
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 2:06 PM
To: David Buerer
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] se
x27;, and
> those you do will be 'Y'.
Great idea! Actually after I posted the question I thought of the same
thing :-). This is probably the most elegant way. I am curious though why
PHP doesn't just create the variable anyways and just assign it a null value
if the box is not checked.
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;t chose to I wonder why the
CGI/POST specs are like that- there's probably a good reason?
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes I know it's a PHP list, but I thought someone might have an idea on how
to fixt this problem anyway.
I have a page with (2) iframes. While the source file for the iframes is
being loaded, the iframe shows up as a big white area, similar to a
. How do I make it so this doesn't happen?
> I've got a php form, that gathers certain information, and
> then passes that info on to a couple of shell scripts to
> move files around, create links, import data into some mysql
> databases via sql files, etc.
>
> The two shell scripts work fine when I'm logged in as root
> via t
"register_globals on" is a bad thing.
Seems to me that code is much cleaner with them on. What's the down side?
Cheers,
David
On Monday, August 19, 2002, at 05:05 PM, Rasmus Lerdorf wrote:
> Sure, turn register_globals on only for the oasis directory. In you
Hi Rasmus:
Now turning register_globals back on and exploring "E_ALL".
Thanks :)
David
On Monday, August 19, 2002, at 07:36 PM, Rasmus Lerdorf wrote:
> If you forget to initialize your internal script variables, then people
> could potentially inject bogus values for the
> >SELECT COUNT(x) FROM table;
> >
> >Make 'x' equal to any column name in the table and add WHERE to the
> >clause as needed.
>
> err...all very well, but how do i retrieve the
> value afterwards?
> $sqlcom="select count(codigo) from comments where
> codigo=$id";
test.pl) and if in www expoler write
> http://server/test.pl result is source code of script. But I need result of
> this script.
You probably should be asking this in an Apache newsgroup or mailing list.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List
Anyone know why I might get this error?
I was working on development of a socket server several weeks ago and it was
working fine. When I returned to it this morning, I am getting this error:
Listening on port 1482 (sucess message from socket_create)
Warning: socket_bind() unable to lookup host
Doh- just discovered that this won't work for updates (e.g. if value is
already = 'Y' and you uncheck the box it'll stay as 'Y').
David
> To throw in a curve-ball, you can set the default value for your MySQL
> column to 'N', which means that any
Anyone ever seen this error before? What causes it? It happens on a call
to socket_bind after a successful call to socket_listen.
Any ideas would be appreciated.
Warning: socket_bind() unable to lookup host [1001]: Recursion too deep,
stack overflowed. in
f:\public\www\josiah\josiah2\consultat
Here is the code per your request
mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 9:42 AM
To: David Buerer
Subject: Re: [PHP] unable to lookup host [1001] error
Show the code and we might be able to help better...
maybe line 20-35 ish, or anything you feel useful
thx
Andrew
I'm having a weird problem with the certain "date" fields using the
imap_head() object in PHP4. Sorry about the long lines, but I wanted to
get all the fields for imap_header() in so you could see what I mean.
Index Size udate dateDate
;;
print "" . $msg_header->date . "\n";
print "" . $msg_header->Date . "\n";
print "" . $msg_header->MailDate . "\n";
print "\n";
}
<< SNIP
On Wed, 2002-08-21 at 20:42,
--- Begin Message ---
On Wed, 2002-08-21 at 20:35, Bob Irwin wrote:
> You need to declare $vari as a global variable.
>
>
> eg;
>
> function getvar()
> {
> global $vari;
>
> $vari = "bollocks";
> }
>
> getvar();
> echo $vari;
> ?>
>
> Best Regards
> Bob Irwin
> Server Admin & Web P
make that function return the variable?
>
>
> Thanks,
> Liam
Strangely, by using return.
function getvar()
{
$vari = "bollocks";
return $vari;
}
$answer = getvar();
echo $answer;
?>
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> And here is the error I get:
> -
> Warning: Unable to create
> '/home/thehobby/public_html/php/phpforums/uploads/': Is a
Does this directory exist? Does the user that your web server is
running as have permission to write files in this directory?
>
g else that you can use to return true if a db row is
> completly empty??
>
> Thanks - JohnP
Perhaps if you can show the code that doesn't work?
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from the local file system, you need to use the full
pathname, not the URI.
Assuming www is really /www, you would need
include '/www/forum/include/test.php'
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I have, in my database, a bunch of dates stored like this:
> -M. Month is obviously the number of the month (5), not
> the name (May).
>
> I want to convert the format to MMM, (ex: May, 2002),
Do the conversion in MySQL - it'll save you grief in the long run...
SELECT DATE_F
mp it'll be constrained by that;
currently the unix timestamp covers a range from 1 Jan 1970 to (mumble)
January 2038.
However, if your date is stored using one of the mysql date or time
formats, why not try using mysql's DATE_FORMAT to pretty it up as you
select from the db? IIRC s
Trying to install apache 1.3.26 plus PHP 4.2.2 installed and cannot get
the libpng stuff to work with GD
in the apache error log I get:-
[Tue Aug 27 09:31:10 2002] [notice] child pid 6825 exit signal
Segmentation fault (11)
[Tue Aug 27 09:31:10 2002] [notice] child pid 6824 exit signal
should still work despite safe mode but maybe I am
misunderstanding something).
Any thoughts gratefully received.
David Rothe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ld be
0100
Likewise, given
the number: 1101 0100 0110 0110
and the mask
the result 0110
I suppose this is the same algorithm used to separate the host from the node
address given an IP address and a subnet mask. I just need to know what the
algorithm is.
Thanks
David
field in your select statement, and use
LIMIT to restrict the number of rows you retrieve (if you want a subset of
rows).
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
unt the array elements
if 0 elemet - error handling
build basic query
// $query = "Select foo from bar WHERE x = $element[0]"
if >1 element, add additional AND by looping through balance of array
Code is left as an exercise for the student :-)
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
TP/1.0" 404 45
"-" "PHP/4.2.2"
I want to change "PHP/4.2.2" to something like "Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT)".
I looked in php.ini but couldn't find a setting for this. Anyone know where
to set this? Thanks.
David
--
P
When PHP reads from a file using fgets(), does it do it in order?
Meaning, when reading STDIN from a file, does it read line1, then line2,
line3, and so on until EOF?
My purpose is to read each line of file and push it into an array.
Thanks for your help,
Dave
--
PHP General Mailing List
> Ok so how do I sum up an entire column in my db?
> For example if one row is : 1 , the next is 2, and the next
> is 1 - I need to
> have a total of 4 and the be able to divide by the num_rows
>
> The problem I ma having is the "inside" row addition
If you're doing it on values from a d
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> At 06:03 29/8/2002 -0400, David T-G wrote:
>
> > Frank, et al --
> > ..and then Frank said...
> > %
> > % Hi,
> > %
> > % when logging in with username and password with the good ol
"$date";
> if ($i%2 == 0){
> echo "$date";
> }
> $i++;
> ENDWHILE;
If the date is stored in one of MySql's date type fields, you could use
the mysql DATE_FORMAT function to format your date.
I think the logic of your looping above is a bit suspect??
fetch_row($emotes);
> eregi_replace($emotes_array[0], " alt=\"$emotes_array[0]\">", $message);
> }
>
> ?>
Shouldn't you be assigning the result of your eregi_replace to a variable,
then do something with it?
--
David Robley
Temporary Kiwi!
Quod subigo
Interesting. It's not documented.
On Thu, 2002-08-29 at 14:44, Dallas Thunder wrote:
> Well, this is exactly what function file() does.
>
> "David Christensen" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
&
w.php.net/manual/en/function.file.php
>
> - E
>
> >
> >Interesting. It's not documented.
> >
> >
> >On Thu, 2002-08-29 at 14:44, Dallas Thunder wrote:
> > > Well, this is exactly what function file() does.
> > >
> > > &qu
e ($fd);
Doing this I get the contents of the file read into the $PAGE_CONTENT
variable.
I never use fopen() to write to files. Only read with the "r"
directive. So what could be causing my conflicts? Do I need to flock
the file to shared?
I am running Linux PHP, Apache and L
Help
I want to install apache 1.3.26 with php 4.2.2 (plus png support) on a
suse 8.0 machine.
I constantly get segV errors when using imagecreatefrompng.
Have tried gd 1.8.4 / and the gd beta 2.0.1, have also tried installed
the latest libpng 1.2.4.
The php INSTALL file makes it see
which has an example of how
to connect to mysql, issue a query and display the results of the query.
Also, you might find http://www.php.net/extract useful in future.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s for whatever reason; a check of the
relevant mailboxes (postmaster, admin etc) may turn up more info.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sr/local/lib/php.ini
HTH
Cheers,
David
On Monday, September 2, 2002, at 12:15 PM, timo stamm wrote:
> Hi,
>
>
> I am new to PHP. I am running the module version 4.2.2 from Marc
> Lyanage (entropy.ch) on OS X 10.1 and noticed that my
> /usr/local/lib/php.ini is empty!?
&
reposition the pointer at the first row so you can again cycle through
the records you have selected.
For future reference, the same principle applies when looping through an
array with some of the array handling tools.
And just to make your code a bit more 'readable', you might find the
extract() function handy for grabbing variable values from a result set.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if I set test = "Y";
then
if ($test == "Y") {echo ("it matches");}
seems to work while
if ($row[24] == "Y") {echo ("it matches");}
does not.
The row[24] mysql variable is char type and 1 char long.
any idea why it is not doing the comparison?
--
PHP General Mailing List (http://www.php.net/
d how would I correct that? Also,
what's the "shared" part of the "with" statement? Why do I need or not need that?
Thanks in advance for any help.
David
* * * * * * *
Hackers. Thieves. Cyberterrorists.
Are you prepared?
Take the Digital Defense Test!
A ZDNet Special Report.
Coming Sept. 25.
http://Defense.zdnet.com <http://Defense.zdnet.com>
create a simple variable that can be passed, then at the other end, use
unserialize to restore it.
http://www.php.net/serialize for more info
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
while($a) { [statments] }
while($b) { [statments] }
while($c) { [statments] }
or
while(isset($a)) { [statments] }
while(isset($b)) { [statments] }
while(isset($c)) { [statments] }
would both work well depending on your particular situation
-Original Message-
From: Richard Black [m
> How do you alternate colors of the rows in a table inside a
> while statement
> when dealing with the output of data from a DB. I am sure
> it's something
> simple but I keep getting into some really long math thing...
For two alternating colours I normally do something like this:
$use
You may also want to look at:
http://www.entropy.ch/software/macosx/php/
A build for Mac OS X based on PHP 4.4.2 with simple download and install
instructions.
HTH
David
On Wednesday, September 4, 2002, at 11:46 PM, Michael Geary wrote:
> Perhaps the best thing to do would be to wait
I'm using version 6 of IE and Netscape
I'm allowing the user to open/dowload a file from a secure locaiton on our
server. Under Netscape it works great! Under IE, it doesn't work at all.
IE complains about not being able to read from the server.
Anyone know of any workarounds?
here's the comm
stick the values in an array and use asort() to sort it.
-Original Message-
From: Rodrigo Peres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 8:30 AM
To: PHP
Subject: [PHP] sort dinamic generated table
Hi,
I have a resume system that put a rank in it resume at runtime.
build that I am using.
So is it some boneheaded coding error on my part or am I asking for too
much of pow()?
Thanks
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Reading the users hard drive is impossible from php, but it's really easy
with Java.
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 7:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Web based FTP client
Hi Mark,
> I am trying to buil
uages which can
open up direct socket connections and maybe you can even find some libraries
with pre-built in ftp functions. Do some searching on the web and see what
shows up.
David
-Original Message-
From: Mark McCulligh [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 9:
se of our
obsession with security we've failed.
-Original Message-
From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 11:11 AM
To: Mark McCulligh
Cc: David Buerer; [EMAIL PROTECTED]
Subject: Re: [PHP] Web based FTP client
Mark McCulligh wrote:
>
>I kn
x27;m probably doing something completely
wrong???
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f PHP that can be worked around.)
Session Lifetime is set to 0 and Session Garbage Collection is set to
24 minutes in the php.ini file.
Thanks,
David
--
David Cramblett
Multnomah Education Service Dist.
Network and Information Services
503-257-1535
fax 503-257-1538
--
PHP General Mailing
Additionally,
I forgot to mention that the session file is still viewable in the tmp
directory after the session clears.
David
David Cramblett wrote:
> Hello,
>
> I am having trouble with my session clearing after a few clicks around
> the application. The session is started
Ya' know guys i'm sitting here thinking about this problem because I have
the same problem on one of my sites. A bunch of inpatient stupid users whom
are click happy when they get impatient. Event a 100K upload can take to
long!
I don't like the ASP idea. It's really not a good solution. I'm a
et to
http://site/file.php instead of just /file.php it resets the session.
-Original Message-----
From: David Cramblett [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 11:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] RE: Session seams to be clearing randomly
Additionally,
I
David B,
Thanks for suggestions, but this is a very basic app, again it has only
three php scripts which it runs and all three load (include) the exact
same header file which starts the session. Also, again, when clicking
on the links, which basically just switch between the three php
If you've typed your code in accurately then...
> $detailqry = "SELECT id, parentitemid, itemtypeid, itemstatusid,
[etc]
> $result = mysql_query($detailqry) or die("Failed finding
> task details");
somewhere in about here you want to have something like:
$sqldata = mysql_fetch_array($res
the
returned array of keys.
i.e. array_rand ( array , array_size)
I have no idea what this would produce...
-David
On Tuesday, September 10, 2002, at 10:33 AM, Mike At Spy wrote:
>
> You could use array_rand() to take stuff out of the array at random and
> then
> stuff it all back
601 - 700 of 4419 matches
Mail list logo