[PHP] PHP not executing files in subdirectories

2003-01-10 Thread Jacob
Hey All. The subject line pretty much says it all. I have php-nuke installed in the / directory and it works fine. However, when I try to run the gallery or netjuke software (also php) They just return the source code of the file. (not exactly wha

Re: [PHP] Permission Denied

2003-01-11 Thread jacob
The user/group (commonly nobody.nogroup or nobody.nobody) that your web server runs under probably does not have the permissions necessary to chmod those directories (ie: they are owned by someone else). Quoting Stephen <[EMAIL PROTECTED]>: > Why do I get this error whenever I try to CHMOD some

Re: [PHP] Access to Pear

2003-01-27 Thread jacob
You could download the pear files from the pear CVS to somewhere within your programs path. If your web files are in (using a linux example) /home/foo/public_html then just change to that directory and checkout the files from CVS. This also gives you the luxury of keeping the pear files uptodat

Re: [PHP] Access to Pear

2003-01-27 Thread jacob
> Then the only thing you have to change from windows to linux is the > ROOT_PATH_DELIMITER (comment it out). I meant to say remove the value: define('ROOT_PATH_DELIMITER', ''); Quoting [EMAIL PROTECTED]: > You could download the pear files from the pear CVS to somewhere within your > > progr

[PHP] ini_set()

2002-08-13 Thread jacob
LEVEL); tug_ini_set('error_log', FILENAME_PHP_ERROR_LOG); tug_ini_set('log_errors', PHP_LOG_ERRORS); tug_ini_set('display_errors', PHP_DISPLAY_ERRORS); tug_ini_set('track_errors', PHP_TRACK_ERRORS); Please CC to my email address as I only receive this

[PHP] Session example at OSCON2002

2002-09-11 Thread jacob
A friend of mine took a tutorial at OSCON 2002 (he thinks it was "Intorduction to PHP") and said that Rasmus had provided a full working version of a class to handle sessions. While I was at the conference I did not go to that tutorial (or was it a session?) and so I did not see it. I am wonder

[PHP] 0 byte session files.

2002-09-23 Thread jacob
. Note: We have already investigated most ownership/file privilege possibilities. Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Searchengine

