I'm converting over some .shtml files that call an external Perl script with
the following format:
I'm not sure what php function to use, as I'm returning the results of a
Perl script, not really a UNIX command.
Thanks,
Peter Janett
New Media One Web Services
Hi Peter.
I think fopen( "http://site/PATH_TO_PERLSCRIPT.CGI"; ) should do the trick.
It will basically return the output of that script.
Hope this helps.
-Scott
-Original Message-
From: Peter Janett [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2002 09:47
To: [EMAIL PROTECTED]
Subject:
array_unique tests the values of each element of the top level array - which
are all 'array' - hence you only get one element left
the way I'd do this is ...
$archive_nav["$year/$month"] = array(month => $month, year => $year,
longmonth => $longmonth);
this will prevent duplicate combinations of
echo `PATH_TO_PERLSCRIPT.CGI 2>&1`;
Op dinsdag 20 augustus 2002 09:47, schreef Peter Janett:
> I'm converting over some .shtml files that call an external Perl script
> with the following format:
>
>
> I'm not sure what php function to use, as I'm returning the results of a
> Perl script, not re
Hi,
After unsuccessful try to install apache2.0.4 with php I went back to
apache1.3 and the same php config I had before.
Yet for some reason php is not working the way its supposed to.
The header function wont do a thing and no syntax errors or warnings are
shown . I guess it has to do something
Hi
Can someone please tell me what settings to check for on 4.1.2 in order
to ensure that scripts that runs on 4.0.4 will run on 4.1.2?
I HAVE checked registered_globals = on, but I still get variables that
are not passed on via URL and form submits.
The app has a "login" form that submits to an
On Tue, Aug 20, 2002 at 11:28:55AM +0200, Petre Agenbag wrote:
> Hi
> Can someone please tell me what settings to check for on 4.1.2 in order
> to ensure that scripts that runs on 4.0.4 will run on 4.1.2?
>
> I HAVE checked registered_globals = on, but I still get variables that
> are not passed
Yes, phpinfo() returns that register globals is ON...
On Tue, 2002-08-20 at 11:52, Thies C. Arntzen wrote:
> On Tue, Aug 20, 2002 at 11:28:55AM +0200, Petre Agenbag wrote:
> > Hi
> > Can someone please tell me what settings to check for on 4.1.2 in order
> > to ensure that scripts that runs on 4.
Try to post it via other than CURL,
http://Sloppycode.net and search for clsHtmlSource.php
Good luck,
Elias
"Samantha Savvakis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI,
>
> I'm using the cURL binary to perform a HTTP POST to a web page. I am
sendin
$str = str_pad('', 254, 'A');
"Saci" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In ASP I use the expression myvar = string(254,"A")
>
> to have a var filled with 254 characters 'A'
>
> What is the similar one in PHP?
>
>
>
--
PHP General Mailing Li
On Tue, Aug 20, 2002 at 12:01:24PM +0200, Petre Agenbag wrote:
> Yes, phpinfo() returns that register globals is ON...
and does a simple testpage work?
test.php
http://localhost/test.php?hallo=test
should show a page containing the word test
re,
tc
>
> On Tu
Hi,
There is a note at http://www.php.net/ChangeLog-4.php for Version 4.2.0
(Note: Apache2 support is EXPERIMENTAL.)
Is it still justified?
adu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Does anyone know how to embed images in HTML emails in order to avoid a
server request (no http://server/foo.img";>)?
Is this possible?
Many thanks,
Radu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I want to build up an image library for the first time and there are some problems to
solve.
I need to create a cron job (whatever this may be) for picking up pictures in an
special folder and extracting the iptc text fields in the images and write them to a
DB. On the other hand the cron
Hi evey1,
in order to remove a whole array of values from a multidimensional array
I tried the following:
foreach($bkmks as $val) {
if($val[8]==$cod){
array_splice($bkmks,$val,1);
Hi guys!
Situation:
$intext = "blablabla ' blablabla";
then this $intext is passed to out.php (as parameter out.php?intext=...)
the problem is that from out.php I need to echo this $intext but I get:
blablabla \' blablabla
the question is.. how to fight this backslash out of there?
Thanks,
On Tue, 20 Aug 2002 15:13:53 +0300, you wrote:
>the problem is that from out.php I need to echo this $intext but I get:
>
>blablabla \' blablabla
>
>the question is.. how to fight this backslash out of there?
The magic_quotes_gpc setting is enabled on your server. If you have
access to the serv
On Tuesday 20 August 2002 20:13, Maris Kalnins wrote:
> Hi guys!
>
> Situation:
>
> $intext = "blablabla ' blablabla";
> then this $intext is passed to out.php (as parameter out.php?intext=...)
>
> the problem is that from out.php I need to echo this $intext but I get:
>
> blablabla \' blablabla
>
On Tue, 20 Aug 2002 14:52:21 +0300, you wrote:
>Hi,
>
>Does anyone know how to embed images in HTML emails in order to avoid a
>server request (no http://server/foo.img";>)?
>Is this possible?
It is possible. If you are sending a multipart MIME message, attach
the image as MIME type image/gif o
Please help me with my trouble.
This is not php trouble but trouble with apache and perl scripts. How I
configure apache (httpd.conf) for running pearl script in web page. If I
create script with some name (e.g. test.pl) and if in www expoler write
http://server/test.pl result is source code of sc
Possibly you could use the header() function.
header(Content-type: application/x-www-form-urlencoded);
header(Content-length: echo $conten_length_in_byte;);
header(var=$content&var2=$conten3);
It's a gess,
didn't tryed.
Try curl
or
snoppy class <- at sourceforge
also at phpclasse.org a lot of
A plea for help
Would anyone be willing to code the Halloween Documents so we could
print them as PDF files
http://opensource.org/halloween/
--
Steve Mallett | [EMAIL PROTECTED]
http://open5ource.net
"The more I contemplate death and my mortality, the
more it inspires me to live my
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Please help me with my trouble.
> This is not php trouble but trouble with apache and perl scripts. How I
> configure apache (httpd.conf) for running pearl script in web page. If I
> create script with some name (e.g. test.pl) and if in
hi all,
I have a question regarding POST and SID:
I am trying to make a no-cookies browser work with session_id, according to
some tutorial, using in URL is one choice. I tried that and it
worked if it is only a hyperlink, but it DOES NOT work when I use POST.
Any one has experience in this ?
Sasha ... I'm sending this again to the list as it seemed to bounce from
your address
the way I was doing it prevents unique values from being created in the
first place. The only array that gets overwritten is one that would be the
same any way
while ($row = mysql_fetch_array($result))
{
I need to differentiate between different versions of NS4, particularly
the ones that are used by Mac. So far, I've used the following to detect
variants:
if(eregi("(Mozilla/4.[0-8][0-9])",$_SERVER['HTTP_USER_AGENT']))
However, I'm aware that it will not distinguish between PC and Mac-based NS
php-general Digest 20 Aug 2002 14:05:45 - Issue 1536
Topics (messages 113283 through 113323):
Re: database value count retrieval
113283 by: David Freeman
Re: tracking visitors till registration?
113284 by: Randy Johnson
113287 by: Rasmus Lerdorf
113289 by: D
I know I saw this somewhere before but cannot find the answer
In a php/mysql script how do a do a transaction
is it like this or is their a better way to do it?
innodb table method
$query="set autocommitt=0;"
mysql_query($query);
$query="select blah from blah;";
mysql_query($query);
$query
My oh my
OK, can someone help with this one???
My original Form conatined the following:
bla, bla
And then things broke, so, out of curiosity, I removed the enctype=""
part, and now it works/
On Tue, 2002-08-20 at 13:05, Thies C. Arntzen wrote:
> On Tue, Aug 20, 2002 at 12:01:24PM +0200
Ya that's pretty much it. Just do:
mysql_query("BEGIN");
$sql = "Update bla...";
$result = mysql_query($sql);
if($result)
mysql_query("COMMIT");
else
mysql_query("ROLLBACK");
HTH
Steve.
-Original Message-
From: Randy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10
Yesterday it was recommended that I get the latest PHP from
http://snaps.php.net. I did that last night and today, and I am compiling
it as follows. Currently this error was on the snapshot of 200208200600.
./configure --enable-track-vars --with-mysql --with-mail
--with-apxs2=/usr/local/apache
HTTP_USER_AGENT returns platform info as well doesn't it...??
> -Original Message-
> From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 10:10 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] NS4.x / IE3.0 Browser Detection
>
>
> I need to differentiate between dif
On Tuesday 20 August 2002 22:07, Petre Agenbag wrote:
> My oh my
> OK, can someone help with this one???
> My original Form conatined the following:
>
> bla, bla
>
>
> And then things broke, so, out of curiosity, I removed the enctype=""
> part, and now it works/
php.info -> file_uploads
Ne
The code below also works if you omit the declaration of the $userAgent,
will it be any difference?
/José J
class Browser
{
# the line below is not necessary?
var $userAgent;
function Browser()
{
$this->userAgent = $GLOBALS["HTTP_USER_AGENT"];
}
}
--
PHP General M
Roman,
It seems http.conf has not been set to parse ".pl" files. Have you got
an unconditional "
LoadModule perl_module" and "AddModule mod_perl.c" lines? Is your perl
script in a directory with ExecCGI permissions and is the script's
executable bit set (for the user apache is running as). Res
Hello, Michael Sims!
MS> I imagine that
MS> Manuel Lemos' PHP Classes site has a class that would take care of
MS> this for you...
url, plz :)
--
Andrew Perevodchik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have searched the archives and the last time this was seriously discussed
was september of last year...unless I have a giant gaping hole in my
archive! :) I was considering northwesthost.com and would like some
opinions on them or anybody you are happy with The list of isp's on php.net
doesn'
http://www.futurequest.com
Fantastic!!
~ Matthew
-Original Message-
From: db, or not db [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 11:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] suggestions for a good php+mysql isp?
I have searched the archives and the last time this wa
> From: Andre Dubuc <[EMAIL PROTECTED]>
>
> I need to differentiate between different versions of NS4, particularly
> the ones that are used by Mac. So far, I've used the following to detect
> variants:
>
> if(eregi("(Mozilla/4.[0-8][0-9])",$_SERVER['HTTP_USER_AGENT']))
>
> However, I'm aware t
Put a hidden field in your form with the session id.
On Tue, 20 Aug 2002, simanhew wrote:
> hi all,
>
> I have a question regarding POST and SID:
> I am trying to make a no-cookies browser work with session_id, according to
> some tutorial, using in URL is one choice. I tried that and it
> wor
www.phpclasses.org
Stas
- Original Message -
From: "Andrew Perevodchik" <[EMAIL PROTECTED]>
To: "Michael Sims" <[EMAIL PROTECTED]>
Sent: Tuesday, August 20, 2002 3:06 PM
Subject: Re: [PHP] Embeding images in HTML emails
> Hello, Michael Sims!
>
> MS> I imagine that
> MS> Manuel Lemos
How can I remove all \n and \r from a txt file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 20 August 2002 22:06, Andrew Perevodchik wrote:
> Hello, Michael Sims!
>
> MS> I imagine that
> MS> Manuel Lemos' PHP Classes site has a class that would take care of
> MS> this for you...
>
> url, plz :)
Use your noodle:
google -> "Manuel Lemos PHP Classes"
--
Jason Wong -> Gremlin
On Tuesday 20 August 2002 10:57 am, Lowell Allen wrote:
> > From: Andre Dubuc <[EMAIL PROTECTED]>
> >
> > I need to differentiate between different versions of NS4, particularly
> > the ones that are used by Mac. So far, I've used the following to detect
> > variants:
> >
> > if(eregi("(Mozilla/4.
Hi!
just installed latest php and apache on windows nt!
to my big surprise when i am executing test.php?abc=testvalue
where test.php =
I get empty string
can somebody say what's wrong?
Thanks, Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
is register_globals = off in php.ini? if so, that is why.
Adam
On Tue, 20 Aug 2002, Maris Kalnins wrote:
> Hi!
>
> just installed latest php and apache on windows nt!
>
> to my big surprise when i am executing test.php?abc=testvalue
> where test.php =
>
>
>
> I get emp
[snip]
to my big surprise when i am executing test.php?abc=testvalue
where test.php =
I get empty string
can somebody say what's wrong?
[/snip]
register_globals = Off in php.ini
try
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
> From: Andre Dubuc <[EMAIL PROTECTED]>
>
>
> That's the problem -- I don't know whether to exclude Mac NS4 as well. I'm
> using a lot of CSS1, and NS4's output is horrible. Rather than re-write the
> whole site, or try to patch things up, I'm re-directing them to WaSP.
>
> So, the question is:
On Tuesday 20 August 2002 23:00, Erich Kolb wrote:
> How can I remove all \n and \r from a txt file?
file(), str_replace(), fopen(), fwrite(), fclose(), add seasoning to taste.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Ho
When you say "it does not work", are you trying to POST the SID, or
continuing to pass it around in the URL *whilst* posting a form.
This SHOULD work:
blah.php should recognise the session.
Justin French
on 20/08/02 2:29 PM, simanhew ([EMAIL PROTECTED]) wrote:
> hi all,
>
>
$str = str_replace('\r',$str)
$str = str_replace('\n',$str)
Justin French
on 21/08/02 1:00 AM, Erich Kolb ([EMAIL PROTECTED]) wrote:
> How can I remove all \n and \r from a txt file?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I finally got PHP 4.0.6 compiled with sybase-ct=/usr/local/freetds for use
with mssql. However, it seems like php doesn't know where to find the
interfaces file. Is there a configuration option which allows me to tell
PHP where to find the interfaces file and/or where is it looking for the
int
Your path to the interface file must be wrong, in
my php.ini I have it set to "/usr/local/freetds/conf/freetds.conf"
Are you sure the path is right?
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-08-20 at 11:20, Benji Spencer wrote:
> I finally got PHP 4.0.6 compiled with sybase-ct=/usr/local/freetds
Hi.
I cant tell you off-hand what the problem might be, but this article is very
helpful, and might answer your question:
http://www.phpbuilder.com/columns/alberto2919.php3?print_mode=1
-Scott
> -Original Message-
> From: Benji Spencer [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2
anyone know why this scritp dont read all the posts..?
xml file: http://www.camelotherald.com/xml/servers.xml
script in action: http://www.ant.nu/test.php
if u look at the script in action, it prints out the xml file, except 1
line..
the output looks like this:
Relicname Relictype Relicowner
>Your path to the interface file must be wrong, in
>my php.ini I have it set to "/usr/local/freetds/conf/freetds.conf"
>Are you sure the path is right?
At the top of the freetds.conf file...is..
# FreeTDS will search for a conf file in the following order:
#
# 1) check if a file was set pro
They (futurequest) really are impressive, but 39.95/month is a little pricey
for me...if they offered MySQL with the basic plans (with 1-2 db's instead
of 6) I'd go for it. The site I'm handling is for a small mortgage company
so the 39.95/mo plan is overkill for their needs.
Anyone else with a
Hmm, weird, mine worked perfectly the first time through when I
installed it, no havingto mess with permissions or anything.
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-08-20 at 12:18, Benji Spencer wrote:
>
> >Your path to the interface file must be wrong, in
> >my php.ini I have it set to "/usr
I've heard good things about hostway.com.
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-08-20 at 12:27, db or not db wrote:
> They (futurequest) really are impressive, but 39.95/month is a little pricey
> for me...if they offered MySQL with the basic plans (with 1-2 db's instead
> of 6) I'd go for i
experthost.com
I have 15 sites with them.
Justin French
on 21/08/02 2:27 AM, db or not db ([EMAIL PROTECTED]) wrote:
> They (futurequest) really are impressive, but 39.95/month is a little pricey
> for me...if they offered MySQL with the basic plans (with 1-2 db's instead
> of 6) I'd go for i
Hi all,
I can ACCESS a cookie with something like:
but I can't seem to modify a cookie in the same way:
Much in the same way that I *can* do it with $_SESSION.
To change the value of a cookie, I seem to have to set it again, with the
different values.
I *assume* this is expected behavio
www.aletia.com
db or not db wrote:
> **
> This Message Was Virus Checked With : SAVI 3.60 May 2002
> Last Updated 16th August 2002
> **
>
> They (futur
Well, perhaps you have something after the . in that string?
You can strip off the last char of a string very simply with:
substr($str,0,-1)
-Rasmus
On Tue, 20 Aug 2002, Mike At Spy wrote:
>
> Hey!
>
> :)
>
> I have an issue with trim / triml. Whenever I put a string in to trimmed,
> it r
Trim clears whitespace not characters (I'm pretty sure), try using this to
rid yourself of the period:
$trimmed = substr($date, 0, -1); // returns everything but that last
character (the period)
Jeff
- Original Message -
From: "Mike At Spy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
> Trim clears whitespace not characters (I'm pretty sure), try using this to
> rid yourself of the period:
You can optionally specify that trim should trim any other chars.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> $single = "The date is 20-Aug-2002." // This is an example - see below
> $trimmed = rtrim($date, ".");
Where is $date? I think your attempting to trim the wrong string.
This worked for me:
To slice off the last character of any string, you could use substr():
Justin French
on 21/08
Sorry, just saw Rasmus' reply, lso I didn't read your code entirely, noticed
you specified for the period to be chopped off :)
Jeff
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: "Mike At Spy" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 20, 2002 12:53 P
Hey!
:)
I have an issue with trim / triml. Whenever I put a string in to trimmed,
it refuses to take the period at the end of the string off.
I did put more things to trim first, but this is basically what I am doing:
$single = "The date is 20-Aug-2002." // This is an example - see below
$t
Petre Agenbag wrote:
> My oh my
> OK, can someone help with this one???
> My original Form conatined the following:
>
> bla, bla
>
>
> And then things broke, so, out of curiosity, I removed the enctype=""
> part, and now it works/
Another tip you might find useful if you're writing code th
Sorry, I mistyped - $date should be $single.
Thanks for the suggestions and help to everyone! - I will pursue them. :)
-Mike
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 12:50 PM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subje
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
www.webprosinc.net has several plans, starting as little as $4.95 (1 MySQL
database/1 domain/125 MB space/2GB transfer) to $49.95 (unlimited
databases/100 domains/1GB space/16GB transfer). They are currently using
PHP 4.1.0 and seem to regularly updated their system (they use Plesk for
maintenanc
> Another tip you might find useful if you're writing code that outputs a
> that posts to itself, is to echo $PHP_SELF instead of hard-coding
> the target. If you happen to move your code elsewhere in the future,
> this will save you the time of having to go back and specify a new POST
> target
I am attempting to compile PHP with LDAP (again). Our current production
server has LDAP enabled, and works fine. However, I needed to recompile PHP
to add additional functionality. Now I can't seem to get things to work.
PHP 4.0.6
Netscape LDAP SDK 4.0
Solaris 2.8
The compile process goes fin
mysql_query is returning an odd error. I don't know if I'm just totally missing
something or not but I keep getting this error:
mySQL Error: You have an error in your SQL syntax near ''LIMIT 25,25'' at line 1
with this query:
SELECT * FROM dvd_library WHERE genre=BUDGET ORDER BY description A
Please disregard, it was a silly problem (I was echoing the SQL query and
editing that, not the main SQL query).
Jeff
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 20, 2002 3:04 PM
Subject: [PHP] Problem with mysql_query
mysql_
[snip]
mySQL Error: You have an error in your SQL syntax near ''LIMIT 25,25'' at
line 1
with this query:
SELECT * FROM dvd_library WHERE genre=BUDGET ORDER BY description ASC LIMIT
25,25
[/snip]
Try
SELECT * FROM dvd_library WHERE genre = 'BUDGET' ORDER BY description ASC
LIMIT 25, 25
Also (I
I always create a database by hand. On the console type:
mysql -u root -p
(It will prompt you for the mysql superuser's password. Then run:
CREATE DATABASE db_name_here;
Then you would use the grant statement accordly to give users permissions
to it.
Adam
On Tue, 20
What you can and can't do with phpMyAdmin may depend on your host.
phpMyAdmin itself does have the ability to create databases. However, that
ability is determined by the access rights of the user you access the MySQL
server with. If your host controls the creation of that user, they may
puposel
Not sure if this is the right place to ask. But here it goes. I'm using PHP
4.0.6 and trying to find a way to insert single quoted data. Some of the
values in the INSERT statement are single, double quoted, or use
backslashes. I cannot seem to use an escape character to input these special
charact
[snip]
Not sure if this is the right place to ask. But here it goes. I'm using PHP
4.0.6 and trying to find a way to insert single quoted data. Some of the
values in the INSERT statement are single, double quoted, or use
backslashes. I cannot seem to use an escape character to input these special
I have been struggling to compile php(4.2.2, mandrake 8.2, apache
1.3.26) with xslt support for over 3 days now. I can configure with
trouble like this:
./configure \
--with-apxs=/usr/lib/apache/bin/apxs \
--with-sybase=/usr/local/freetds \
--with-mysql \
--enable-xslt \
--with-xslt-sablot
Hi all,
I am trying to check password that user typed with the one in Unix system.
Some tutorial(or PHP Manual) just retrieves content in /etc/passwd and
compare it, but
password could be stored in shadow, not in passwd; someone suggested to
write a tiny C code,
chown it to root, change sticky bi
I have been struggling to compile php(4.2.2, mandrake 8.2, apache
1.3.26) with xslt support for over 3 days now. I can configure with
trouble like this:
./configure \
--with-apxs=/usr/lib/apache/bin/apxs \
--with-sybase=/usr/local/freetds \
--with-mysql \
--enable-xslt \
--with-xslt-sablot
I am new to MySQL and PHP.
Having looked at PHPMyAdmin the GUI I was wondering if it's possible to
create a new database within the system?
If so what are the commands? I ask because I only have one database on my
server and don't want to populate it with different tables, I'd rather have
seperate
Do you have phpMyAdmin running yet? If so you create new databases with the
click of a button. The first page you see should say Welcome to phpMyAdmin
...ver etc. If you have set phpMyAdmin to run on an existing MySQL install,
the drop down boxes "should" contain your existing databases if configu
So sprach Steve Jackson am 2002-08-20 um 22:11:58 +0300 :
> seperate ones for seperate functions.. Ideas or advice? is the way I am
> suggesting better or worse than the way my hosting company expects me to
> work?
What does your hosting company suggest?
Any how, for "system" stuff like creating
When calling the function createLinks() I get an unsorted result, and that's
NOT what I want. But I'm not able (lack of knowlegde) to sort the output
(the links).
\n";
while ($file = readdir($handle)){
if (($file == ".") || ($file == "..") || ($file == "index.php") || ($file
== basename ($PHP
Put them into an array and sort() the array. The loop through the sorted
array and output at that point.
-Rasmus
On Wed, 21 Aug 2002, Øystein Håland wrote:
> When calling the function createLinks() I get an unsorted result, and that's
> NOT what I want. But I'm not able (lack of knowlegde) to
Is there a soul who has the xslt extensions compiled with php 4.2.2,
sablotron 0.95 and expat 1.95.4 and working on Linux who is willing to
give me some tips?
I have tried the suggestions here:
http://www.php.net/manual/en/ref.xslt.php
here:
http://phpfaq.info/#id98
and the patches here:
http:
Thanks for that. I'll look into it.
Sam
"Lallous" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try to post it via other than CURL,
>
> http://Sloppycode.net and search for clsHtmlSource.php
>
> Good luck,
> Elias
> "Samantha Savvakis" <[EMAIL PROTECTED]> w
"Put them into an array and sort() the array. The loop through the sorted
array and output at that point."
Just what I try. But, because of my lack of understanding, the output is my
problem:
function createLinks() {
$p = 0;
$handle=opendir(".");
echo "\n";
while ($file = readdir($handle)){
Hi,
I'm curious if anyone has integrated PHP with Jboss and jetty or tomcat.
We are working on a J2EE application and would like PHP to be able to
interface with the JBOSS server (exchange of data and data structures).
SOAP seems like a logical choice, but, I don't know how developed (alpha)
the
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 value you DON'T write will be 'N', and
> those yo
I have included my code below. This is my first experience trying to use
COM objects in PHP. My problem is that the
foreach loop does not output anything, regardless of whether or not there
are files in the folder. Can anyone tell me what is wrong with my script?
Thanks for any help.
I haven't been able to find much on this subject in the archives.
Using sessions I have been able to have the server validate the user's
access level before serving him a page. I put include files on each page
that I want authenticated. This is all well and good, except on my pages
there are l
I have looked at array_multisort, asort, etc. NONE of them do what I need.
My array looks like this:
$array[0][0] = First Id;
$array[0][1] = First Name;
$array[0][2] = First Rating;
$array[1][0] = Second Id;
$array[1][1] = Second Name;
$array[1][2] = Second Rating;
My Host runs Plesk, and I tolerate it.
It aint perfect though.
Justin French
on 21/08/02 7:01 AM, John S. Huggins ([EMAIL PROTECTED]) wrote:
>
> I have been looking around for a solution to provide my customers with a
> control panel that will allow them to control the basics including mai
Oooops!
Go back to isset() or emoty()
Justin
on 21/08/02 9:48 AM, David Yee ([EMAIL PROTECTED]) wrote:
> 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
http://www.php.net/manual/en/function.usort.php
-Original Message-
From: Ben [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 11:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Sorting a multi-dimensional array
I have looked at array_multisort, asort, etc. NONE of them do what I n
1 - 100 of 113 matches
Mail list logo