OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
php-general Digest 23 Jan 2006 13:51:03 -0000 Issue 3922

php-general-digest-helplists.php.net
Date: Mon Jan 23 2006 - 07:51:03 CST


php-general Digest 23 Jan 2006 13:51:03 -0000 Issue 3922

Topics (messages 229049 through 229083):

Upgrading to 4.4.2
        229049 by: example.email.address.gmail.com
        229051 by: example.email.address.gmail.com

Can PHP works with telnet?
        229050 by: HoWang Wang
        229052 by: Steve Clay
        229059 by: Geoff
        229064 by: HoWang Wang

Use of Ampersand in php
        229053 by: Nirmalya Lahiri
        229056 by: Michael Hulse

Re: XML and special characters
        229054 by: Adam Hubscher

Houston PHP Users Group February Meeting Details
        229055 by: Joao Prado Maia

PHP SSH2
        229057 by: Vedanta Barooah
        229068 by: Vedanta Barooah
        229070 by: David Grant

(Fwd) Re: [PHP] Question about Thumbnailing, Watermarking, and
        229058 by: Geoff

Re: exec php.exe in windows
        229060 by: Dave Kennedy

Re: Controling buffer: php/smarty or apache?
        229061 by: robert mena
        229077 by: Sumeet

Re: Managing sessions...
        229062 by: David BERCOT

Re: php5 iterate an object
        229063 by: Jochem Maas

Php4 with mysql flag
        229065 by: Markus Braun
        229066 by: David Grant
        229067 by: Markus Braun
        229069 by: David Grant
        229078 by: Markus Braun

Search files in a directory!
        229071 by: Nicholas Couloute
        229072 by: Barry

issue with newsgroups server
        229073 by: Alain Roger

hiding the index.php page.
        229074 by: Gregory Machin
        229075 by: Barry
        229081 by: Sumeet
        229082 by: Silvio Porcellana [tradeOver]

secure logon php page
        229076 by: Alain Roger
        229080 by: Barry

secured logon page
        229079 by: Alain Roger

phpmyadmin import
        229083 by: William Stokes

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscribelists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscribelists.php.net

To post to the list, e-mail:
        php-generallists.php.net

----------------------------------------------------------------------

attached mail follows:


Hello

I've started work for a client who has their own server running PHP 4.1.1.
If I upgrade them to PHP 4.4.2, will there be any issues I'd need to
look out for?

Is there a general process (or checklist) I should follow when
upgrading PHP versions to find where potential the may be potential
code problems?

Thank you for your assistance

Tim

attached mail follows:


Hi Amol,

      On 1/23/06, Amol Hatwar <amolhatwar.org> wrote:
      Just make sure a phpinfo() before and after the upgrade match :)

That _just_ crossed my mind! This will help in making sure I setup all
the settings correctly.

Thanks
Tim

attached mail follows:


Hi all,

Recently I got a job to write a PHP webpage to display some infomation
which have to obtain from telnet. Telnet is the only way to query the
software. I have made a quick search on php.net but I can't found amy
extension support telnet. Is there any way to do so? Or it is impossible
with PHP but can be done with external binaries?
Please help, thanks.

HoWang Wong

attached mail follows:


Sunday, January 22, 2006, 8:56:01 PM, HoWang wrote:
> software. I have made a quick search on php.net but I can't found amy
> extension support telnet. Is there any way to do so? Or it is impossible

Try http://www.geckotribe.com/php-telnet/ which uses fsockopen [1].
CURL [2] /claims/ telnet support, but this post [3] leads me to believe
it's pretty limited.

[1] http://us2.php.net/function.fsockopen
[2] http://us2.php.net/curl
[3] http://curl.haxx.se/mail/lib-2005-09/0013.html

Steve
--
http://mrclay.org/

attached mail follows:


In the php manual, in the fsockopen() page, in the user comments, I
found this:

----------------------------------------------------------
Found this php class to use telnet from here:
http://cvs.adfinis.ch/cvs.php/phpStreamcast/telnet.class.php
There's no docs and a lot of it's in french though so maybe it will
help someone to have my working code. This code is used to telnet
into a pix and execute the "shun" command.