2002-09-26 Thread jacob
Try having a look at the SOUNDEX() function (not sure how well this works for proper names). Have you look into string comparison functions (http://www.mysql.com/doc/en/String_comparison_functions.html)? You also might have better luck asking the mysql mailing list. (if you are looking for a m

[PHP] XML-RPC

2002-10-12 Thread jacob
Has anyone on this list had any experience with XML-RPC and, more specifically, any experience using it with PHP? XML-RPC: http://xml-rpc.org w/ PHP: http://xmlrpc-c.sourceforge.net/xmlrpc-howto/xmlrpc-howto-php.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] imagerotate

2002-11-05 Thread jacob
Has anyone used imagerotate() function? I am curious as to how exactly it is being used. I currently use a rather large custom function to rotate my images... Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and UTF-8

2002-11-12 Thread jacob
I utf8_encode and utf8_decode all data that I put into XML files. The application is on a large site so it is thoroughly tested and has encoded and decoded data without problems. I have run the application on Linux Slackware and FreeBSD. Quoting Charles Wiltgen <[EMAIL PROTECTED]>: > Hello, >

Re: [PHP] Cleaning up MSWord HTML

2002-11-21 Thread jacob
Dreamweaver has a 'cleaning' utility for MSWord HTML. This is not a programming solutiona nd I am pretty sure this is not what you are looking for but thought I would mention it anyways. Quoting Chris Boget <[EMAIL PROTECTED]>: > I've done some searches on Google, PHPClasses.org, etc > for some

[PHP] Re: Overloading Constructors

2002-11-25 Thread Jacob Larsen
Yes. http://www.sharksforum.com "Dan Field" <[EMAIL PROTECTED]> skrev i en meddelelse 1038221845.1245.144.camel@dsspc">news:1038221845.1245.144.camel@dsspc... > is it doable? > > ie > > class myClass { > var $myInt; > > // default constructor > function myClass() { > } > > // overloaded construct

[PHP] enable-inline-optimization

2002-11-25 Thread Jacob Larsen
Is it still possible to use enable-inline-optimization? Is it adviceable? I am using RedHat Linux 7.3 with all RPM's updated (i.e. GCC and so on), Php 4.2.3 and Apache 1.3.27 Regards Jacob http://www.sharksforum.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] session.save_path = /dev/shm

2002-11-26 Thread Jacob Larsen
When I use session.save_handler = mm I can only make it work by setting session.save_path = /dev/shm Is that how it should be? Regards, Jacob www.sharksforum.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: session.save_path = /dev/shm

2002-11-26 Thread Jacob Larsen
sorry, the solution was not to use session.save_path=/dev/shm, but to install a new version of mm. Regards, Jacob www.sharksforum.com > When I use session.save_handler = mm I can only make it work by setting > session.save_path = /dev/shm > Is that how it should be? -- PHP Genera

[PHP] How To get the Time Zone of the visitor?

2002-12-12 Thread Jacob Mangalyajyothy
Hi All, I would lik eto get the information about the location of the visitors to my site like From which IP, What browser and which part of the world etc. How can get the information about the location of the visitor, using PHP? for me, the time zone is sufficient. Thanks in advance. Jacob

[PHP] Security in included PHP files

2003-01-15 Thread Jacob Copsey
take into consideration regarding security are welcome. Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security in included PHP files

2003-01-15 Thread Jacob Copsey
True. But let's just call me anal retentive. :-) Let's say I didn't have the option of doing what you suggested. Are my ideas sound? Also, those ideas apply to top-level PHP scripts in an application. Jacob "Kevin Stone" <[EMAIL PROTECTED]> wrote in message 00780

Re: [PHP] Security in included PHP files

2003-01-15 Thread Jacob Copsey
name the included files with .inc. It would require configuration of the server to prevent downloading of those files and I don't want to require that step of people who choose to run the app on their server. Thanks for the input! Jacob "Chris Shiflett" <[EMAIL PROTECTED]&g

Re: [PHP] Security in included PHP files

2003-01-15 Thread Jacob Copsey
. It is rarely safe to assume things when it comes to security so I figured I would ask. Thanks again for responding. --Jacob "John W. Holmes" <[EMAIL PROTECTED]> wrote in message 003801c2bd13$01fc85b0$7c02a8c0@coconut">news:003801c2bd13$01fc85b0$7c02a8c0@coconut... > You

[PHP] Re: Security in included PHP files

2003-01-16 Thread Jacob Copsey
This should work as long as you are only including your include files from scripts named index.php. --Jacob "Philippe Saladin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > directly. My main question is if all of the code

[PHP] Installing PHP on Apache 2 and FreeBSD

2003-01-31 Thread Jacob Bolton
tion is, is there a way to see what options are compiled into Apache, so that if I recompiled it, I could make sure to include the current options that are compiled now? Thanks in advance everyone! Jacob Bolton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installation problems

2003-01-31 Thread Jacob Bolton
not assume the obvious. I'm still sort of a newbie. Thanks!Jacob Bolton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Storing SQL Queries for Reuse in Apps

2003-07-10 Thread Jacob C
have any other solutions I haven't thought of or trick/tweaks to the ones I have listed? Thanks! Jacob -- "If there's a World War III, World War IV will be fought with sticks and stones." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing HTML string in database

2003-07-10 Thread Jacob C
Have a look at: http://www.php.net/addslashes Quoting Aaron Axelsen <[EMAIL PROTECTED]>: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have a php script set up for a user to upload a word document, > which is then coverted to html form, which I would then lke to store > in a dat

[PHP] Imagick

2003-08-09 Thread Jacob Marble
Hello all- Does anyone here use Imagick in PHP? I've tried the example .php files using a miriad of version combinations and I always get this error: Fatal error: Call to undefined function: imagick_readimage() in /usr/local/lib/php/docs/imagick/examples/border.php on line 5 -- PHP Genera

[PHP] Imagick

2003-08-10 Thread Jacob Marble
Excuse me, I accidentally sent that last incomplete message. I have successfully compiled PHP 4.3.3RC3 with the --with-imagick flag after compiling and installing ImageMagick 5.5.7 (that was a headache on it's own). The following error keeps cropping up: Fatal error: Call to undefined function: i

Re: [PHP] Translate easy the language of the web site

2003-06-13 Thread Jacob Marble
Amen; machine-translators are no good for something that you don't want confused. ie- english "season" could be "sazon" or "estacion" in Spanish, which mean two different things. Jake "Joel Rees" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hello all mailing-list people, I need

Re: [PHP] Translate easy the language of the web site

2003-06-17 Thread Jacob Marble
ECTED] > On Friday 13 June 2003 03:00 pm, you wrote: > > On Saturday 14 June 2003 02:19, Jacob Marble wrote: > > > Amen; machine-translators are no good for something > > > that you don't want confused. > > > ie- english "season" could be "sazon&qu

[PHP] Headers already sent (Sometimes)

2002-07-23 Thread Jacob Dorman
Im getting Warnings about headers being already sent. But not on my local web server Im sending the headers (to try and make the page not cache) before anything is echoed to the browser. I set the error reporting to E_ALL at the top of the script, turning error reporting off suppresses the warnin

[PHP] Authentication session problem (php/server implementation?)

2002-07-24 Thread Jacob Dorman
I have a user authentication system using sessions it checks username and password against a database. if correct it sets a variable in the session cookie (via $_SESSION) and redirects to the protected page which checks for that variable. if the user/pass is wrong it redirects to an error page. if

Re: [PHP] \n to Problem

2002-09-06 Thread Jacob Miller
At 23:51 09/06/2002, you wrote: >I have a small problem in converting a plain text to html. >$newstr = ereg_replace ("\n", "", $newstr); try $newstr = ereg_replace("\n\r|\n|\r", "", $newstr); notice it looks for all types of line feed

Re: [PHP] \n to Problem

2002-09-06 Thread Jacob Miller
At 23:51 09/06/2002, you wrote: >I have a small problem in converting a plain text to html. >$newstr = ereg_replace ("\n", "", $newstr); try $newstr = ereg_replace("\n\r|\n|\r", "", $newstr); notice it looks for all types of line feed

[PHP] Upload Progress

2002-09-08 Thread Jacob Miller
upload so that it doesn't appear as if the browser has frozen for a few hours. Any suggestions for a solution? thanks -jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simple Progress Bar (was Upload Progress)

2002-09-09 Thread Jacob Miller
plete. - Jacob // // In the referring page (i.e. submitting a form): var progress_window; function open_progress_window(caption) { progress_window = window.open("progress.php?caption=" + caption, "progress_window", "width=350, height=120, menubar

[PHP] Simple Progress Bar (was Upload Progress) (2nd Try)

2002-09-09 Thread Jacob Miller
plete. - Jacob // // In the referring page (i.e. submitting a form): var progress_window; function open_progress_window(caption) { progress_window = window.open("progress.php?caption=" + caption, "progress_window", "width=350, height=120, menubar

Re: [PHP] random array sort

2002-09-10 Thread Jacob Miller
This appears to work // Normal array $a1 = Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); srand((float) microtime() * 1000); $a_temp = array_rand($a1, sizeof($a1)); // Random array while (list(, $value) = each($a_temp)) { $a2[] = $a1[$value]; } print_r($a2); - jacob At 22:22 09/10/2002

Re: [PHP] links into DB

2002-09-10 Thread Jacob Miller
I don't think its possible to make a normal link open the default email as mailto: is a special trigger built into the browsers. The only way I can think of would be using javascript in the page.. something like mailto:[EMAIL PROTECTED]';"> - jacob At 18:51 09/10/2002, Ju

Re: [PHP] Date-format

2002-09-12 Thread Jacob Miller
It looks to me like the database is interpreting your date incorrectly. Try changing the format you use to insert, -mm-dd - jacob At 15:11 09/12/2002, Tommi Virtanen wrote: >Hi! > >I have web-form, which has field (10 chars), there I enter date (format >dd.mm.). Then d

Re: [PHP] Date-format

2002-09-12 Thread Jacob Miller
Why can't you just reformat it before inserting it into the db? $date = "31.12.2002"; $parts = split("\.", $date); echo $parts[2]."-".$parts[1]."-".$parts[0]; - jacob At 16:13 09/12/2002, Tommi Virtanen wrote: >We

Re: [PHP] Date(), adjusted for one year

2002-09-18 Thread Jacob Miller
With leap year adjustment... strtotime("+1 year", ); will return a unix timestamp. - Jacob At 01:49 09/19/2002, Robert Cummings wrote: >"Support @ Fourthrealm.com" wrote: > > > > Hi guys, > > > > What is the easiest way to get the date of one ye

Re: [PHP] Sessions /Cross Domain

2002-09-18 Thread Jacob Miller
My first assumption would be yes they are domain specific, but it might be possible to cross domains if both domains were run from the same web server and you were to pass the session id between pages manually rather than it being stored in a cookie.. What does everyone else think? - Jacob

Re: [PHP] Date-format

2002-09-18 Thread Jacob Miller
bl_name WHERE date >= '1997-05-05'; - Jacob At 02:28 09/19/2002, Support @ Fourthrealm.com wrote: >Reformatting before an inserting/updating is one option, but how would we >change the mySQL database to accept the other format? > >Peter > > >At 04:18 PM 9/12/2002

Re: [PHP] SELECT dropdown from a db query?

2002-09-18 Thread Jacob Miller
$row++; } while ($row < $numrows); print ""; pg_close($db); -- - Jacob At 09:56 09/19/2002, Andre Dubuc wrote: > > > > > . . . > > > $query = "SELECT * FROM rap WHERE rsponsor = '{$_SESSION['sid']}'"; > > > $resu

