[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

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

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

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

[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 but not the link, here is my code and the result: function display_categories($cat_array) { if (!is_array($cat_array)) { echo "No hay categorías a

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

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 Lis

[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

[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] 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 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 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? S

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 >

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

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

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

[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

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 possible

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

[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
/php.net/mysqli, you can not include two versions of mysql and mysqli client libraries. Someone made this work: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=bqcbqi%2416sr%241%40FreeBSD.csie.NCTU.edu.tw /Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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

2004-07-15 Thread Jacob Friis Larsen
tall MySQL-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

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

2004-07-14 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 --wit

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

2004-07-14 Thread Jacob Friis Larsen
ere /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): In function `check_scramble': : multiple definition of `check_scramble' /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): first defined here /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): In function `get_salt_from_password': : multiple definition of `get_salt_from_password' /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): first defined here /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): In function `make_password_from_salt': : multiple definition of `make_password_from_salt' /usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): first defined here /usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): In function `mysql_manager_init': : multiple definition of `mysql_manager_init' /usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): first defined here /usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x90): In function `mysql_manager_connect': collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 This works: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr/include/mysql This doesn't: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config --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] Re: Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
r/include/mysql --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

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

2004-07-14 Thread Jacob Friis Larsen
I use: 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

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

2004-07-13 Thread Jacob Friis Larsen
igure --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

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

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

[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

[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

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

[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

Re: [PHP] Running script produces no output

2003-08-05 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 B

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

2003-07-28 Thread Jacob Vennervald Madsen
Hi Next time you can find a lot of information about this on www.php.net. Check out this example: 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); &g

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

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

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

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

[PHP] line number

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

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

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

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

[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

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

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

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

[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

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

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

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

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

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] 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] 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] 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] 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] 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(), 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] 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-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

[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

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

[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

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

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

  1   2   >