In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
sketchbook.org says...
> Hey,
>
> I've got a script which disables a banner image when it's time is up, the script
> also sends an e-mail to both me and the banners owner when the time is up
>
> I've got a problem which is really weird..
>
> Eve
In article <[EMAIL PROTECTED]
manila-usia.gov>, [EMAIL PROTECTED] says...
> Hello, im doing a form that when you pass it will generate a preview report.
> My problem is some fields are optional the optional fields are 5. And for
> those fields I need to make it fit when it generate what idea or cod
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I have a select box that is filled with multiple values and when the user
> clicks submit, it hightlights all the values in the select box and then
> sends this to my PHP file.
>
> I did a simple:
>
> echo ($_POST["imgList"]);
>
> to s
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hello everyone,
>
> I have a long running problem that i just want to get covered, I have a standard
> text box for people to insert long lengths of text.
>
> This text box is in a standard but when I insert it into the
> database th
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Ok some of you might not like this, others of you will know exactly what I
> mean, but it just reminded me so much of this forum that I am sure some of
> you will catch the humor in it:
>
> http://www.mac-forums.com/forums/showpost.php?p
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I'm using MySQL and PHP for building a website, however now I need to create
> a report with something like this:
>
> -
> {Title}
> {Description}
>
> {Zone1}
> Detail Zone1.Topic1
> Detail
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I know im probibly getting irritating to most of you :P but i thought i may
> ask another thing that is on my mind!
>
> I have a sql query bringing back 200 rows for arguments sake, From this i
> would like an answer to 2 issues i have.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Could someone advise me of a good news reader. I'm using MS Outlook at the
> moment, and if I reply to any post it sends it to the users email and not to
> the news server. Plus, its not that great in general terms.
>
> Thanks
>
> Dave
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I've built a CSV parser that I want to run on every file in a folder. How
> do I do this?
Get the filenames with opendir() and readdir() and go from there.
Cheers
--
Quod subigo farinam
--
PHP General Mailing List (http://www.php.n
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Can someone direct me as to how to install PHP on a linux system as CGI? I
> wish to attempt to use posix_setuid() functions.
>
> Thanks
If you are compiling from source, use your normal configure but without
reference to --with-apxs
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
>
>
>
> > Shell side:
> > - must be readable and executable by user (apache or perhaps everyone)
> > - suid bit work only for programs, not scripts I think
> > - shell can only execute cmds for which it's effective user has
> > sufficien
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> > It's not usless if you read the page.
> > [EMAIL PROTECTED]
>
> As I said, the page is useless. This doesn't work either.
>
> J.
>
You may be trying to unsubscribe from a different email address that the
one used originally to sub
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hello again,
>
> I would appreciate if someone could help me out with this one.
>
> Thanks again
>
> --Pushpinder
>
>
>
>
> On Friday, August 8, 2003, at 11:46 AM, Pushpinder Singh Garcha wrote:
>
> > Hello All,
> >
> > I am usin
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> This is the only time I'm glad I use Yahoo mail for this list. Seems
> either their AV software or their mangling of attachments provided
> some level of protection. Though I knew they were viri, I wanted to
> check one out. They came acr
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Is this worm/virus windows specific?
Well, most of them are these days. Easy targets and all that...
--
Quod subigo farinam
$email =~ s/oz$/au/o;
A: Because it messes up the order in which people normally read text.
Q: Why is top-post
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Some joker is somehow making all are posts being sent to request
> subscriptions, help-list, unsubscriptions.. etc. I'm not sure how
> we can stop this nonsense.
>
> Part of the problem is there seems to be nobody in control of this
> l
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi,
>
> I know it's slightly not totally about PHP.. but since I wanna do it with
> PHP, i'll post it here. I was wondering if anybody can help me to accomplish
> the following:
>
> - Somebody sends an email to, for example, [EMAIL PROT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Will someone ban this f***ing spam...
>
> Anyone believing this is an idiot!
>
> regards,
> Dark Angel
>
>
> -Original Message-
If you have to respond about this sort of crap, please consider deleting
the original spam so w
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hello Everybody,
> I need a PHP program to convert Ascii values to
> Decimal values.
> May i get heLp from anybody?
> Thank You,
> - Chinmoy
I think you want floatval()
--
Quod subigo farinam
--
PHP General Mailing List (http://www.
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi,
>
> i'm using SuSE Linux 8.1 with Apache 2 and PHP 4...
> here is what i want to do:
> if someone writes a mail to [EMAIL PROTECTED] it should be directly
> processed by a PHP script...
> (I need it for a simple script, that validate
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hello
>
> Does anyone know of an algorithm or program for matching pieces of text
> (such as film titles) that are conceptually the same, but which may be
> written/spelled differently?
>
> eg. I need something which will identify a (li
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Hi list,
>
> i'm very newbie in PHP so sorry for this simple question but i havn't found any
> differences between my "code" and example code on a lot of website that i visited.
>
> I use PHP-4.3.1, OpenLDAP 2.1.19, BerkeleyDB-4.1.25 and
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi,
>
> First, let me say many thanks to those who responded to my cron tab
> question - it's working well now. And now for my next trick ;)
>
> I'm looking for more of an opinion here. I'm doing an alphabetical listing
> of members
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi all,
>
> I am reading the content of a text file into a variable to be used in a
> javascript. I am reworking some code that was originally done using
> ColdFusion and the jsStringFormat(var) function. What is the PHP
> equivalent
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> > Working kind of :)
> >
> > Get one line from it
>
> Kinda... I get it to return one line...
>
> The code:
>
> define('STDIN',fopen("php://stdin","r"));
> $str = fgets(STDIN);
> mail("[EMAIL PROTECTED]","Test","Test Test...\n\nOr
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hello All,
>
> I am using phpMyAdmin to administer my MySQl DB. I am running Mac OS
> Jaguar.
> when I try to start up phpMyAdmin I get an error:
>
> Welcome to phpMyAdmin 2.4.0
>
> Error
>
> MySQL said:
>
> Can't connect to local M
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> PiBIb3cgY2FuIEkgZ2V0IHRoZSBtb250aCBuYW1lIGZyb20gYSBkYXRlPyBJZiB5b3UgY291bGQg
> cG9zdCB3aXRoIGFuIGV4YW1wbGUNCj4gaSdsbCBiZSBncmF0ZWZ1bGwNCg0KVHdvIGxpbmtzIHRv
> IGhlbHAgeW91Li4uDQpodHRwOi8vd3d3LnBocC5uZXQvbWFudWFsL2VuL2Z1bmN0aW9uLmdldGRh
> d
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> I have the following code:
>
>
> $sql = "UPDATE class_sub SET desc = '$catdesc', sub_cat = '$subcatname'
> WHERE id='$catid'";
> echo $sql;
> $sql_result = mysql_query($sql);
> if (!$sql_result)
> {
> echo "Couldn't update
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Question.
>
> I am looking to try and pull the last modified date out and display it. So
> lets say I have 1000 records. I want to only display the date of the last
> modified time, I dont care about the id or the name or anything.
there something else
> to it?
>
> Thanks in advance...
>
>
>
>From the docs:
getservbyname() returns the Internet port which corresponds to service for
the specified protocol as per /etc/services. protocol is either "tcp" or
"udp" (in lowercase).
Cheers
anx
>
> -R
You can do it as you get it out of the db - see DATEFORMAT
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
eed a
different mode.
However, I think you may be better off uing fopen, instead of popen, if
you are trying to do what I think you are. The documentation for fopen has
a comprehensive description of the modes available; note that w is kindof
destructive in the wrong context :-)
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
u are asking what I think you are asking - use ord to get the ascii
(decimal) value of each character, then use dechex to convert to hex.
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
rror indicates that fopen failed to open the requested file. Given
that the URL works fine in a browser, is it possible that your php is not
configured to do remote fopen? Check the setting of allow_url_fopen in
phpinfo()
It is a good idea to test the result of such calls before trying to use
the re
ctories in some
places.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ELF header
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> Any help on this would be greatly appreciated. Thanks in advance.
> Reuben D. Budiardja
>
>
Did you do 'make install' as root?
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
assuming that
> > this is why
> > it doesn't work ...
> >
> > does any one have any ideas for me php ver is 4.2.1 for now... though
> > will upgrade to 4.2.2 soon..
Sounds like you are missing the system header files - what 'unix' are you
using?
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
tory `/usr/local/php-4.2.1/Zend'
> > > > make: *** [all-recursive] Error 1
> > > >
> > > > now i understand that it can't find unix.h and am assuming that
> > > > this is why
> > > > it doesn't work ...
> > > >
. Any hints on where to
> start?
session_register() ?
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
of the install directory for
any clues.
I'm not sure, but it might be --enable-track-vars (unless that is a typo);
check with configure --help | grep track
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
ut prior to the error might be useful?
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
t seems you need
to
print from the first record, then reset the pointer to the first record and print from
all
records found. So:
$row = mysql_fetch_row ($result))
print ("$row[4]");
mysql_data_seek($result, 0); // Add this
while ($row = mysql_fetch_row ($result))
Unless I mi
, ...) should return me somehow: 10
>
>
> Thanks
strpos might be useful
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;);
mysql_data_seek($result, 0); //Reset pointer to first record
while ($row = mysql_fetch_row ($result))
{
print "$row[1], $row[2], etc.");
}
?>
You might want to look at extract as well.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
"This is mutiny!" said Tom bountifully.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
< and >
> around all the <>)
If you are using php v4 you can do this with show_source(), or if using
apache, you can configure it to serve source code with syntax highlighting
rather than parsing the code.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP Gener
place and also amend your httpd.conf to activate php as DSO. The
nyou just (re)start apache and off you go.
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
In article <01c236b2$e5af1350$f5563944@cc1966780a>,
[EMAIL PROTECTED] says...
> Visit http://phpacronym.coolfreepage.com
> <http://phpacronym.coolfreepage.com/> and submit what the PHP acronym
> means to you!
Hmm, at least it is 404-compliant :-)
--
David Robley
pxs which allows the
loadable module to be built, and the two with-config-file entries. The
latter of these points to the directory where you have installed apache
configuration files, and allows the php install process to find the apache
config file and add the necessary entries to get php up and running.
So the order of play is
Apache
configure
make
make install
optionally start to ensure its all working
PHP
configure
make
make install
Apache
restart to re-read the config file
That should get you up and running. I just did the php part earlier today
to upgrade my laptop to 4.2.2 and it only took a few minutes.
Cheers
--
David Robley
NUMBER CRUNCHING: Jumping on a Computer.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
better that you test that result
and be prepared to handle an error situation.
For a further guess, the value $username doesn't have a trailing slash.
--
David Robley
NUMBER CRUNCHING: Jumping on a Computer.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
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
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
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
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
>
> Well, probably I should drop using Apache's old auth-sceme and run all in
> PHP anyway.
>
> Thank you for the input.
>
> Best
>
> Frank
> U5com
Is this snippet from the docs possibly relevant?
Chapter 17. HTTP authentication with PHP
The HTTP Authentic
"$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
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
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
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
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Chuck \"Pup\" Payne) says...
> Hi,
>
> Is there a way that when someone add a submit or edits a record that I can
> have my php page e-mail that record? And is hard to do?
>
> Chuck Payne
Yes. No. See mail(
ld show the list your
code someone might be able to see if you have a problem there.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rs are configured so that they send mail only if the sender
> > receives mail at the same time. One other possible pitfall is that reverse
> > IP lookup is not working correctly and your server rejects the mail as it
> > cannot verify the sender host. Also, many (well configured)
not sure what to do with this file. I have a Linux 7.x server. Can anyone
> >> tell me how to patch my version of PHP or point me to a source that
> > explains
> >> how this is done?
> >>
> >> Thanks!
patch is a *nix program to apply patches such as the one yo
($_POST[new_password1] == " ")
>
> echo "empty input";
>
>
>
> thanks..
>
> meltem
Well, you are comparing it to a non-empty string of three spaces rather
than an empty value "".
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General M
s
section of yor php.ini
> --
> Geoff Hill
> Information Technology Training & Solutions
> A.B.N. 28 712 665 728
So I don't need to withold tax on this reply:-)
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
Check that you don't have _any_ whitespace before the tags, and
of course don't send any other output before the header function.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
Well, as it happens I'm too lazy to write it for you :-)
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t it does (possible register_globals
problem?)
> while(list($cpr, $fornavn, $efternavn, $gade, $postnummer, $postbynavn) =
> mysql_fetch_row($result))
>
> What is going on?
> The select is ok if I do not join, but then I'm not able to get the
> field "postbynavn&qu
d:\n";
reset ($_POST);
while (list ($key, $val) = each ($_POST)) {
echo "$key => $val\n";
}
After each() has executed, the array cursor will be left on the next
element of the array, or on the last element if it hits the end of the
array. You have to use reset() if you wan
the
> logistics.
Google is your friend. Try
http://www.google.co.nz/search?q=convert+access+to+mysql
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he file in memory for quick retrival?
>
> Jc
Whether a document is kept in memory cache or not is not something that
php has any control over, I think; your operating system is generally what
looks after that.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing Li
g: ftp_fput() expects parameter 4 to be long, string given
> >
> > If I replace $filetype with the text FTP_ASCII or FTP_BINARY it works
> fine.
Quick explanation: FTP_ASCII is a symbolic constant, "FTP_ASCII" is a
string.
--
David Robley
A: Because it messes up the orde
");
> >
> I don't see what is wrong but try echoing the text of the query itself
> and see if it contains what you think it does around the $desription area.
>
> HTH
> Chris
Two bob says this is a register_globals problem
--
David Robley
Temporary Kiwi!
Quod su
a From: field? It may be that the from address as sent by
the provider won't resolve, which may cause problems.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tried
> htmlspecialchars($string, ENT_QUOTES);
> and
> htmlentities($string, ENT_QUOTES);
>
> but these don't seem to work (maybe its me).
stripslashes() is the immediate solution, but you might also want to
consider the various 'magic_quotes' settings in your php.i
for your circumstance:
$fSql = mysql_query($fSelect, $db) or DIE("Unable to retrieve data" .
mysql_error() ); //Add debugging aid
while($usefields = mysql_fetch_array($fSql, MYSQL_ASSOC) {
extract($usefields); //Read the docs for extract()
// do whatever here
}
Cheers
--
David Robley
Tem
I think there is an easy way to
> do it, just not sure how to code it.
>
> Thanks in advance!
passthru and mysqldump should be able to do that for you - perhaps if you
were to show the code you tried, someone might be able to suggest
improvements.
--
David Robley
Temporary Kiwi!
Quo
ibution [NB untested]:
http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01420500
');
$current = $content{count($content)-2};
Use count to find the number of elements and use count-2 to select the
second-to-last element. Recall that the first element is [0].
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
nt?
>
> Thanks,
> Jonathan Duncan
You seem to be confusing the static (Apache) module with the standalone
php binary, sometimes referred to as the CGI version and which is what I
think you mean by 'static cgi module'.
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam
ent is not a valid MySQL result
> resource in /home/olimpiad/public_html/base/alta1.php on line 34
>
> I'm running the script on a linux server.
> could someone help me.
> Thank you.
And when you get the error message, you will have the actual query to
check.
Cheers
-
some cases switch to a new log) by
executing FLUSH LOGS. See FLUSH.
Error log The Error Log
Query log The General Query Log
Update log The Update Log
Binary log The Binary Update Log
Slow query log The Slow Query Log
Log file maintenanceLog File Maintenance
Sorry a
ve a look at the two versions in a
hex viewer and see if that is the case?
Not a solution, but maybe a further step in the debugging process?
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
of a specific file_ without the need to read/rewrite the
entire file. Is there in fact any file system that allows this?
Now I shall don my Nomex gear and await responses from those more
knowledgeable :-)
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
1 - 100 of 1128 matches
Mail list logo