Re: [PHP] Strange submission problem

2002-09-18 Thread Jacob Miller
et it in a hidden variable - Jacob At 10:58 09/19/2002, Jesse Lawrence wrote: >Hello everyone, >In a simple signup form that I'm using, I send the >variables to a script, which performs a function if >($submit == "register") { >function(); > } > >The pro

Re: [PHP] Regular Expressions

2003-10-16 Thread Jacob Vennervald
preg_replace("/aIone/", "alone", "I am not aIone"); But you don't need regular expressions for this. Jacob On Thu, 2003-10-16 at 14:35, Shmuel wrote: > I have a misspelled sentence like this: "I am not aIone". > I want to change the capital

[PHP] strange issue

2003-10-28 Thread Jacob Bolton
x27;t seem to upload anything over that. I get no error messages, it simply doesn't upload it. I can upload no problem with a perl script. My upload_max_filesize value is set at 10M. You can view my php_info at http://mlm.vervecreations.com/php.php Any insight would be appreciated. Thanks! Jacob Bolton

[PHP] Re: strange issue

2003-10-29 Thread jacob bolton
that, everything worked no problem. "Jacob Bolton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hey all, I've researched this to the greatest extent and I can't seem to find anything written about this. I have a new server (RH 9) with PHP4.2.2 and Ap

