[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

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 Gersten onShore

[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

[PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Hi, Have a potentially interesting question here, wondering if anyone has done this one before and could shed some light for me. I have a bit of PHP code that needs to extract some quoted strings, so, very simply: hello perfectly fine and works great but, it should also be able to extract

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Assume that you should accept any string that PHP itself would accept, though no processing of the actual escapes is required nor desirable. On Mar 29, 2008, at 8:34 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote: Hi, Have a potentially interesting

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Yes, php source code. On Mar 29, 2008, at 8:54 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote: Assume that you should accept any string that PHP itself would accept, though no processing of the actual escapes is required nor desirable. Sorry, I

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
token_get_all, fantastic! Thanks. - Adam On Mar 29, 2008, at 10:02 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 21:31 -0400, Adam Jacob Muller wrote: Yes, php source code. You will not be able to do this with PCRE. You need something that can track state because double quotes can

[PHP] link with database

2008-03-11 Thread Sofia Jacob (CA)
Hi, I want to create a link that get the name and the link from the database. The problem is that I get the bullets created with li but not the link, here is my code and the result: ?php function do_html_URL($url, $name) { // output URL as link and br ? a href=?=$url??=$name?/abr ?php }

[PHP] Re: Convert all named entities into numeric character references

2006-03-14 Thread Jacob Friis Saxberg
Thanks, I could also use Tidy and make it do the convert. Jacob On 3/9/06, Robin Vickery [EMAIL PROTECTED] wrote: On 06/03/06, Jacob Friis Saxberg [EMAIL PROTECTED] wrote: Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html

[PHP] Convert all named entities into numeric character references

2006-03-06 Thread Jacob Friis Saxberg
Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread Jacob Friis Saxberg
Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Hi there! http://se.php.net/manual/en/function.htmlentities.php ? htmlentities converts to named entitites. I want it to numeric entities. -- PHP General Mailing List

[PHP] Php, Rails and ajax

2005-10-24 Thread Jacob Friis Saxberg
Hello again. Is it possible to use Php, Rails and ajax via some open source system? How do you do it? The most important for me is to use Php and ajax. Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php and Ruby

2005-10-23 Thread Jacob Friis Saxberg
Hi. How can I use Ruby with Php? My goal is to have (Independence of Presentation Logic(IoPL)). Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php and Ruby

2005-10-23 Thread Jacob Friis Saxberg
How can I use Ruby with Php? I mean Rails. sorry :) My goal is to have (Independence of Presentation Logic(IoPL)). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
I have asked Php to log errors in a file but it doesn't. error_reporting = E_ALL display_errors = Off log_errors = On error_log = /var/log/php-errors.log Any idea what's wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
On 10/5/05, Stephen Leaf [EMAIL PROTECTED] wrote: On Wednesday 05 October 2005 08:16 am, Jacob Friis Saxberg wrote: I have asked Php to log errors in a file but it doesn't. error_reporting = E_ALL display_errors = Off log_errors = On error_log = /var/log/php-errors.log sure PHP has

Re: [PHP] Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
On 10/5/05, Skippy [EMAIL PROTECTED] wrote: Quoting Jacob Friis Saxberg [EMAIL PROTECTED]: I have asked Php to log errors in a file but it doesn't. error_reporting = E_ALL display_errors = Off log_errors = On error_log = /var/log/php-errors.log Any idea what's wrong? Maybe

[PHP] Re: Php is not writing errors in logfile

2005-10-05 Thread Jacob Friis Saxberg
On 10/5/05, Jacob Friis Saxberg [EMAIL PROTECTED] wrote: I have asked Php to log errors in a file but it doesn't. error_reporting = E_ALL display_errors = Off log_errors = On error_log = /var/log/php-errors.log Any idea what's wrong? Sorry, this solved my problem: error_log = /var/log

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] 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

[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; $n

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 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, Jacob

[PHP] php4 and php5 on the same apache server

2004-09-13 Thread Jacob Friis Larsen
How can I run both php4 and php5 on the same apache server? Could I do it like this: AddType application/x-httpd-php .php AddType application/x-httpd-php5 .php5 And somehow tell php5 to use application/x-httpd-php5 -- Best regards, Jacob Friis Larsen www.webcom.dk | www.journster.com -- PHP

[PHP] Validate XML data

2004-08-19 Thread Jacob Friis Larsen
It is possible to validate a XML document with XML Schema Definition Language (XSDL). Is it possible to use XSDL in Php? Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validate XML data

2004-08-19 Thread Jacob Friis Larsen
It's possible in PHP 5, but not in PHP 4 Could you link me to the documentation? And I advise to use the most recent libxml2 libraries, since they made big improvements concerning XSD support lately It is possible to validate a XML document with XML Schema Definition Language (XSDL). Is it

Re: [PHP] php5: configure --with-pear but there's no pear?

2004-08-04 Thread Jacob Friis Larsen
When I do configure --with-pear I would assume that pear would be available after make install, but it isn't. Any ideas? How is it 'not available'? Did the PEAR directory/files not install? Is your system not finding them? I got it now, I think I missed some Debian packages. Thanks, Jacob -- PHP

[PHP] php5: configure --with-pear but there's no pear?

2004-08-03 Thread Jacob Friis Larsen
When I do configure --with-pear I would assume that pear would be available after make install, but it isn't. Any ideas? Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] building php5.0 as an apache module, with mysqli functionality

2004-07-19 Thread Jacob Friis Larsen
can not include two versions of mysql and mysqli client libraries. Someone made this work: http://groups.google.com/groups?hl=enlr=ie=UTF-8selm=bqcbqi%2416sr%241%40FreeBSD.csie.NCTU.edu.tw /Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Jacob Friis Larsen
Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: --with-mysqli=/usr/bin/mysql_config? (This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2) 2

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Jacob Friis Larsen
-shared-compat*.rpm I have installed MySQL-shared-compat-4.1.3-0.i386.rpm, but I still get errors. thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
--with-mysql=/usr/include/mysql --with-mysqli=/usr/bin/mysql_config The last gave me a lot of errors. Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cannot build ext/mysql together with ext/mysqli and apache2

2004-07-14 Thread Jacob Friis Larsen
: Apache 2.0.49 (Fedora Core 1 RPM) Php 5.0.0 MySQL 4.1.3-beta (MySQL RPM) Any ideas? Thanks, Jacob Georg Richter wrote: Am Mi, den 14.07.2004 schrieb Jacob Friis Larsen um 8:04: Hi! Could you show me your configure statement. I can't make it work. System Linux beethoven 2.6.5-7.95-default #1 Thu Jul 1

Re: [PHP] Re: Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
--with-mysqli=/usr/bin/mysql_config Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot build ext/mysql together with ext/mysqli and apache2

2004-07-14 Thread Jacob Friis Larsen
--with-mysql=/usr/include/mysql --with-apxs2 I use: Apache 2.0.49 (Fedora Core 1 RPM) Php 5.0.0 MySQL 4.1.3-beta (MySQL RPM) Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing random variables names

2003-11-07 Thread Jacob Vennervald
http://www.canaan.net.il -- -- Venlig hilsen / Best regards, Jacob Vennervald System Developer Proventum Solutions ApS Tuborg Boulevard 12 2900 Hellerup Denmark Phone: +45 36 94 41 66 Mobile: +45 61 68 58 51 -- PHP General Mailing List (http

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 through my

[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 Apache 2. I can't seem to upload anything

[PHP] strange issue

2003-10-28 Thread Jacob Bolton
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

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 I to small l, but only in the beginning of a word. How

[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:

[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

Re: [PHP] Running script produces no output

2003-08-06 Thread Jacob Vennervald Madsen
Does the script work when you run it by hand? Try to insert an echo TESTER in the top the shell script to make sure something is sent to stdout. And then check in your php script that you receive the message. Best regards, Jacob Vennervald On Wed, 2003-08-06 at 08:38, Chris Blake wrote

Re: [PHP] Displaying MySQL data inside of a table

2003-07-28 Thread Jacob Vennervald Madsen
$row[userstatus]; } mysql_free_result($result); ? Best regards, Jacob Vennervald On Mon, 2003-07-28 at 16:08, SP Computing wrote: Hi all, I have this code so far: ? mysql_connect(localhost, USER, PASS); mysql_select_db(DB); $result = mysql_query(SELECT * FROM tbl

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 -- PHP General Mailing

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, I have written

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

2003-07-22 Thread Jacob Vennervald Madsen
php -c php.ini-file 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] 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 via form hidden

[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 http://www.bierkandt.org/beautify

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

[PHP] Storing SQL Queries for Reuse in Apps

2003-07-10 Thread Jacob C
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 database.

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

2003-06-17 Thread Jacob Marble
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 or estacion in Spanish, which mean two different things. Never mind translation, season

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 help, my

[PHP] line number

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

[PHP] Installing PHP on Apache 2 and FreeBSD

2003-01-31 Thread Jacob Bolton
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
to 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

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

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 programs

[PHP] PHP and xemacs

2003-01-23 Thread Hans Jacob Simonsen
TAB to get the right indent] Are there 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
, 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, and I'm on a company computer so I can't change to KDE. Jacob -- PHP General Mailing List (http

[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 inside an included PHP file

[PHP] Security in included PHP files

2003-01-15 Thread Jacob Copsey
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 007801c2bcd4$02d000f0$6601a8c0@kevin"

Re: [PHP] Security in included PHP files

2003-01-15 Thread Jacob Copsey
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] wrote in message [EMAIL PROTECTED

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 already have your

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

[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

[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. ? if

[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 ? // Open an ini file if (!($IniContent = file(d:\MyPhp\initORA.ini))) { Print (File could not be

[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] 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 General Mailing

[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 constructor function

[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, visit

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

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, I

[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

[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:

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

[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] Date(), adjusted for one year

2002-09-18 Thread Jacob Miller
With leap year adjustment... strtotime(+1 year, timestamp); 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 year from today? Accommodating for leap years

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
date = '1997-05-05'; /quote - 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 +0800, Jacob Miller wrote: Why can't you just

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

2002-09-18 Thread Jacob Miller
$numrows); print /select; pg_close($db); -- - Jacob At 09:56 09/19/2002, Andre Dubuc wrote: ?php . . . $query = SELECT * FROM rap WHERE rsponsor = '{$_SESSION['sid']}'; $result = pg_exec($db, $query); if (!$result) {exit;} $numrows = pg_numrows($result); if ($numrows

Re: [PHP] Strange submission problem

2002-09-18 Thread Jacob Miller
it in a hidden variable input type=hidden name=submit value=register - 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 problem is, my

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 data saves

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: Well, insert format in wrong, but in Finland enter format

[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

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 body onLoad=document.location='mailto:[EMAIL PROTECTED]'; /body - jacob At 18

[PHP] Simple Progress Bar (was Upload Progress)

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

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

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

[PHP] Upload Progress

2002-09-08 Thread Jacob Miller
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

Re: [PHP] \n to BR 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. snip $newstr = ereg_replace (\n, BR, $newstr); try $newstr = ereg_replace(\n\r|\n|\r, BR, $newstr); notice it looks for all types of line feeds -jacob -- PHP General Mailing List (http

Re: [PHP] \n to BR 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. snip $newstr = ereg_replace (\n, BR, $newstr); try $newstr = ereg_replace(\n\r|\n|\r, BR, $newstr); notice it looks for all types of line feeds -jacob -- PHP General Mailing List (http

[PHP] ini_set()

2002-08-13 Thread jacob
('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 list in digest. Thanks! Jacob -- PHP General Mailing List

[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.

  1   2   >