Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
.21-1.el6.src/mysql-5.5.21/scripts/ mysql_config.pl.in /home/zhaoyuan/下载/MySQL-5.5.21-1.el6.src/mysql-5.5.21/scripts/mysql_config.sh /usr/bin/mysql_config /usr/local/mysql/bin/mysql_config /usr/local/mysql/man/man1/mysql_config.1 /usr/share/man/man1/mysql_config.1.gz -- 黄昭源(Asher Wong) *Best Wishes To You!*

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I droped it but now the new error happened: checking for mysql_config... not found configure: error: Unable to find your mysql installation And I'm sorry to send more than one reply. Maybe there are something wrong with the network here. 2012/3/24 Daniel Brown > 2012/3/23 Asher Wong :

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
/local/mysql/bin/mysql_config. Note that the MySQL client library is not bundled anymore! -- 黄昭源(Asher Wong) *Best Wishes To You!*

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
/local/mysql/bin/mysql_config. -- 黄昭源(Asher Wong) *Best Wishes To You!*

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I tried, but it didn't work. 2012/3/24 Daniel Brown > 2012/3/23 Asher Wong : > > I have installed the MySQL-devel and I can find mysql.h, but I still have > > the error I mentioned above. > > ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init'

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
I trid, but it didn't work. 2012/3/24 Daniel Brown > 2012/3/23 Asher Wong : > > I have installed the MySQL-devel and I can find mysql.h, but I still have > > the error I mentioned above. > > ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init'

Re: [PHP] Re: make error