//-------telnet.class.php usage example---------
               $telnet = new telnet;
// Next line is for logging.
//By default you need to create a folder called /log and give it
//the rights your webserver is running.
               $telnet->setLog(1,"mylog");
               $telnet->set_host("myhost.myplace.com");
//You need to set the prompt to what you know its going to be,
//then call wait_prompt...which waits for what you just set
               $telnet->set_prompt("Password: ");
               $telnet->connect();
               $telnet->wait_prompt();
               $telnet->write("mypassword");
//Have to change the prompt...in my example this is the
//prompt that a pix will change to after loggin in.
               $telnet->set_prompt("pix> ");
               $telnet->wait_prompt();
               $telnet->write("en");
               $telnet->set_prompt("Password: ");
               $telnet->wait_prompt();
               $telnet->write("enable_password");
//When you go into enable mode in a pix the prompt changes
               $telnet->set_prompt("pix# ");
               $telnet->wait_prompt();
               $telnet->write("shun " . $shun_address);
               $telnet->wait_prompt();
               $telnet->write("clear xlate");
               $telnet->wait_prompt();
               $telnet->write("write mem");
               $telnet->wait_prompt();
               $telnet->write("exit");
               $telnet->disconnect();

----------------------------------------------------------

In that same manual page, there is lots of other information and
suggestions on making telnet connections.

Note that cURL will also allow telnet.

Geoff.

On 23 Jan 2006 at 9:56, HoWang Wang wrote:

> Hi all,
>
> Recently I got a job to write a PHP webpage to display some infomation
> which have to obtain from telnet. Telnet is the only way to query the
> software. I have made a quick search on php.net but I can't found amy
> extension support telnet. Is there any way to do so? Or it is impossible
> with PHP but can be done with external binaries?
> Please help, thanks.
>
> HoWang Wong
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> !DSPAM:43d445e0116957800291649!
>

attached mail follows:


Hi,
It's me again. I have take a look on
http://www.geckotribe.com/php-telnet/ , but I think the codes are not
friendly to me. So I create my own telnet class for my program. I'm
going to post it here for reference. But it is made just for my program
so you may have difficulty when you try to use it on a normal telnet
connection.

<?php

class telnet
{
        // Host
        var $host = '127.0.0.1';
        // Port
        var $port = 23;
        // Use usleep?
        var $usleep = 1;

        // --- End of config ---
        
        // File Pointer
        var $fp;
        // This is the Telnet headers
        var $header1;
        var $header2;
        
        function telnet($host,$port)
        {
                if (!empty($host)) $this->host = $host;
                if (!empty($port)) $this->port = $port;
         
$this->header1=chr(0xFF).chr(0xFB).chr(0x1F).chr(0xFF).chr(0xFB).chr(0x20).chr(0xFF).chr(0xFB).
                 
chr(0x18).chr(0xFF).chr(0xFB).chr(0x27).chr(0xFF).chr(0xFD).chr(0x01).chr(0xFF).chr(0xFB).
                 
chr(0x03).chr(0xFF).chr(0xFD).chr(0x03).chr(0xFF).chr(0xFC).chr(0x23).chr(0xFF).chr(0xFC).
                 
chr(0x24).chr(0xFF).chr(0xFA).chr(0x1F).chr(0x00).chr(0x50).chr(0x00).chr(0x18).chr(0xFF).
                 
chr(0xF0).chr(0xFF).chr(0xFA).chr(0x20).chr(0x00).chr(0x33).chr(0x38).chr(0x34).chr(0x30).
                 
chr(0x30).chr(0x2C).chr(0x33).chr(0x38).chr(0x34).chr(0x30).chr(0x30).chr(0xFF).chr(0xF0).
                 
chr(0xFF).chr(0xFA).chr(0x27).chr(0x00).chr(0xFF).chr(0xF0).chr(0xFF).chr(0xFA).chr(0x18).
                 
chr(0x00).chr(0x58).chr(0x54).chr(0x45).chr(0x52).chr(0x4D).chr(0xFF).chr(0xF0);

         
$this->header2=chr(0xFF).chr(0xFC).chr(0x01).chr(0xFF).chr(0xFC).chr(0x22).chr(0xFF).chr(0xFE).
                     chr(0x05).chr(0xFF).chr(0xFC).chr(0x21);
                $this->connect();
        }
        