Re: [PHP] PHP and java

2003-10-30 Thread Jacob Vennervald
Why can't you do this using PHP? Have a php script generate a directory listing the user can choose from and when the user chooses a picture load that picture. Jacob On Thu, 2003-10-30 at 02:27, David Miller wrote: > I have written PHP code to upload and download files to my server th

Re: [PHP] passing random variables names

2003-11-07 Thread Jacob Vennervald
s are worth gold to me, so I prefer to sell them and get rich!" > > Ben-Nes Yonatan > Canaan Surfing Ltd > Tel: 972-4-6991122 > Fax: 972-4-6990098 > http://www.canaan.net.il > -- -- Venlig hilsen / Best regards, Jac

[PHP] OFF THIS LIST, PLEASE

2001-04-20 Thread Jon Jacob
I have tried to unsubscribe, but can't seem to get the message through. Please help. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] OFF THIS LIST, PLEASE

2001-04-20 Thread Jon Jacob
Matthew Luchak wrote: > > To unsubscribe, e-mail: [EMAIL PROTECTED] Hey, great idea. Wish I had thought of it : ) Actually, I did. And I sent the mail for both this list and the Dev list but the admin server does not seem to be doing its job.

[PHP] problem with working with dates

2002-02-15 Thread Jacob Walker
I'm sorry to bother the newsgroup with this, but I've been racking my brain on it for a few hours, and tried all the documentation, and realize it's a coding problem that will take someone about 3 seconds to figure out the error in. I have this code: "); print("Previous Month"); print("Current