2012-03-23 Thread Asher Wong
ference to `_mysqlnd_init' ... and so on. > Hi, > > You can just install the mysql headers via the devel package if you > don't need the server: > > # yum install mysql-devel > > > If you want to find where they were installed use: > > # find / -name my

Re: [PHP]make error

2012-03-23 Thread Asher Wong
om the source >> library. You can either download the full source or install just the >> headers via your system's package manager. If you need more help, let >> us know what distribution you're using. >> >> -- >> >> Network Infrastructure Manager >> http://www.php.net/ >> > > > > -- > 黄昭源(Asher Wong) > *Best Wishes To You!* > > -- 黄昭源(Asher Wong) *Best Wishes To You!*

Re: [PHP]make error

2012-03-23 Thread Asher Wong
rce or install just the > headers via your system's package manager. If you need more help, let > us know what distribution you're using. > > -- > > Network Infrastructure Manager > http://www.php.net/ > -- 黄昭源(Asher Wong) *Best Wishes To You!*

Re: [PHP] Google Chrome

2008-09-04 Thread Stephen Wong
Wow, didn't notice the GoogleUpdate.exe, thanks for the heads up on that. Agreed about programs adding items in our startup. On Thu, Sep 4, 2008 at 2:23 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Ovidiu Rosoiu [mailto:[EMAIL PROTECTED] >> Sent: Thursday, S

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread Stephen Wong
succeed, stick to what you know best so that you > > can make enough money to pay someone else to do it for you. > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- S. Wong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security Concerns with Uploaded Images:

2006-05-17 Thread Jason Wong
On Tuesday 16 May 2006 07:45, Richard Lynch wrote: > On Mon, May 15, 2006 1:58 am, Jason Wong wrote: > > 2) the uploaded file is a "script" (perl/php/python/etc) > > > > In the case of (2), if the script relies on its shebang line to > > execute > > No

Re: [PHP] Security Concerns with Uploaded Images:

2006-05-14 Thread Jason Wong
ear Chris Shiflett's views on this. [1] as opposed to attacks on a user's browser when later on that file is accessed or downloaded [2] this includes (pun intended) include()'s siblings - require() etc. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Sou

Re: [PHP] WINNER

2006-05-08 Thread Jason Wong
bearch! > > Good ole John. I miss him. And Jason Wong. Where have all the good > times gone? I don't know about John (Holmes), but I retired after winning one of these lotteries ;-) -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software System

[PHP] A Problem!

2006-03-29 Thread Tom Wong \(Yakang Accessories\)
Title: cids 信纸 Dear All:   - 例子A(使用HTML TAG)         Send this file:         此种方法只是利用HTML TAG的方法,且很容易被绕过(摘自PHP5中文手册), 所以已经不再

Re: [PHP] PHP on Mobile Devices(Pocket PC specifically)

2005-11-30 Thread Jason Wong
e successfully run FUDforum using Apache2/PHP4/MySQL on my Zaurus. Ruby on Rails works as well albeit a tad slow -- I need to figure out how to get fastcgi working. And unlike WM devices, you can run *real* browsers, Firefox and Mozilla are available. -- Jason Wong -> Gremlins Associates

[PHP] owner of files created by fopen() become wrong?

2005-09-06 Thread Wong HoWang
Hi all, I am so sorry that I have a lot of questions... This time I got a special issue... I have set up a VirtualHost for the domain that have problem. Since I am using Apache/1.3.33 , I have set the User & Group inside & outside the ... tags. As you know, the user & group set outside Virt

[PHP] disable safe_mode with .htaccess ?

2005-09-05 Thread Wong HoWang
Hello everyone, I have a special question and want to ask here, hope anyone can answer me. My server is Apache/1.3.33 with PHP/4.3.10 I have AllowOverride All in my httpd.conf and safe_mode = On in php.ini , I want to turn off safe_mode in one folder by .htaccess , is it possiable? I don't want

[PHP] Re: Saturdays and Sundays

2005-09-01 Thread Wong HoWang
the answer is simply yes! You can have a simple for looping to do so. hope this help! ""Shaun"" <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] > Hi, > > Is it possible to get the number of saturdays and sundays for a given > month / year? > > Thanks for your help. -- PHP General Mailing List

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
ant digit. > > Your code does exactly this, displaying pi with 15 decimal places. > > Jordan > > > > On Sep 1, 2005, at 8:06 AM, Wong HoWang wrote: > >> Dear all, >> >> I'm trying to do like this but failed: >> >> > ini_se

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
but my server configure don't have bcmath enabled, is there any other way to do so? "Torgny Bjers" <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] > Wong HoWang wrote: >> Dear all, >> >> I'm trying to do like this but failed: >> >> > in

[PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
Dear all, I'm trying to do like this but failed: How can I get more digits after . ? Can anyone help? Thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
Dear all, I'm trying to do like this but failed: How can I get more digits after . ? Can anyone help? Thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Super globals ?

2005-08-20 Thread Wong HoWang
yes, I am asking how to start my own super global... And even a PHP beginner know that $GLOBALS is a array containing all the global variables and it is used in a function or a class. So I think no one will ask a question here which the answer is simply $GLOBALS. Any finally, thanks Jasper for t

[PHP] Super globals ?

2005-08-20 Thread Wong HoWang
Dear all, Hello, I want to know that is there any way to create a super global in PHP? Please help! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Super globals ?

2005-08-20 Thread Wong HoWang
Dear all, Hello, I want to know that is there any way to create a super global in PHP? Please help! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem when encoding non-english into UTF-8

2005-08-15 Thread Wong HoWang
Dear all, When I try to encode non-english char. such as big5 to UTF-8 with utf8_encode(), it always generate a wrong result, which is not readable. What can I do? Please help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] curl?

2005-08-13 Thread Wong HoWang
Hi, Everybody! I got this when I execute the script: Fatal error: Call to undefined function: curl_init() in msnp9.class.php on line 259 is there anyway to solve it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to start a global variable within a function?

2005-08-08 Thread Wong HoWang
That is something like: Can I write like this? "Jasper Bryant-Greene" <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] > $someGlobalVariable = 'foo'; > > function myFunction() { > global $someGlobalVariable; > > // do stuff with $someGlobalVariable >

Re: [PHP] How to start a global variable within a function?

2005-08-08 Thread Wong HoWang
tuff with $someGlobalVariable > } > ?> > > Jasper > > Wong HoWang wrote: >> as title, how to start a global variable within a function? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to start a global variable within a function?

2005-08-08 Thread Wong HoWang
e; > > // do stuff with $someGlobalVariable > } > ?> > > Jasper > > Wong HoWang wrote: >> as title, how to start a global variable within a function? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to start a global variable within a function?

2005-08-08 Thread Wong HoWang
as title, how to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to start a global variable within a function?

2005-08-08 Thread Wong HoWang
as title, how to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to start a global variable within a function?

2005-08-08 Thread Wong HoWang
as title, how to start a global variable within a function?

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
On Saturday 30 July 2005 10:17, leonski wrote: > Jason Wong wrote: > > On Saturday 30 July 2005 08:49, leonski wrote: > >> sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! > >> : No such file or directory sh: line 1: /usr/local/bin/mogrify > >>

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
, if it doesn't exist! I think the error message is trying to tell you that "/usr/local/bin/mogrify" does not exist. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Inte

Re: [PHP] preg_match - help please

2005-07-28 Thread Jason Wong
inese would enter their name (usually 3 words, sometimes 2. rarely 4) WITHOUT any spaces. Not sure what the OP was trying to do, but the best way to handle it (IMHO) is to give the user 2 input boxes, one for family name, the other for the rest of their name. -- Jason Wong -> Gremlins As

Re: [PHP] looking for program/script to diff directories and show dates

2005-07-28 Thread Jason Wong
e that are different and will be transferred). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives befo

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Jason Wong
ou're looking at the correct php.ini 2) the setting is not being changed elsewhere If the warning annoys you just tone down the error reporting level. > Is there another one I should be looking at? :( Not that I'm aware of. -- Jason Wong -> Gremlins Associates -> www.gremlins.

Re: [PHP] MySQL password file

2005-07-19 Thread Jason Wong
ou can easily check this by entering the URL of the include file into a browser and then "view source", what you see is what will be included by a "foreign host". What you should be more concerned about if you're on a shared host is that there is a good possibili

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Jason Wong
> Without reverting back to 4.3.11, is there a way I can temporarily fix > this while working on the application issues themselves? :( Change the relevant setting in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design &

Re: [PHP] Help with preg_replace

2005-07-04 Thread Jason Wong
amp; id 3. You may also want to consider using preg_quote() instead of str_replace(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -

Re: [PHP] memcached and objects.

2005-07-02 Thread Jason Wong
> class to cache Adodb recordsets in memcached?. No idea. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search

Re: [PHP] Technology Forums

2005-07-01 Thread Jason Wong
it deserves? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaim

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread Jason Wong
27;m sure you would be more worried about the billennium bug :) > If you are dealing in 2 billion object PostgreSQL databases, and you > don't know all this already, you're in DEEP trouble... I think I'll be quite safe as I'm using sequences ;-) -- Jason Wong -> Greml

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Jason Wong
D that you want. Can't remember whether this was a php-postgresql thing or simply a postgresql thing. But whatever it is, you don't need OIDs to use sequences. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * I

Re: [PHP] postgres - mysql last_inserted_id

2005-06-30 Thread Jason Wong
suggest that you start off with a 'smaller' project and explore all the ways where postgresql does things differently to and/or better than mysql, then work your way up to a more complex project. This would be much better than doing a hasty migration to postgresql - which does not make t

Re: [PHP] Re: security question...??

2005-06-21 Thread Jason Wong
ot "hacked up" as you put it). What's to stop a bad guy using a "real" browser talking to your server and getting some information and doing something bad with that information? What are you trying to prevent? -- Jason Wong -> Gremlins Associates -> www.g

Re: [PHP] Re: Persistant Connections and max_connections on mysql

2005-06-21 Thread Jason Wong
o be certain that you won't hit the limit configure your webserver so that the maximum number of instances (or requests it can handle) is less than the max connections settings of mysql. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators

Re: [PHP] Image upload form

2005-06-15 Thread Jason Wong
27;; >exit; > } The file pointed to by $newfile doesn't exist. You need to move ... >       $local_file = $_FILES['userfile']['tmp_name']; ... $localfile -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integra

Re: [PHP] The "goto" discussion on the Internals List

2005-06-09 Thread Jason Wong
nothing else) > > That and error_reporting( E_ALL ); and ini_set('display_errors', TRUE); So they don't have to figure out where the error log is (yet). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design &a

Re: [PHP] Of .txt to .zip

2005-06-09 Thread Jason Wong
ssed the e-mail where I said > How far did you read? http://us3.php.net/manual/en/ref.zlib.php zlib does gzip (.gz) and is not the same as [pkware] zip which I believe is what the OP wants. OP, put your google googles on and look, there is (or was?) at least one solution which involved a zip handling

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Jason Wong
ely broken? In short, you're trying to display an image, so get rid of all the HTML stuff. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development *

Re: [PHP] array, trouble updating

2005-05-17 Thread Jason Wong
. To remove an item: 1) unset($basket[n]); // where n is an integer 2) unset($basket['product_id']; // if product_id is an integer // then you don't need the single-quotes // note that also applies when fir

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Jason Wong
d, in newer versions this is the default. Summary: you have to compile PHP with --enable-trans-sid, AND enable it in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet

Re: [PHP] counting ocuring words in a string

2005-05-17 Thread Jason Wong
On Tuesday 17 May 2005 18:00, Merlin wrote: > I am trying to find a way to count the number of times (if any) words > are inside a string. explode() array_count_values() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Desi

Re: [PHP] Components

2005-05-16 Thread Jason Wong
ne better! [1] Yet Another PHP Framework -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you

Re: [PHP] Components

2005-05-16 Thread Jason Wong
). And after that, start off with a web-based PHP RAD tool. (which > I plan to do with either document.designMode or XUL) You might want to take a look at Prado http://www.xisc.com/ it seems to be exactly what you're trying to do and I believe it also has a RAD plugin for Dreamweaver. -

Re: [PHP] Re: why are session only working with cookies?

2005-05-13 Thread Jason Wong
Set that to 1. Sessions *are* cookies, they're cookies that have been set to expire when the browsing session finishes (ie when the browser is closed). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Intern

Re: [PHP] error display problem

2005-05-13 Thread Jason Wong
g(E_ALL); ini_set('display_errors', TRUE); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * --

Re: [PHP] cURL functions

2005-05-13 Thread Jason Wong
s of examples and suggestions. Also check the archives for Richard Lynch's posts where he rants (quite rightly) about IE's poor handling of forcing a download to be saved to file and ways to circumvent it. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source So

Re: [PHP] cURL functions

2005-05-13 Thread Jason Wong
age/jpg"); Header('Content-Disposition: attachment; file="tigershippingdashboard20050429.jpg"'); echo $ret; -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applica

Re: [PHP] cURL functions

2005-05-12 Thread Jason Wong
-- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsg

Re: [PHP] MySql injections (related question)

2005-05-11 Thread Jason Wong
On Thursday 12 May 2005 09:57, Richard Lynch wrote: > On Wed, May 11, 2005 5:23 pm, Jason Wong said: > > But now that mysql_real_escape_string() is available that is what you > > ought to use. > > But are they REALLY different. mysql_real_escape_string() is most cer

Re: [PHP] MySql injections (related question)

2005-05-11 Thread Jason Wong
_escape_string )... Postgresql uses a single-quote to escape a single-quote. MySQL uses a backslash. Hence running addslashes() on a string destined for MySQL is usually OK whilst doing so for Postgresql is not. But now that mysql_real_escape_string() is available that is what you ought to use.

Re: [PHP] Session cookies in firefox

2005-05-11 Thread Jason Wong
new session is > > created). > > That's because IE stupidly creates a whole new program/process on each. That behaviour is (or maybe was, don't have IE around to test) user configurable. So if the OP is relying on that "feature" then their website is bound to br

Re: [PHP] reducing array size

2005-04-16 Thread Jason Wong
;looping" and unsetting the > elements ?? array_slice(), array_splice() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development *

Re: [PHP] ini_set and upload_tmp_dir

2005-04-14 Thread Jason Wong
le just in the > start I have this: > > ini_set("upload_tmp_dir","C:\\PHP5\\tmp\\"); You can't do that. That has to be set in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integra

Re: [PHP] Directory perms

2005-04-14 Thread Jason Wong
files AND directories (and in fact the examples shows that). is_readable() and is_writeable() also works on files/dirs. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet A

Re: [PHP] Regular expressions

2005-04-12 Thread Jason Wong
does it > match the slash "/" ??? preg_replace('|\[\s*/\s*quote\s*]|', '[/quote]', $word); You might want to spice it up with some ungreedy modifiers. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web De

Re: [PHP] Apache2 html/php dir-where..?

2005-04-12 Thread Jason Wong
was /var/www/html. What is it now..? Cheers. Look in "/usr/local/apache2/conf/httpd.conf" for "DocumentRoot". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting

Re: [PHP] Re: Can't Delete File Using Unlink

2005-04-11 Thread Jason Wong
On Tuesday 12 April 2005 02:28, Ben Ramsey wrote: > In general, permission settings under Windows suck. Hmm I thought that the ACLs on NTFS were about the only thing that is good about Windows. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems In

Re: [PHP] Redirection after login with security

2005-04-11 Thread Jason Wong
word from the URL. The username can be in plaintext (or if circumstances dictate and/or you're paranoid can be *encrypted*). The password is hashed (md5/sha, whatever) WITH a secret key. You can then verify whether username/password is correct and return an appropriate response. -- Jason Wong

Re: [PHP] COM works on NT but fails on 2003?

2005-04-10 Thread Jason Wong
On Monday 11 April 2005 12:11, Theisen, Gary wrote: > if ($excel !=== FALSE) { //This is the error line?!?! I even tried > "FALSE". if ($excel !== FALSE) { ... } -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators

Re: [PHP] Split command problem

2005-04-10 Thread Jason Wong
lit() instead: list($fname, $lname) = preg_split('/\s+/', $_POST['username']); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ---

Re: [PHP] Storing password in cookie

2005-04-09 Thread Jason Wong
password -- are you going to tell them how to decrypt in the case that they have forgotten the password? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * --

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread Jason Wong
ok like and what the PHP module is. This is done in steps 14 & 15. 4-2 (static) means that PHP will be compiled into the Apache executable however you still need to tell it what PHP files look like (step 15). -- Jason Wong -> Gremlins Associates -

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread Jason Wong
u help me here. Cheers. You seem to have missed out some important steps ie editing httpd.conf so that it knows about PHP. RTFM for details. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web

Re: [PHP] Storing password in cookie

2005-04-09 Thread Jason Wong
ord and some bad person got hold of it then there is no reasonable way for your website to distinguish the bad person using the password to gain access from the legitimate user. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source S

[PHP] PHP and Excel and COM

2005-04-08 Thread Kiz Wong
Hi, I am trying to control Excel with PHP via COM. I am wondering if there are some resources available with all the keywords (I didn't find anything on the net...). F.i. : I try to modify the content of a textbox in a worksheet. In VBA, I have: ActiveSheet.Shapes("Shape1").Select Selection.Cha

Re: [PHP] Still not working: PHP4 running on server, but not on dev box (SuSE 9.2)

2005-04-08 Thread Jason Wong
how to test? How to tell it? Go through the installation instructions in the [PHP] manual > Installation on Unix systems > Apache 2.0 on Unix systems. In particular verify steps 14 and 15. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems

Re: [PHP] sessions not being stored : DAY 2

2005-04-08 Thread Jason Wong
s/calendario/calendarix/cal_header.inc.php on > line 19 > * the /tmp directory is owned by root > * the /tmp/sess directory is owned by the apache user and has 777 > permissions * the directory in php.ini to store sessions is : /tmp/sess > * there's not a php user what is the out

Re: [PHP] File_get_contents()

2005-04-07 Thread Jason Wong
On Thursday 07 April 2005 20:21, Jeff McKeon wrote: > Now that I look at it, does anyone think this would work... > > file_get_contents("php//stdin/"); That should be: 'php://stdin' -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source

Re: [PHP] read from comport: windows vs. linux

2005-04-06 Thread Jason Wong
t of people having problems with having SELinux enabled and were resolved when it was disabled. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -

Re: [PHP] read from comport: windows vs. linux

2005-04-06 Thread Jason Wong
display_errors', TRUE); if (!$fp = fopen("/dev/ttyS0", 'w+b')) { echo "\nError! Could not open COMport - Got a terminal open?\n"; exit; } else { $i = 0; while ((false !== ($char = fgetc($fp))) AND $i < 10) { $i

Re: [PHP] Help! mod_php4 upgrade breaks GD!

2005-04-02 Thread Jason Wong
-jpeg-dir=/usr/local -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://

Re: [PHP] Where is php installed on linux

2005-03-25 Thread Jason Wong
ke > > You must specify the real prefix where PHP is installed in the "export" > command. It may be "/usr" "/usr/local", or something else. In your case you have to set PHP_PREFIX to '/usr/local', and before you can proceed you must make sure you have

Re: [PHP] Setting cookies for other domains

2005-03-19 Thread Jason Wong
wser prefs are for preventing these 3rd party websites from setting these 3rd party cookies. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development *

Re: [PHP] shell script - disable log output

2005-03-09 Thread Jason Wong
et('display_errors', 0); // ?? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you po

Re: [PHP] fsockopen and session_start

2005-03-07 Thread Jason Wong
ated POST. Your order of execution should be something like: start session assign values to session close session do the simulated POST -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet &

Re: [PHP] Help with dates

2005-03-06 Thread Jason Wong
However, the functions php provides only allow up to the unix > epoch. manual > Calendar Functions -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * --

Re: [PHP] Passwords?

2005-03-06 Thread Jason Wong
short tags is an optional setting on the webserver and hence may not be enabled in which case your code *will* be displayed as-is. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intra

Re: [PHP] Can't save multiple files if I'm using values pulled from another file...

2005-03-03 Thread Jason Wong
ur file most likely does not have a trailing NL character that is why it is the only line that works. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -

Re: [PHP] Re: patch to php 4.3.10 to disabling URL wrappers in include like statements

2005-03-02 Thread Jason Wong
tp://evilserver.example.com";))); > ?> > > So, like, what's the point to turning off only remote include and > keeping remote file? I believe you're missing the point of the patch. It is to prevent people from injecting malicious remote locations in $somewhere: i

Re: [PHP] Re: patch to php 4.3.10 to disabling URL wrappers in include like statements

2005-03-02 Thread Jason Wong
k that the OP wouldn't go to the trouble of creating a patch (for the latest release of PHP no less) for functionality that already exists! IIRC a request for something similar was made on the list some time ago. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Sourc

Re: [PHP] hash issues

2005-02-25 Thread Jason Wong
second time round you're using the hash for password1 to check against username2, etc. [snip] > username2, password2, e38ad214943daad1d64c102faec29de4afe9da3d > (Second try) Notice that the hash looks suspiciously like 'password1'. -- Jason Wong -> Gremlins Ass

Re: [PHP] replace special characters

2005-02-24 Thread Jason Wong
in > /xxx/xxx/xxx/TMPz06yoces6o.php on line 2." Switch to using a decent syntax highlighting editor and these types of errors will be immediately obvious. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting *

Re: [PHP] hash issues

2005-02-23 Thread Jason Wong
of the passwords are exactly the same. I'm not sure why this is > happening. I strongly suspect you're hashing an empty string. echo "password [$password]"; $pass=bin2hex(mhash(MHASH_SHA1, $password)); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz

Re: [PHP] Re: Minimalist permissions

2005-02-16 Thread Jason Wong
e person" then it doesn't really matter -- just have apache be the owner and the group. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development

Re: [PHP] Minimalist permissions

2005-02-12 Thread Jason Wong
n't find it (even by searching this list). Feel free to > redirect me to existing documentation that I woule have missed, if > needed. http://marc.theaimsgroup.com/?l=php-general&m=105793487024873&w=2 -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source

  1   2   3   4   5   6   7   8   9   10   >