        function sleep()
        {
                if ($this->usleep)
                {
                        usleep(125000);
                }
                else
                {
                        sleep(1);
                }
        }
        
        function connect()
        {
                $this->fp = fsockopen($this->host,$this->port);
                fputs($this->fp,$this->header1);
                $this->sleep();
                fputs($this->fp,$this->header2);
                $this->sleep();
        }
        
        function docmd($cmd)
        {
                fputs($this->fp,$cmd . "\r");
                $this->sleep();
        }
        
        function readresp()
        {
                do
                {
                        // read line by line, or at least small chunks
                        $output.=fread($fp, 80);
                        $stat=socket_get_status($fp);
                }
                while($stat["unread_bytes"]);
                $output = str_replace("\n", "<br>", $output);
                echo $output;
        }
        
        function disconnect()
        {
                fclose($this->fp);
        }
}
?>

Thanks to all the repliers.

HoWang Wang wrote:
> Hi all,
>
> Recently I got a job to write a PHP webpage to display some infomation
> which have to obtain from telnet. Telnet is the only way to query the
> software. I have made a quick search on php.net but I can't found amy
> extension support telnet. Is there any way to do so? Or it is impossible
> with PHP but can be done with external binaries?
> Please help, thanks.
>
> HoWang Wong

attached mail follows:


Hi everybody,
 Can any one tell me, what is the use of ampersand '&' in php? Is it
a pointer operator like 'C' language? Kindly note the example....

<?php
$a=1;
$b=& $a;
$c=$a;
echo $b,$c;
?>

 After running this example I got result 1 for both variable $b and
$c. Why so?

--Nirmalya

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

attached mail follows:


On Jan 22, 2006, at 7:04 PM, Nirmalya Lahiri wrote:
> Can any one tell me, what is the use of ampersand '&' in php?

This might help:

http://us2.php.net/manual/en/language.references.php

attached mail follows:


Adam Hubscher wrote:
> tedd wrote:
>
>>> I've been having a tough time with parsing XML files and special
>>> characters.
>>>
>>> -snip-
>>>
>>> Any suggestions as to how I could get around this seemingly
>>> impossible road block thats been placed by what seems to be the xml
>>> engines :O..
>>
>>
>>
>> Adam:
>>
>> I believe that these "special" character will be with us for a long
>> while. I suggest that you review the Unicode database for these
>> characters and my suggestion is to use the code-points (HEX
>> equivalences) for these characters. For example, 0061 is a small "a",
>> 2022 is a "bullet", 2713 is a "check-mark" and so on. Most language
>> glyphs of the world are represented in the Unicode database.
>>
>> HTH's
>>
>> tedd
>>
> Oh, I understand that they'll be here for a while.
>
> The problem is the XML file is not my own, rather, its generated by
> another service that I am creating a stemmed service for. I feel I have
> asked much of the owner of that service in creating a properly formed
> XML file (he was simply using pseudo xml that was, although nice and
> organized, unable to be parsed.. period, and took forever with pregs, at
> least now running through an XML generator the script itself takes less
> time on his part too, and hes thankful for that.)
>
> There are usernames listed in the file that use these special characters.
>
> Rather than have him have to well, go through and edit the 30000 some
> odd users that are indexed... unless there is a way for the xml writer
> to do hex codes instead of unicode codes automatically... (and in that
> partake, is there any way to read them automatically with a parser?),
> then the idea is feasible.
>
> Other than that, I'm trying to find a solution to parse the existing
> file with the unicode data that causes a fatal error in the parser.
ee dee da da da? &sect;&eth; <-- those that look like html entities are
the represented characters. I was mistaken, they are html entities,
which is even odder to me.

I apologize for earlier referring to utf8, they do not decode with utf8,
they decode with html entities. however, i continue to try methods to
get it to read... still it does not read properly.

attached mail follows:


Hi,

I'm sending the February meeting details to this mailing list in hopes of
getting through to some Houston-based PHP developer that is not aware of
our local Users Group.

