PHP5 Objects, Patterns and Practice
1590593804 - Matt Zandstra - Apress
This is a good way to get a good grasp of object-oriented programming
covers the basics of uml as well as using decent examples to explain
the use of objective programming (unlike all the web sites out there
that i tried to
your php.ini
file on the dev server.
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: "Mignon Hunter" <[EMAIL PROTECTED]>
> Date: Wed, 23 Mar 2005 11:20:24 -0600
> To:
&g
I had my script working beautifully on my box but when transferring to dev
server no such luck
Because we have an older version of php on the webservers, I had to get my
admin to change the php.ini on the
session.use_trans_id = 1
so that the SID wouldnt show in the URL. But I'm not sure if that
I had my admin change the
session.use_trans_sid = 1
to =0
no more sess ID in the URL - woo hoo
I guess this has to be 0 or in later versions 4.3.0
session.use_only_cookies = 1
*
Hello
I have tested this app on my machine but it doesnt do this - but
Ok I got this to work but I'm not sure how -- and am having trouble
re-producing the data:
My script I have so far is:
$lines = file('test2.csv');
foreach ($lines as $line) {
$line_split = explode(",", $line);
if(!(empty($line_split[0]) ) ){
//echo "I'm not empty"
Got it - never mind
instead of
$new_array = array($line_split[0] => $line_split[1] );
it's
$new_array = array($line_split[0] , $line_split[1] );
But I'm still not sure how it works so well...
Ok I got this to work but I'm not sure how -- and am having trouble
re-p
Hello
I'm trying to manipulate a text(.csv) file using php. I've read the file and
can print each line,
but I need to write where column A is missing
ColumnAColumnB
RABC company
ABC company
ABC company
ABC company
O
Hello
I'm trying to manipulate a text(.csv) file using php. I've read the file and
can print each line,
but I need to write where column A is missing
ColumnAColumnB
RABC company
ABC company
ABC company
ABC company
O
Hello
I'm trying to manipulate a text(.csv) file using php. I've read the file and
can print each line,
but I need to write where column A is missing
ColumnAColumnB
RABC company
ABC company
ABC company
ABC company
O
On Mon, 2004-07-12 at 12:39, Dan Joseph wrote:
> I was wondering, is anyone running Eclipse 3.0 w/PHPEclipse 1.1.0?
> I'm having trouble getting it working. I downloaded the July .ZIP file and
> unzipped it into the plugins directory. Its not recognizing it. Anyone
> have this working?
I
On Wed, 2004-06-30 at 14:36, Pierre wrote:
> Ok so I must recompile php with this option but I can't is there any php
> class easy to use that can do this ?
If you are on a linux box and have php installed via rpm you might be
able to get a php-xslt rpm that you can use. If on windows you can
down
On Wed, 2004-06-30 at 14:30, Pierre wrote:
> Hi all
> Please when i'm trying to use the xslt_create() function php says indefined
> function but this is in my phpinfo()
> XML Support active
> XML Namespace Support active
> EXPAT Version 1.95.6
> Any idea please ?
You need xslt support en
On Tue, 2004-05-25 at 09:17, Stephen Allen wrote:
> On Tue, May 25, 2004 at 10:47:01AM -0400 or thereabouts, Neal wrote:
> > Hi,
> >
> > I've looked at the php.net tutorial, and though I'm learning some things
> > from it, it's still a bit over my head. It seems to presuppose a comfort
> > level
On Tue, 2004-05-25 at 05:03, Ago wrote:
> I have a PHP script who reads data from a XML file uploaded via http form.
> This file is about 15 MB. The script builds a query of thousands inserts as
> many as the products the XML file contains (more or less 4 inserts).
> After 4 minutes the httpd p
On Mon, 2004-05-24 at 17:14, Robert Fitzpatrick wrote:
> I am getting the following problem with trying to install from source
> PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2
> recently upgraded from 7.3.x and it is up and running fine. I also have
> Heimdal 0.6 installed and
On Mon, 2004-05-24 at 10:53, juan vazquez wrote:
> Hi,
> I am trying to transform a xsl:fo file to pdf.
> I generate xml files from mysql and I can convert them to xsl:fo using xslt
> but I can't find information for the last step (XSL:FO to PDF)
> I just know that a formatter is needed but all wha
On Sat, 2004-05-15 at 02:53, Ronald "The Newbie" Allen wrote:
> How would I carry a variable from one page to another
>
> Here is what I mean
>
> I have a send.php page and this is sent to
> insert_into_database.php where the values of the previous page are inserted
> into the database.
> I then
On Sat, 2004-05-15 at 10:20, eoghan wrote:
> hi,
> im using the xslt_process() function, but want to use a php file with
> generated xml content as the xml file i feed the
> function but it seems to complain that its a php file
> *Warning*: Sablotron error on line 22: XML parser error 4: not
On Thu, 2004-05-13 at 08:36, Kuldeep Singh Tomar wrote:
> Finally I am able to authenticate my user to ADS using php. Thanks for
> your suggestions. My bind_dn was not correct. After that I have
> searched and found that using anonymous user we can not search in
> subtree of directory server. S
On Tue, 2004-05-11 at 10:14, Kuldeep Singh Tomar wrote:
> Hi Ray,
>
> Thanks for your response. I was trying this script also but no success.
>
> I was using following values:
>
> $ldap[ʽuserʼ] = ʽtomarʼ;
> $ldap[ʽpassʼ] = ʽpasswdʼ;
> $ldap[ʽhostʼ] = ʽdc02-del3.vc-del.vcustomer.comʼ;
> $ldap[ʽpo
On Tue, 2004-05-11 at 09:16, Kuldeep Singh Tomar wrote:
> Hi,
>
> Sorry for it. Can I get some help on this?
Here is what i used to query Exchange...now i am no windowz guru, but
from what i understand about exchange and ads exchange will send user
information to ads to be authenticated. So my wo
On Sat, 2004-05-08 at 10:46, Phpu wrote:
> Where can i get the gd library for windows. I've googled but i can't find it.
It should be bundled with the zip file version of windows php. You will
probably have to download the zip file from php.net and then get the dll
for gd out of the zip file and p
On Tue, 2004-05-04 at 19:18, msa wrote:
> $query_rsENews = 'SELECT * FROM NewsArchive WHERE YEAR(datePublished) = ' .
> YEAR('NOW'()) . ' AND MONTH(datePublished) = ' . MONTH('NOW'()) . ' ORDER BY
> sortBy DESC';
>
>
> this is supposed to return only the records that have the current month and
>
> Is there a version of Apache 2+ that now works with PHP? Last I checked,
> the were incompatible, but recently someone I ran into claimed that the bugs
> have been for such a setup.
There is the warning not to use apache 2.0 and php in production. I am
sure that there are many that are using i
On Wed, 2004-04-21 at 14:50, Nikola Novakovic wrote:
> Hi everybody,
>
> I run Appache/PHP (latest or near the latest versions) on Windows 2000.
>
> This was installed by pre-configured package WAMP5 (I'm the beginner), and it works
> fine, except I don't know how to obtain support for T1LIB li
On Fri, 2004-04-02 at 06:57, Juan Torres wrote:
> can PHP parser a XML file with a XSL-FO file to generate a PDF file?
sure if you set it up properly!
/ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2004-04-02 at 01:46, Brent Clark wrote:
> I was browsing the list of functions for PHP and I saw a whole range of
> ncurses functions.
> I was wondering if anyone knows of a site that has any demos or examples and or
> where it can be used
Used on *nix flavors and you need to compile ncu
On Tue, 2004-03-30 at 13:17, Victor wrote:
> $a = snmpwalk("216.18.74.170", "public", "");
>
>
> for($i=0; $i<551; $i++)
> {
>print $a[$i];
>print "";
> }
> ?> This is my code and i recieve a huge list. Some of it i understand but
> i can't understand the OID part and all the ip
On Thu, 2004-03-18 at 04:51, Luiz Gustavo Sarubi Macchi wrote:
> Please
>
> I´m using Mandrake 9.1 and I need to use PHP with interbase !
>
> So, I've been instaled the php430-devel and i built the extension of
> interbase like this:
> phpize
> after that ./configure --with-interbase=/opt/interb
On Thu, 2004-03-18 at 03:24, Merlin wrote:
> I am trying to install php with XSLT support. Somehow it does not work
> out. I installed all packages which are explained on the install page of
> XSLT. But there seems to be a backend thing missing:
>
> This is from the ./configure command:
>
> che
On Sun, 2004-03-14 at 13:17, Jabro wrote:
> Hi List,
> hope somebody here can help me out here. For a new page I'm designing I see
> one problem coming up.
> As I need to generate varius outputs such as HTML or PDF I think going over
> XML isn't a bad idea.
> I create one XSL for my output and chan
On Wed, 2004-03-03 at 12:21, DAvid Jackson wrote:
> How can I test to see if and what portions of Pear are installed on a
> vhosted website?
If you have access to the command line pear you can also check with a
simple command:
$ pear list
--
PHP General Mailing List (http://www.php.net/)
To un
On Fri, 2004-02-06 at 06:47, David T-G wrote:
> Very, very simple stuff. The list of directories and files is held in an
> array (a separate process uses File_Find->maptree() to make it after any
> updates and writes the serialized array to a cache file, and then I read
> it in) and I just want to
On Thu, 2004-02-05 at 21:26, [EMAIL PROTECTED] wrote:
> > On Thu, 2004-02-05 at 21:09, [EMAIL PROTECTED] wrote:
> >> >
> >> > I have used lucene (Jakarta-Apache) for doing searchs that is
> >> > outstanding.
> >> >
> >> What does it use ?
> >
> >
> > Lucene is actually a Jakarta-Apache (java) proje
On Thu, 2004-02-05 at 21:09, [EMAIL PROTECTED] wrote:
> >
> > I have used lucene (Jakarta-Apache) for doing searchs that is
> > outstanding.
> >
> What does it use ?
Lucene is actually a Jakarta-Apache (java) project. I have used it to
implement site searches, search keyword highlighting for var
On Wed, 2004-02-04 at 22:36, Binay wrote:
> is there function which scans a particual directory recurisly and stores the content
> in array or other way? Listing of files should be in alphabetical way and
> directories should come on top.
>
Currently there is not a function that will go down re
On Thu, 2004-02-05 at 19:39, KidLat Ngayon wrote:
> my problem is the language from my database, they
> inputted some english and japanese language
>
> whenever i've open the file in staroffice, it can read
> the nihongo, however when i open it in microsoft
> office, it turns out that the niho
On Thu, 2004-02-05 at 20:46, David T-G wrote:
> Hi, all --
>
> I'm implementing a search and would like to move beyond accepting
>
> this that other
>
> for simple any-word searching to a real boolean search. Has anyone seen
> any good classes or even functions for such? [No, the source cont
On Thu, 2004-02-05 at 20:42, [EMAIL PROTECTED] wrote:
> >
> > Not sure about that, i have only got the windows to login by using php
> > ldap functions and active directory.
>
> Yeh thats what i meant how is this possible ?
http://builder.com.com/5100-6387-5032010.html?tag=search
That should get
On Thu, 2004-02-05 at 20:25, [EMAIL PROTECTED] wrote:
> >
> > This is a project that allows for PHP integration on Novell NetWare
> > systems.
>
> I dont particularly know what exact netware systems we have but would this
> mean i could create sessions in my projects that will sync up the windows
On Thu, 2004-02-05 at 20:09, [EMAIL PROTECTED] wrote:
> Can someone explain what this all means then
>
> http://forge.novell.com/modules/xfmod/project/?php
>
> Are they supporting php or are they planning to take over something that is
> impossible ?
>
> We have novell systems at work, if this m
On Thu, 2004-02-05 at 18:21, [EMAIL PROTECTED] wrote:
> Hi there, i have been asked to build a system for a project file space,
> where a list of users of different groups can start new projects for their
> group, add files for that project of the group and/or revise current files
> with different
On Tue, 2004-02-03 at 13:50, Russell Seymour wrote:
> In the beginning only one output format was required, HTML and then PDF was
> a requirement. More and more formats are now required by my users and
> rather than create a new output script for each different format I am
> thinking about outputt
You can use shared memory too...only on *nix flavors though.
--
Ray
On Fri, 2004-01-23 at 12:42, PHP general wrote:
> There's 1 really important thing missing in PHP as I see it, and it's the
> ability to keep variables in memory for as long as
> the programmer choose. If this was possible there
On Thu, 2004-01-22 at 14:31, Thomas Svenson wrote:
> Got the book Core PHP Programming 3rd Edition, which covers PHP5.
>
> One thing that it talks about is that with, specially, the new oop model it
> will now be much easier to develop in PHP using Design Patterns (DP).
check out http://www.phppa
on the commandline you need to have the php executable on your
path...then run
php -f [filename]
so
php -f index.php
that will do it for you.
--
Ray
On Sat, 2004-01-17 at 05:44, Paul William wrote:
> Hi,
>
> I want to run the output of all the php scripts running on my apache
> server thro
On Fri, 2004-01-09 at 11:07, Matt Grimm wrote:
> Is there a distinct advantage to doing form validation / error checking on
> the server side using PHP? That's how I've always done it because I know
> PHP better than JavaScript, but wouldn't it make sense to validate as much
> of your form as poss
On Fri, 2004-01-09 at 08:44, Vincent Jansen wrote:
> I see this using MSIE 6
> But in Mozilla 1.5 I get ë for ë
>
> I'm hoping this is fixable without changing browser settings
Do you have this page accessible via the web that i can take a look at
it.
--
Ray
--
PHP General Mailing List (http:
On Fri, 2004-01-09 at 08:23, Vincent Jansen wrote:
> I'm doing some XML processing with PHP5
> I'm using UTF-8 encoding
> When I look at my xml doc it looks something like
>
>
>
> dotted e (ë) works
>
>
> (I hope you see a dotted e)
> After xslt I end up with a
On Fri, 2004-01-09 at 08:22, Jake McHenry wrote:
> It's pretty much for data organization, right?
yes, it is a method for organizing data into a standard format that is
platform independent.
> I do a lot of importing and exporting to/from excel. I belive it could
> help me out here.
Perhaps.
>
crontab that
would copy the file and change the permissions for you.
That might be the easiest way to do it.
--
Ray
>
>
>
> -Original Message-
> From: Ray Hunter [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 8:46 AM
> To: [EMAIL PROTECTED]
> Subje
On Fri, 2004-01-09 at 00:30, Jake McHenry wrote:
> Can someone point me in the right direction towards creating and
> implementing XML with php? I've heard it can make things much easier
> on me, and would like more info on it. Also, if anyone has any storys
> from using it, might give me an idea o
On Fri, 2004-01-09 at 07:28, Carlton L. Whitmore wrote:
> I didn't make my last request very clear. I used lastlog as an example,
> but what I really want to do is open a syslog file (text file), that is
> coming in from a VPN box.
That is easy enough to do if you have access to the syslog file.
Well, with using the MyODBC drivers you could create and maintain a MySQL
database through MsAccess.
That way you could have the best of all worlds (please don't flame me for
saying that). Using MySQL as the database backend, PHP for a web front end
and MsAccess as an administrative GUI for your u
Make sure that in your php.ini file that you have uncommented that the
php_dom extensions and any other extensions that you want to use.
Also make sure that php and your web server have access to the
extensions.
I usually place my extensions in the system path where they can be
accessed.
Also, I
I have created a simple login/authentication script to help protect some of
my PHP pages. Here is where I am running into a little trouble in
understanding.
Let's Say I have the following pages protected
Page1.php
Page2.php
Page3.php
If the user is not logged in, the "inc." file will send them
On Fri, 2003-12-12 at 01:06, Pavel Jartsev wrote:
> Sheawh wrote:
> > Can i run PHP using Apache tomcat server??
>
> From Google:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg108708.html
One thing to point out here is that you can run php files from tomcat
itself as cgi...however, that wou
Check this out:
http://builder.com.com/5100-6374-5109834.html?tag=sc
--
Ray
On Thu, 2003-12-11 at 11:41, Rolf Brusletto wrote:
> Hey all -
>
> I'm looking for a class that returns a rss/rdf feed with each of the
> items as an array, or suggestions on how to items into an array...
>
> Tia,
>
> I just installed RedHat Linux 9.0 with Apache/Php/MySql for a project. I
> have Apache and PHP running. However, PHP does not have the Mysql module??
> installed and this is the key to our project. Could someone point me in the
> right direction to recompile PHP with proper MySql module inc
On Wed, 2003-11-26 at 20:17, Raditha Dissanayake wrote:
> >Right, I agree this is a very bassakwards way of going about it.. In this
> >instance, performance is not really an issue as much as politics.. but
> >this comment is useful as we may be able to persuade them into providing
> >information a
> Any ideas and recommendations are more than welcome.
Try going the other waytry utilizing PHP in your servlet or j2ee
server environment. I have had greater success with this then trying to
get java integrated into PHP.
HTH
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To un
> Well, Bas, the fopen and it's associated manual pages describe just how
> to do this. Basic example
>
> $theFile = fopen("myfile.foo", "r"); //open the file for reading
> while(!feof($theFile)){ // while the file is not at the end of the file
> $theLine = fgets($theFile, 1024); // get a li
Before you add a number to a string make sure that the number is not in
any of the other ones if they exist.
Use a do-while loop on it...
$one = rand( 1,20 );
do {
$two = rand( 1, 20 );
}while( $two == $one );
do {
$three = rand( 1, 20 );
}while( ($three == $one) && ($three == $two) );
echo
>
>
>
>
>
>
> There are two approaches I think. One is to use the XML DOM, the other is
> simply to join lots of strings together. What is the best approach?
What i have done in the past is use the dbx extension in php to do my
queries. Then i have iterated over the multi-dimens
if you want to use xml and php you can use soap and then you can
incorporate other languages as well...making soap the common protocol
via http.
most languages support soap implementations of one sort. should be
worth your time to look into soap.
--
Ray
On Sun, 2003-10-26 at 12:44, Dan McCull
P based. Do you know of any websites or tutorials I can
> go to to learn more about it? It sounds like a much better option.
>
> Thanks,
>
> Matt
>
>
> "Ray Hunter" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Also, I woul
Also, I would like to point out that you could possibly use php-gtk to
do some gui applications. Since it has a windows and *nix port you can
use that too. I have built a couple of apps with it that pull snmp data
from routers with it that worked great. I also used a java installer to
install the r
Sorry,
i forgot to mention the package that you might really want to review...
java.net is the java package that provides all these classes, like
URLConnection and Sockets as mentioned by another person.
--
Ray
On Fri, 2003-10-24 at 08:24, Ray Hunter wrote:
> You have various options and
You have various options and it depends on how you want to accomplish it
and what you are familiar with.
Java has many capabilities of doing network io (class HttpUrlConnect).
You can contact your php page on your server and pull down the
information (similar to what a browser does).
Another alt
I would probably make this a new thread since it is a new question.
Anyways, the answer to your question is no, unless you make that
happen. When you use the xml parser in php you are using a expat parser
(stream-oriented parser) that you set up (register) handlers for. So
when the parser encoun
You can always query the database and store the results as arrays in the
session and sort the arrays...this would limit how many times that you
are querying the database (if you are just sorting the results).
--
ray
On Wed, 2003-10-22 at 15:02, Ryan A wrote:
> Hi,
> I have a search form that quer
> I have a php script that I want to run from a command line:
>
> % /usr/local/bin/php script.php 47264
>
> 47264 is the argument, however, I can't figure out how to access it inside
> the script. I thought it was the $ARG array or $ARGV, but I am mistaken...
> can only refresh me? searching di
On Wed, 2003-10-22 at 11:07, John Nichel wrote:
> Hardik Doshi wrote:
> > I am using the HTML. Javascript is not standard of W3C
> > organization and that's why i don't want to use it.
> >
> > Is there any other solution for setting up the
> > tabindex on the Drop down menu?
> >
> > Thanks
> >
>
> just wanted a general idea on what kind of PHP framework everyone is using..
> i've heard of pear, and interjinn.. is there a preference or distinct
> advantage that a particular framework has in comparison to one another?
Check the archives...this has been touched on numerous times in the past
> > Or you could try this:
> >
> > $categories_array = array();
> >
> > for( $j = 0; $j < $categories_count; $j++ ) {
> > $tempval = "str_categories".$j;
> > $categories[$j] = $_REQUEST[$tempval];
> > }
>
> Or you could get really fancy and try this (my preferred method if not a
> little con
On Mon, 2003-10-20 at 15:35, Colin Kettenacker wrote:
> $categories_array = array();
> for($j=0; $j < $categories_count; $j++){
> $tempval="str_categories".$j;
> array_push($categories_array,$_REQUEST[$tempval]);
> }
Or you could try this:
$categories_array = array();
for( $j = 0; $j < $categor
> I have a problem of installation of php.
>
> I'm using Linux 7.3. I have installed
> openldap2.1.22 successfully.
>
> Now I'm compiling php with the following
> command:
>
> ./configure --with-apache2=/usr/local/apache2 \
> --with-mysql=/usr/local/mysql \
>
On Sun, 2003-10-19 at 18:01, rich wrote:
> OK,
>
> This is my latest idea to try and do this:
>
> $xh = xslt_create();
>
> parse_str($_SERVER['QUERY_STRING']);
> $params = array("keywords" => $keywords);
>
> $results = xslt_process($xh, 'library.xml', 'simple-search.xsl', NULL, NULL,
> -->$pa
> xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl',
> --> 'results.xml', NULL, $params);
> $data = xslt_process($xh, 'results.xml',
> --> 'simple-search-display-results.xsl', NULL, NULL, NULL);
What happens when you do the above...what is the var_dump of data?
--
BigDog
--
P
> Having read quite a bit on-line, I am interested in trying to "trap" URLs
> sent to my site so I can process the request and respond without
> neccessarily having a "real" page to serve. If this makes any sense, how do
> I do it? Because I expect that apache (in my case) would not like a URL tha
Heavens no...
--
Ray
On Thu, 2003-10-16 at 10:24, Joseph Bannon wrote:
> Does IE use mozilla? I'm writing a PHP script to keep track of user
> agents.
>
> J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So what is your questions concerning php?
---
BigDog
On Fri, 2003-10-10 at 23:28, [EMAIL PROTECTED] wrote:
>
> > Hello mailing list, I have a question about the use of XML / XLS
> > application, I am introducing myself in this technology, What is useful
> XML
> > / XLS for? , I need a basic exa
Can you send what lines you have before the make[1] there should be some
additional error information?
--
BigDog
On Thu, 2003-10-09 at 09:03, Jay Blanchard wrote:
> I am trying to enable FTP support on one of our test servers running PHP
> 4.2.2
>
> 1. rm config.cache
> 2. ./configure --enable-
Try running php is from a servlet environment. Basically in tomcat you
set up a servlet that handles your *.php files and calls the php
executable. This is like php cgi so it can be slow.
--
BigDog
On Fri, 2003-10-03 at 12:11, David Erickson wrote:
> Hi I am wondering if anybody has successful
> Does anyone know how to implement a treeview style display in PHP?
PEAR has a treeview that I have used in the past and it works fine.
http://pear.php.net/package/HTML_TreeMenu
--
BigDog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rename php.ini-recommended to php.ini and put it in C:\windows and you
can now use that file.
--
Ray
On Wed, 2003-10-01 at 10:52, Greg Watson wrote:
> Thank you for that answer! That worked perfectly!
>
> That leads me to another query, again, which I have searched for...
>
> I'd like to be abl
If you are using apache and php then when php runs the exec function
then it is running the the user/group of the apache process.
Here is what I might suggest doing. Have a registration form that
submits the user's information to another process that logs the
information (make sure to validate al
On linux do run the following commands:
$ man cron
$ man crontab
$ man 5 crontab
That should get you started with cron on linux...
HTH,
Ray
On Wed, 2003-10-01 at 08:53, Jan Hübbers wrote:
> Hi all,
> can someone point me to a quickstart to the
> following problem?
>
> I'd like t
You build apache with php statically linked instead of dynamically
linked.
Check the apache documentation on statically linking apache and php
(module).
I would venture to say that oracle libraries should not be shipped. They
are proprietary code and the user needs to install them. Your oracle
li
Try using any of the sort functions:
sort
asort
arsort
ksort
krsort
...
That should get you started.
--
Ray
On Wed, 2003-10-01 at 07:18, Greg Wiley wrote:
> Apologies if this has been asked before but I couldn't find
> anything on google or any of the PHP code sites that quite fits my
> requi
> I want to execute
> #useradd -d /home/all -g wahtever -s /bin/bash newuser
You have to be root to add a user to the system...and just a heads
up...you might want to rethink doing this from apache or php. The
security implications alone make me cringe.
--
Ray
--
PHP General Mailing List (http
What you would want to do is build apache + php together with all the
libraries built into it. Unless you want the user to install the
libraries seperate. I have done this in the past however, you file is
going to be HUGE.
Basically you have a file with everything that it needs in it and does
not
> I am putting together a web site with graphics from the artist and I need
> to learn how to change the image when I hover over it. Can you recommend
> a good javascript list or resource, particularly for someone who doesn't
> want to learn a lot of javascript?
I have not found a great website
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" );
Actually, I think that you can just run the command without the xvfb-run
command...
$test = exec("/usr/bin/njplot -psonly testfile" );
that should just create the testfile.ps file and not fire up a x-window.
The error with the
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile 2>&1");
> echo $test;
Try
$test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" );
--
BigDog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lol...if on linux...
On Fri, 2003-09-26 at 12:35, Ray Hunter wrote:
> Ive used curl to test stuff out with too...however, if on link i like to
> use wget to test it out. You might not have that option but I have seen
> others use fopen or file_get_contents.
>
> HTH,
>
> Big
Ive used curl to test stuff out with too...however, if on link i like to
use wget to test it out. You might not have that option but I have seen
others use fopen or file_get_contents.
HTH,
BigDog
On Fri, 2003-09-26 at 10:15, Doug Coning wrote:
> Greetings All,
>
> I am creating a 'links' page a
> > I use the TAR.php file for extract tar.gz file. The tar file extracted
> > fine, but the tar class raises the 'Invalid block size 351'. Why? And
> > how can I discard this error.
>
> Basically, tar writes in block sizes of 512 bytes so you are receiving
> an invalid block size smaller than 51
> I use the TAR.php file for extract tar.gz file. The tar file extracted
> fine, but the tar class raises the 'Invalid block size 351'. Why? And
> how can I discard this error.
Basically, tar writes in block sizes of 512 bytes so you are receiving
an invalid block size smaller than 512 which has
On Mon, 2003-09-22 at 19:50, uvm wrote:
> I'm beggining to develop the theory that things go awry when
> using exec from within a webserver-executed PHP script to call
> a shell script itself written in PHP.
>
Why are you trying to call a php script with exec...since it is php why
not just cal
1 - 100 of 374 matches
Mail list logo