[PHP] .inc over .php

2002-04-19 Thread Jacob Wyke
Just a few quick questions if anybody is out there. Why use .inc as a file extenstion when you can use .php ?? What are the advantages/disadvantages to using .inc? Is one more secure? Which is faster? Which is consider a better pratice? Thanks a lot. ___

RE: [PHP] How to reduce an array to n values?

2002-03-24 Thread Jacob Wyke
Use array_slice(). $output = array_slice ($input, 0, 3); will return the first three values of the array. Check out http://www.php.net/manual/en/function.array-slice.php for more details. -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: 24 March 2002 12:31 To: [EMAIL PR

[PHP] Recompiling under RH7

2001-03-30 Thread Jon Jacob
Okay, frustration time under RH7... I am trying to recompile PHP for use with Oracle. (If you are saying to yourself, "but Oracle does not work under RH7." then don't go there. It does but it takes a significant amount of work.) I have done this before under RH6.2 and it did the same t

Re: [PHP] Recompiling under RH7

2001-03-30 Thread Jon Jacob
Jon Jacob wrote: > Okay, frustration time under RH7... > > I am trying to recompile PHP for use with Oracle. (If you are saying to > yourself, "but Oracle does not work under RH7." then don't go > there. It does but it takes a significant amount of work

[PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob
Sorry for the newbie level questions, but I am having more weird install problems. Its just been so long since I did all this installing crap I guess I forgot a couple of things.. I have recompiled Apache and PHP according to the instructions in the INSTALL doc, but when I run it now the doc

Re: [PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob
Greg Donald wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Jacob > > Sent: Friday, March 30, 2001 9:05 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] More questions about installing. > >

Re: [PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob
Greg Donald wrote: > > Ah, but there my friend is the rub. I did put that in. > > > > .And, all the conditions for the modules are there and > > specifically the > > module for php4 is present and the conditional is there. I tried > > putting the > > line above in the wide open (outside a c

Re: [PHP] More questions about installing.....

2001-03-30 Thread Jon Jacob
> > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Jacob > > Sent: Friday, March 30, 2001 9:22 PM > > To: Greg Donald > > Cc: [EMAIL PROTECTED] > > Subject: Re: [PHP] More questions about installing. >

Re: [PHP] Quick RegEx Question

2001-03-31 Thread Jon Jacob
Jeff Oien wrote: > I want to check if a variable contains a price, like > $19.99 > It definitely would be a dollar sign, two integers a dot and > two integers. Here is what I tried which doesn't work. > > if (ereg("\$([0-9]{2}).([0-9]{2})", $Price)) > or > if (ereg("\$([0-9]{2})\.([0-9]{2})", $Pr

[PHP] Compiling under RH7

2001-03-31 Thread Jon Jacob
I am still only getting the source of the php file. Has anybody successfully compiled Apache 1.3.x (1.3.19 in my case) and PHP (4.0.4pl1) under RH7? My httpd.conf has the proper AddType line and the php4 module is installed according to httpd -l. If you have done this successfully, please let

Re: [PHP] Quick RegEx Question

2001-03-31 Thread Jon Jacob
Jon Jacob wrote: > Jeff Oien wrote: > > > I want to check if a variable contains a price, like > > $19.99 > > It definitely would be a dollar sign, two integers a dot and > > two integers. Here is what I tried which doesn't work. > > > > if (ereg(&q

[PHP] RH7, Oracle 8i: Curiouser and Curiouser

2001-03-31 Thread Jon Jacob
Hum. Maybe it is because of the weekend or maybe it is because the combination of RH7, Oracle and PHP is too volitile, but I have yet to hear of anyone who has gotten this to work. Well, my experience brings up serious doubts that it can be done (but I will persist!) I will quickly recap if

Re: [PHP] Compiling under RH7

2001-03-31 Thread Jon Jacob
use --with-layout=RedHat (or like) for Apache's configure. > > (How about run 'find / -name httpd.conf'? You might find more than one.) > > Regards, > > -- > Yasuo Ohgaki > > "Jon Jacob" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTE

[PHP] Finally! Got PHP to work with RH7 and Oracle

2001-04-01 Thread Jon Jacob
Well, my bumbling determinism finally paid off. After starting at the configuration laid down by the rpms, I could not figure out what was wrong, so I decided to recompile the php source with the OCI8 option (and -enable-sigchild which is advised in the configuration output) and for whatever reas

[PHP] Programming Jobs

2001-04-01 Thread Jon Jacob
I hope this is not off topic, but I need to ask a general audience this question and this seems like the right group. I have been out of work for two months and I am not sure why. I am a talented web programmer with three years experience, strong Perl, JavaScript, CGI, and HTML skills and a grea

Re: [PHP] Problems with files!!!!!

2001-04-01 Thread Jon Jacob
David Robley wrote: > On Sat, 31 Mar 2001 21:31, Ales Kunst wrote: > > Hi, > > > > I have a strange kind of a problem. I'm cannot write to files on a > > server (i'm having virtual host) where i got my domain name. > > The server is running Apache 1.3.x and is having php3.0.8 installed. > > The c

Re: [PHP] Problems with files!!!!!

2001-04-01 Thread Jon Jacob
Tyrone Mills wrote: > I don't know if it's been mentioned or not, but I have found that unless the > file exists, I can't open it. Have you verified that the file exists and the > user that the script will run as has the appropriate permissions? > > I think you are mistaken. According to the PH

[PHP] Re: Programming Jobs - what I look for.

2001-04-02 Thread Jon Jacob
Michael Kimsal wrote: > To follow up just a bit more, here are skills I would require of someone > before hiring them: > > * Practical SQL knowledge, with hands-on experience of at least 6 months > (with projects/URLs to show for it) with either MySQL, Postgres, MSSQL, > Oracle, DB2 or another hi

[PHP] Read word documents on a Linux server

2004-10-05 Thread Jacob Larsen
Can I via Php read word documents on a Linux server? I see COM, but that's only available for the Windows version of PHP. Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Read word documents on a Linux server

2004-10-05 Thread Jacob Larsen
Jacob Larsen wrote: Can I via Php read word documents on a Linux server? I see COM, but that's only available for the Windows version of PHP. I found this: http://word2x.sourceforge.net/ But I had hopped to find a Php class, so that I can be sure that it will work in a web-hotel. Thanks,

[PHP] Jacob's Calendar

2009-05-31 Thread Jacob Kutty
Hi I am creating a birthday calendar of all my friends and family. Can you please click on the link below to enter your birthday for me? http://www.birthdayalarm.com/bd2/85206071a420999425b1469532889c603775600d905 Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To

[PHP] Reaching network share with libssh2 functions

2008-11-04 Thread Jacob Overgaard
. I guess that it is something to do with lack of permission, but I am not sure how to solve this problem, so I hoped for some assistance from this forum as it seems to be related to the use of libssh2 functions. Best wishes Jacob -- Jacob Overgaard, Ph.D Staff crystallographer Department of

Re: [PHP] Reaching network share with libssh2 functions

2008-11-05 Thread Jacob Overgaard
There is error logging on the web server, but this tells me nothing. There is no error when I try to access the drives, it just doesnt happen. Jacob Citat af Micah Gersten <[EMAIL PROTECTED]>: Have you turned on error logging? What code are you using? Thank you, Micah G

[PHP] Review: Function that measures the width of a text string in pixels.

2004-10-28 Thread Jacob Friis
I have created a function that will measure the width of a text string in pixels. It works ok. If you have optimizations, please let me know. Thanks, Jacob function txt_width ($txt) { $width = 0; $txt_len = strlen($txt); for ($n = 1; $n <= $txt_len;

Re: [PHP] Re: Review: Function that measures the width of a text string in pixels.

2004-10-28 Thread Jacob Friis
M. Sokolewicz wrote: Jacob Friis wrote: I have created a function that will measure the width of a text string in pixels. It works ok. If you have optimizations, please let me know. Thanks, Jacob function txt_width ($txt) { $width = 0; $txt_len = strlen($txt); for ($n = 1; $n

[PHP] Read PDF files with Php

2004-11-25 Thread Jacob Friis
Do I need PDFlib in order to read PDF files? Is there another way? Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Read PDF files with Php

2004-11-26 Thread Jacob Friis
Do I need PDFlib in order to read PDF files? Is there another way? > There is a nifty tutorial on this subject over at zends.com Can I read PDF files with that? Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Oracle support not working

2001-01-27 Thread Jon Jacob
Apache 1.3.12 Oracle 8.1.6 Redhat 6.2 PHP 4.0.3 Well, I think I have done everything right but must have missed something. I installed with --with-oci8 and --with-oracle, my LD_PRELOAD is defined properly and even has the full path to be sure, apache has been stopped and restarted, yet when I tr

Re: [PHP] string length?

2001-01-30 Thread Jon Jacob
Kevin Connolly wrote: > > Hi, > I am quite new to PHP scripts and I have run into a little problem with my string! > I have a string called $numbers which is 5;6;12;21;36;42 (for example, it can be any >6 numbers between 1 and 42). > Is there an easy way that I can find out how many numbers ther

[PHP] Oracle Function list

2001-01-30 Thread Jon Jacob
I found a list of some of the Oracle Functions at the main PHP site. Is this all there is? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] gethostbyaddr timeout

2001-01-31 Thread Jon Jacob
Aaron Gould wrote: > > I'm at the end of my rope here... > > I have a 100,000+ line file containing IP addresses. For each line, I need > to run a "gethostbyaddr" command. However, some lines take a long time to > timeout. Is there a way I can decrease this timeout period to one or two > seco

[PHP] Suggest for List

2001-02-01 Thread Jon Jacob
This list is very active, but I find that I am deleting about 70% of the messages about reading the first line. Mostly, this is because so many of the users are new that their questions are very basic. It might be a good idea to have a beginners and an advanced list. -- PHP General Mailing Lis

Re: [PHP] PHP and Oracle resources

2001-02-04 Thread Jon Jacob
Kristofer Widholm wrote: > > Well, I've been given the joyous task of implementing the DaveTV > project at CBS via PHP, using Oracle as a database. > > I've never used Oracle before. > > Looking at the PHP functions for Oracle, and having heard about it in > the past, it seems like quite a diff

[PHP] Attempt to unsubscribe failed

2001-02-05 Thread Jon Jacob
I have tried to unsubscribe to the list because my server will be down for at least two weeks, however, I am still getting mail. If someone could pass this on to the admin I would appreciate it (and so would they). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Simple code that won't work

2002-12-17 Thread Jacob van Zanen
Hi All, Reasonably new to PHP and trying to write a code that looks through my logfiles and reports the lines that contain any of the keywords in my init file. However can't seem to get it to work If the part that does not seem to work is the bit that does the comparison. Anybody have an ide

[PHP] Looping needs to re-open parm file

2002-12-19 Thread Jacob van Zanen
Hi All, I'm reading a paramter file and a text file. Per line of the text file I want to check if there is a word in there from the parameter file. However I need to open and read the parameter file for each line in the text file. How can I change this? Followin is the code I have. \n"); }

[PHP] PHP and xemacs

2003-01-23 Thread Hans Jacob Simonsen
other nice editors for Linux RedHat? Please help me. I really need it. Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and xemacs

2003-01-23 Thread Hans Jacob Simonsen
rminal emulator > > 5. Indent tracking, and brace tracking > > 6. Remembers recently opened files. I'll know what I've been working on. > > 7. Configurable tab spaces (I use 4 spaces) > > > Faisal > > Sorry I forgot to tell you. I am using GNOME,

[PHP] line number

2003-02-25 Thread Chandler, Jacob R
What function can I use to find out the current line number?

[PHP] PHP code beautifier?

2003-07-17 Thread Jacob Vennervald Madsen
Hi List Does anybody know any good PHP code beautifiers/formaters? Preferably one which is configurable so I can specify the exact format I want. Cheers, Jacob Vennervald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP code beautifier?

2003-07-17 Thread Jacob Vennervald Madsen
Thanks a lot. Jacob Vennervald On Thu, 2003-07-17 at 15:29, Joseph Szobody wrote: > Jacob, > > http://www.tote-taste.de/X-Project/beautify/ > > http://www.semdesigns.com/Products/Formatters/PHPFormatter.html > > http://www.trita.com/features/php-beautifier.jsp > &g

Re: [PHP] Re: PHP code beautifier?

2003-07-17 Thread Jacob Vennervald Madsen
Actually I did search Google first and I did get the same results you got. But what I was looking for was actually not a list of different beautifiers but comments from developers having experience with a specific beautier that they find does the job well. Jacob Vennervald On Thu, 2003-07-17 at

Re: [PHP] Passing Serialized Array via Hidden field

2003-07-21 Thread Jacob Vennervald Madsen
Just tried it out and you should use htmlspecialchars() instead of urlencode(). When you put it in a hidden field the browser is responsable for urlencoding the data. Jacob On Mon, 2003-07-21 at 09:24, Andrei Verovski wrote: > Hi, > > I am need to pass serialized assotiative array

Re: [PHP] Array cookie

2003-07-22 Thread Jacob Vennervald Madsen
You could serialize your an array and save it in the cookie, but I would also recommend using a session and then save the serialized array in this instead. Jacob Vennervald On Tue, 2003-07-22 at 09:36, Curt Zirzow wrote: > * Thus wrote Shantanu Oak ([EMAIL PROTECTED]): > > Hi, &

Re: [PHP] CLI php: how to use different php.ini file

2003-07-22 Thread Jacob Vennervald Madsen
php -c Jacob Vennervald On Tue, 2003-07-22 at 12:52, Jean-Christian IMbeault wrote: > I am running some cronjob scripts that are written in PHP. However > things are not working as expected because my php.ini file auto-prepends > a file. This auto-prepending is meant for my PHP web

Re: [PHP] a stupid question

2003-07-24 Thread Jacob Vennervald Madsen
Download it and then check it. But if you need to check a lot of files that's probably to slow. Jacob Vennervald On Thu, 2003-07-24 at 06:03, Joe wrote: > how to check the filetype of remote file > because is_dir(), is_file() can't work on remote file > thx a lot > >

  1   2   >