The group started out in Meetup.com, but recently we built our own website
(http://houstonphp.org) to increase the interactivity level between our
members and with that improve the participation in our monthly meetings.

We meet at the University of Houston on the first Thursday of every month.
We usually have members that do a few presentations each month, on a topic
related to PHP and Web Development in general.

If you are interested in joining us and do some networking with other
professionals in the Houston area, please visit our website at:

   http://houstonphp.org

Or our Meetup group page at:

   http://php.meetup.com/121/events/4827290/

Next month's details (Thursday, February 2nd, 7:00pm) are the following:

Marc Mojica will give a presentation about quickly creating PHP-based web
applications with Macromedia Dreamweaver. This presentation should be
highly interesting to new PHP developers that want to get started quickly,
and also to experienced developers that want to easen up the design/layout
development of a web application.

Joao Prado Maia will present about development with CVS, a revision
control system used by most of today.s open source projects. I.ll go over
the details of creating a CVS repository, importing modules and start
tracking changes to your files. If you are interested, feel free to start
reading "Open Source Development with CVS", a free book available online.

We will also have our usual Tips & Tricks session at the end of the
meeting, with good tips about interesting PHP components, MySQL tools,
Firefox extensions, AJAX/JavaScript libraries and other web development
related topics.

The meeting location and driving directions (with a easy to
follow map) are available at the following URL:

   http://houstonphp.org/?page_id=4

Hope to see you all in there!

Joao Prado Maia
Organizer

attached mail follows:


hello all,
this is in regard to PECL ssh2 ( http://pecl.php.net/package/ssh2 ) : how to
i print the output of the command executed using ssh2_exec?
thanks,
vedanta

attached mail follows:


On 1/23/06, Vedanta Barooah <vedanta.barooahgmail.com> wrote:
>
> hello all,
> this is in regard to PECL ssh2 ( http://pecl.php.net/package/ssh2 ) : how
> to i print the output of the command executed using ssh2_exec?
> thanks,
> vedanta
>

--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah
YM! - vedanta2006
Skype - vedanta2006

attached mail follows:


Vedanta,

I recommend contacting the author of the package, or posting to pecl-dev.

David

Vedanta Barooah wrote:
> On 1/23/06, Vedanta Barooah <vedanta.barooahgmail.com> wrote:
>> hello all,
>> this is in regard to PECL ssh2 ( http://pecl.php.net/package/ssh2 ) : how
>> to i print the output of the command executed using ssh2_exec?
>> thanks,
>> vedanta
>>
>
>
>
> --
> *~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
> Vedanta Barooah
> YM! - vedanta2006
> Skype - vedanta2006
>

--
David Grant
http://www.grant.org.uk/

attached mail follows:


whoops, that should be "phpclasses.org" (no hyphen)

Geoff.

------- Forwarded message follows -------
From: Geoff <php-general2yd.com>
To: Jon Grimes <jon.grimesgmail.com>
Subject: Re: [PHP] Question about Thumbnailing, Watermarking, and Modifying images/video/flash dynamicly
Date sent: Mon, 23 Jan 2006 08:31:09 +0200

I've seen a PHP class that purports to do this, (or something very
similar - don't recall exactly), but suggest you search for
'thumbnail' on php-classes.org.

Geoff.

On 22 Jan 2006 at 15:59, Jon Grimes wrote:

> I'm currently working on a media based site that serves up user submitted
> videos/images/flash games/etc. The owner wants an easy way to generate
> thumbnails for the content so that we don't have to depend on the user to
> submit one. We would also like to attach a small intro clip to the video
> content and possibly watermark it. I would like to automate all this and
> make it part of the content submission process.
>
> So what I'm looking for is:
>
> A way to generate a thumbnail for a video/image/flash movie
>
> A way to attach an intro clip to a video file.
>
> A way to Watermark a video or image file.
>
>
> I'm an experienced Linux user/admin/developer so i am interested in all
> possible options, be it a php/c library, a prebuilt php solution, or some
> command line tools which i can just control with php/cron jobs.
>
> Ive been looking for info on this subject for some time, i know other sites
> use it and that its possible, but most information I've found has been less
> than helpful.
>
> Thanks in advance.
>
>
> !DSPAM:43d401d814761588548228!
>

------- End of forwarded message -------

attached mail follows:


Chuck
I tred what you suggested - but it did not help
Btw I am using IIS on Windows
 
"Sounds similar to something I had going on. In Control Panel -
Administrative Tools - Services (I don't know of a shorter way to get
there), I had to right-click on the Apache service and under Log On -
check Allow service to interact with desktop.
 
I run run Php as an Apache module, but you may want to give that a try."
 
 

attached mail follows:


Hi David,

Thanks for the reply.

I am aware of this 'browser' issue but it seems that it's not the case.
I'll look again but since I do not use tables only divs/css I am running out
of option on the html site.

On 1/22/06, David Tulloh <davidtulloh.id.au> wrote:
>
> The browsers use a whole bunch of different ways to figure out how it
> should render the page and if it should do it on the fly or wait until
> the page is fully downloaded.
>
> Assuming the content you are testing is the same for the static and
> dynamic pages you should probably start looking for little things that
> may be different. From what I've read, adding extra column information
> to the table tag and making sure the doctype is correct so you don't end
> up in quirks mode are both large factors.
>
> Using 'wget ---save-headers' and 'diff' will help you find any small
> difference between the pages.
>
>
> David
>
> robert mena wrote:
> > Hi,
> >
> > I am facing a strange problem. My site, even tough designed to appear
> > quickly at user's browser, appears at "once". If I test the static HTML
> > version it starts to appear as downloaded If I test the php generated
> > version the page seems render as a whole.
> >
> > I am using smarty as a template and it seems to be related to a buffer
> > somewhere: php/smarty or apache.
> >
> > I've used microtime and from the begin of the php script until after the
> > smarty->display it takes from 0.05s (min) to 0.32s (max)
> >
> > Any tips of how can I figure out what is "slowing" down my site?
> >
> > tks
> >
>
>

attached mail follows:


robert mena wrote:

>Hi,
>
>I am facing a strange problem. My site, even tough designed to appear
>quickly at user's browser, appears at "once". If I test the static HTML
>version it starts to appear as downloaded If I test the php generated
>version the page seems render as a whole.
>
>I am using smarty as a template and it seems to be related to a buffer
>somewhere: php/smarty or apache.
>
>I've used microtime and from the begin of the php script until after the
>smarty->display it takes from 0.05s (min) to 0.32s (max)
>
>Any tips of how can I figure out what is "slowing" down my site?
>
>tks
>
>
>
yes..use cache and use gzip compress... check http://pear.php.net

if u use cache, that page is generated once and the next time is
download from the table. php script does take time....hence cache always
helps.

attached mail follows:


Hi,

OK. I have many answers about managing sessions and I thank everyone.
The best solution seems to be the inclusion of a file...
But, I have just another question about all the options I have to put in
this file... Is it necessary to do all of this (sorry for my
commentaries which are in French) :
// On demande à PHP d'utiliser des cookies pour gérer les sessions.
ini_set("session.use_cookies","1");
// D'autre part, on précise que cette gestion des sessions sera faite
uniquement via les cookies.
ini_set("session.use_only_cookies","1");
// On désactive l'utilisation transparente du SID.
ini_set("session.use_trans_sid","0");
// On précise le nombre de secondes après lesquelles le cookie de
session sera détruit (si on met '0',
// il sera effacé lors de la fermeture du navigateur).
ini_set("cookie_lifetime","0");
// On précise la durée des pages liées à la session dans le cache (par
défaut, 180 minutes).
ini_set("session.cache_expire","24"); // ici, 24 minutes
// On précise le nombre de secondes après lesquelles les fichiers de
sessions gérés sur le serveur seront
// considérés comme obsolètes et pourront donc être détruits
automatiquement (voire ci-dessous).
ini_set("session.gc_maxlifetime","1440"); // ici, 24 minutes
// On précise la probabilité selon laquelle le nettoyage des fichiers
obsolètes (voire ci-dessus)
// s'effectue lors d'une sollicitation du serveur. Dans notre cas, 5 %
(gc_probability/gc_divisor)
// des requêtes seront accompagnées d'une suppression des fichiers
obsolètes (garbage collector).
// Toutefois, sous Debian, à cause de permissions strictes
sur /var/lib/php5, ceci est désactivé !
// ini_set("session.gc_probability","5"); [à titre d'information]
ini_set("session.gc_divisor","100");
// On précise le nom de notre session (pour permettre à des
sous-applications d'utiliser
// des sessions distinctes en gardant en tête la session de base).
ini_set("session.name","SID_SDSED");
// On active la remontée de toutes les erreurs (en production, il faudra
faire l'inverse !).
ini_set("error_reporting",E_ALL | E_STRICT);
// On affiche les éventuelles erreurs à l'écran (idem en production que
ci-dessus).
ini_set("display_errors","1");
// On lance la session
session_start();

Thank you very much.

David.

attached mail follows:


Henrik Gemal wrote:
> I have an object that looks like this:
>
> Test Object

the class Test must implement 'Iterator'

e.g.

class Test implements Iterator
{

     /*
      * Iterator methods
      */
     public function rewind(){}
     public function current(){}
     public function valid(){}
     public function next(){}
     public function key(){}
     public function count(){}
}

you'll have to fill in the body of those methods
yourself!

once you have done that yuou will be able to do something like:

$t = new Test();
foreach($t as $key => $value) {
        echo $key,' - ',$value,"\n";
}

> (
> [config] => TestConfig Object
> (
> [file:protected] => test.conf
> [kill:protected] => 1
> )
>
> [location:private] => "test"
> }
>
>
> I'm trying to write an PHP5 iterator that can iterate over an object but
> I'm not sure how. The manual for PHP5 iterators seems to only work with
> arrays. How do I iterate over an object and only get the name of the
> attribute ("config") and not the entire name ("Test::config")

I'd question what you are trying to do; it sounds liek an Iterator is
not the right tool for the job.

>

attached mail follows:


Hello together,

how can i activate php with mysql.

At the moment my php info told me, without mysql.

I have installed it with apt-get install php4 php4-mysql

I have also debian sarge version.

Can somebody help me?

Thanks
marcus

_________________________________________________________________
Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via
http://www.msn-superquiz.de Jetzt mitmachen und gewinnen!

attached mail follows:


Markus,

Markus Braun wrote:
> I have installed it with apt-get install php4 php4-mysql

I think you'll need libapache-mod-php4 too (p.d.o is down at the moment,
so can't be sure), as well as the mysql-server and mysql-client packages.

David
--
David Grant
http://www.grant.org.uk/

http://pear.php.net/package/File_Ogg 0.2.1
http://pear.php.net/package/File_XSPF 0.1.0

attached mail follows:


>I think you'll need libapache-mod-php4 too (p.d.o is down at the moment,
>so can't be sure), as well as the mysql-server and mysql-client packages.

The output of libapache2-mod-php4 is:

Reading Package Lists...
Building Dependency Tree...
libapache2-mod-php4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I have apache2 :-)

Also :

Reading Package Lists...
Building Dependency Tree...
mysql-server is already the newest version.
mysql-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

:-(

_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
http://desktop.msn.de/ Jetzt gratis downloaden!

attached mail follows:


Markus,

Markus Braun wrote:
> libapache2-mod-php4 is already the newest version.
> mysql-server is already the newest version.
> mysql-client is already the newest version.

That should be all you need then. Have you restarted apache yet?

David
--
David Grant
http://www.grant.org.uk/

http://pear.php.net/package/File_Ogg 0.2.1
http://pear.php.net/package/File_XSPF 0.1.0

attached mail follows:


>That should be all you need then. Have you restarted apache yet?

yes with the command:

/etc/init.d/apache2 restart

Must i compile php new? or reconfigure it?

I try to install the script gallery. Do you know this?

In this script i get the error that i must install the php mysql modul.

MYSQL and PHPMYADMIN is also running.

Here i attached my phpinfo.

I hope this helps more.

marcus

_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/
Jetzt gratis downloaden!

attached mail follows:


I want to setup a search box that will search all the filenames in a
given directory for the keyword provided by the user and display all the
files that have that keyword? how would I do this? at least the
searching part?

~Nick Couloute
co-owner/Web Designer
Sidekick2Music.Com

attached mail follows:


Nicholas Couloute wrote:
> I want to setup a search box that will search all the filenames in a
> given directory for the keyword provided by the user and display all the
> files that have that keyword? how would I do this? at least the
> searching part?
>
>
> ~Nick Couloute
> co-owner/Web Designer
> Sidekick2Music.Com

http://de3.php.net/opendir

RTFM

Barry

attached mail follows:


Hi,

I have a very long timeout when i try to use the news.php.net server.
moreover, my posted messages are not displayed.

Could someone help me please ?

thanks a lot,
Alain

attached mail follows:


Hi
I would like to know how i would hide my index page so that it is not shown
at the end of the url like how gmail does it and many cms do it ..
And what is it called when one does this ..

Thank you

--
Gregory Machin
greglinuxpro.co.za
gregory.machingmail.com
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096

attached mail follows:


Gregory Machin wrote:
> Hi
> I would like to know how i would hide my index page so that it is not shown
> at the end of the url like how gmail does it and many cms do it ..
> And what is it called when one does this ..
>
> Thank you
>
> --
> Gregory Machin
> greglinuxpro.co.za
> gregory.machingmail.com
> www.linuxpro.co.za
> www.exponent.co.za
> Web Hosting Solutions
> Scalable Linux Solutions
> www.iberry.info (support and admin)
>
> +27 72 524 8096

Define the Default shown page by your webserver config so that index.php
is automatically shown when opening a folder ie www.somewebsite.com/folder/

The default config is mostly default.htm default.html index.htm index.html

This might help you finding it

Greets
        Barry

attached mail follows:


Barry wrote:
> Gregory Machin wrote:
>
>> Hi
>> I would like to know how i would hide my index page so that it is not
>> shown
>> at the end of the url like how gmail does it and many cms do it ..
>> And what is it called when one does this ..
>>
>> Thank you
>>
>> --

not sure...but u can use frames. the main page being within the frame.
and the visitor can then browser within the main frame. the top url will
remain the same.

--
Sumeet Shroff
http://www.prateeksha.com
Web Design and Ecommerce Development, Mumbai India

attached mail follows:


Barry wrote:
> Gregory Machin wrote:
>> Hi
>> I would like to know how i would hide my index page so that it is not
>> shown
>> at the end of the url like how gmail does it and many cms do it ..
>> And what is it called when one does this ..
>>
>> Thank you
>>

If you use Apache, what you are looking for is probably the
'DirectoryIndex' directive:
http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex

But it could also be that you mean something that needs 'mod_rewrite',
in this case I guess it's better if you search the archives:
http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=mod_rewrite&q=b

HTH!
Ciao, Silvio

--
tradeOver | http://www.tradeover.net
...ready to become the King of the World?

attached mail follows:


Hi,

I would like to write a secured logon page but i do not have any idea where
to start...
i've alreay setup my Apache server for using SSL, but what about the PHP
code ? with or without cookie ? crypted or not ?

please, could you give me some good tutorial or web page where i can find
such information ?
or maybe you have such info ? ;-)

thanks a lot,

Alain

attached mail follows:


Alain Roger wrote:
> Hi,
>
> I would like to write a secured logon page but i do not have any idea where
> to start...
> i've alreay setup my Apache server for using SSL, but what about the PHP
> code ? with or without cookie ? crypted or not ?
>
> please, could you give me some good tutorial or web page where i can find
> such information ?
> or maybe you have such info ? ;-)
>
> thanks a lot,
>
> Alain
>

An SSL secured logon page?

Well open your website where you wanna login with https://blahblah.

Send the login to a PHP file (with POST) that verifies that login. done.

Easy, isnt it? >_>

Greets
        Barry

attached mail follows:


Hi,

I would like to write a secured logon page but i do not have any idea where
to start...
i've alreay setup my Apache server for using SSL, but what about the PHP
code ? with or without cookie ? crypted or not ?

please, could you give me some good tutorial or web page where i can find
such information ?
or maybe you have such info ? ;-)

thanks a lot,

Alain

attached mail follows:


Hello,

When importing data from file with phpmyadmin the file max size is 2 048kb.
Can this be changed to accept larger files?

It would be more convenient to import data to my test DB if this could be
done via single file export/import.

Thanks
-Will