RE: [PHP] XML

2003-07-08 Thread Joe Harman
Okay Petre... You have asked the question that I always wanted to ask!!! I can't wait to see peoples answer... I simply can't find a use for it either Joe -Original Message- From: Petre Agenbag [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 6:27 AM To: [EMAIL PROTECTED

RE: [PHP] date frustrations

2003-07-08 Thread Joe Harman
There is probably a better way than this... But I always use EPOCH when I need to put something in order... You can then just write a function to interperate the date when it need to be readable Hope that makes sense joe -Original Message- From: Shena Delian O'Brien [mailto:[EMAIL

RE: [PHP] Re: Defending - [PHP] New Krysalis version released

2003-07-08 Thread Joe Harman
be valuable to this community... Especially the newbees here On the other side... I can understand why you are against the spam... You probalby will be surprised if you take a look at the quality of their products... joe -Original Message- From: Alexandru COSTIN [mailto:[EMAIL

RE: [PHP] Alex,Joe - Re: [PHP] New Krysalis version released

2003-07-08 Thread Joe Harman
Yeah Ryan... I actually agree with the passive spamming issue... Actually spamming in general... And don't take any offense to my comments... LOL... Cause they totally weren't ment that way... Have a great one! Respectfully, Joe -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED

[PHP] Annoucement Idea

2003-07-08 Thread Joe Harman
it... or set up a rule in Outlook to delete it??? so... just an idea see ya, joe

[PHP] connect to MAS 90 200 with PHP

2003-07-07 Thread Joe Harman
I am curious if anyone is using PHP to connect to a MAS 90 or 200 database?? I am interested in any info on this if anyone has any... THX, Joe

RE: [PHP] New to PHP

2003-07-07 Thread Joe Harman
hers are the ones I still use the most... Good luck Joe -Original Message- From: Hiren Mehta [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 5:28 PM To: PHP Subject: [PHP] New to PHP Hi I am new to PHP and would like to learn more about it. Which would be the best place to start

RE: [PHP] Assignment operator questions

2003-05-31 Thread Joe Stump
Exactly what you just did will work ... ?php $c = 1; $a = $b = $c; ? $a, $b and $c all are 1 now. --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label makers are proof God wants Sys Admins to be happy. -Original Message- From: Andrew D. Luebke [mailto:[EMAIL

RE: [PHP] easy update

2003-05-30 Thread Joe Stump
I prefer apt-get -u dist-upgrade ;) If you follow the static compile in the INSTALL file that comes with the PHP source you can compile it in a matter of minutes. --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label makers are proof God wants Sys Admins to be happy

RE: [PHP] Re: PHP OOP x Procedural Performance

2003-05-30 Thread Joe Stump
of the code is procedural (ie. code that does basic math and organizes the page). --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label makers are proof God wants Sys Admins to be happy. -Original Message- From: rush [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 8:02 AM

RE: [PHP] Links in e-mail

2003-05-30 Thread Joe Stump
Most MUA's will convert http://* or www.* to a link. Otherwise you'll have to send MIME encoded HTML with a href=/a tags. The problem with the second solution is that not all MUA's (ie. mutt) support MIME encoded HTML messages. --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label

RE: [PHP] Re: PHP OOP x Procedural Performance

2003-05-30 Thread Joe Stump
catalog. --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label makers are proof God wants Sys Admins to be happy. -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 8:21 AM To: 'Joe Stump'; [EMAIL PROTECTED] Subject: RE: [PHP] Re

RE: [PHP] strtr question

2003-05-29 Thread Joe Stump
You could do this a number of ways: eregi(), ereg() or str_replace() ... ? $string = What's up?; $string = str_replace(','',$string); echo $string.\n; ? That will output Whats up? --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label makers are proof God wants Sys Admins

RE: [PHP] Variables don't pass... *sniff*

2003-05-29 Thread Joe Stump
. To prevent a brute force as I describe (but not prevent forged cookies by any means) you could do: ?php if($_COOKIE['userID'] !$_GET['userID'] !$_POST['userID']) { echo Valid userID cookie, but still could be forged.\n; } ? --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net

RE: [PHP] strtr question

2003-05-29 Thread Joe Stump
Have you read up on regular expressions? They'll do just what you're looking for: ?php ereg_replace('[ab\.\,\ ]','',$string); // remove 'a', 'b', '.', ',' ? http://www.php.net/ereg_replace --Joe -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net Label makers are proof God wants Sys

RE: [PHP] thumbnails

2003-05-29 Thread Joe Stump
someplace 4.) Just prefix $image_name with 't_' to get the thumbnail I'm sure there are ways to do this within GD, but I've found Convert to be more flexible. I have a class you can download at: http://www.joestump.net/files/software/convert/ --Joe -- Joe Stump [EMAIL PROTECTED] http

[PHP] run extension library as different uid/gid?

2003-05-29 Thread Joe Wong
( this script will call the function in my extension library ) to the specific uid/gid I need, it didn't work. The only way I can make it work is to run Apache as the uid/gid that I needed. But this is surely breaking something else. What should I do in order to resolve this? TIA. - Joe -- PHP General

Re: [PHP] how to read the stuff that got piped (|) to the script?

2003-05-27 Thread Joe Stump
piped (|) to the php-script? i.e. ls -l | /home/myuser/phpscript.php thanks in advance for any help Marco Weber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Joe Stump - [EMAIL PROTECTED] http://www.jerum.com Software never has

[PHP] php.ini question

2003-03-26 Thread Joe Kupiszewski
way and that this method is just a lot of wasted work. Thanks for any thoughts and I am happy to post add'l script details. Joe... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing variable from webpage to php (newbie?)

2003-03-19 Thread Joe Kupiszewski
I think I already tried to post once, so sorry if this is a duplicate, but I don't see my first attempt. I am trying to do what should be a relatively simple and basic task. I've got a php script/page that has a switch/case selection statement in it. Obviously, depending on what value a

Re: [PHP] documentation on pg_escape_string()

2003-03-17 Thread Joe Conway
char *from, size_t length) 8 I presume the PHP function is just a wrapper around this one (but did not actually check). HTH, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] checking array

2003-03-15 Thread joe
what is the best way to check, if a value is NOT in an array? the purpose is to take results from a webpage and check one-by-one if they are in the txt file already. if they are not, i have to write them there.. If they are in there then i just want to leave them alone. this is what i came up with

Re: [PHP] OT Inactivity Timeout

2003-03-14 Thread Joe Goff
use sessions - Original Message - From: Luis Lebron [EMAIL PROTECTED] To: Php-General (E-mail) [EMAIL PROTECTED] Sent: Friday, March 14, 2003 10:03 AM Subject: [PHP] OT Inactivity Timeout This may be more of a javascript question than a php question. But how can I set up an inactivity

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Joe Goff
Put the arguments inside of double quotes instead of single quotes and then try it. $bad_str = str_replace(\r,\n,$bad_str); - Original Message - From: Dennis Gearon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 11:51 PM Subject: [PHP] can't get any string

[PHP] ZEND_SET_SYMBOL compilation error

2003-03-12 Thread Joe Wong
Hi, I am writing a PHP extension on Win32. I put a ZEND_SET_SYMBOL in the php_init_xxx_globals() and it failed to compile under Win32 using VC++ 5.0, the error I got: Y:\php-4.3.0\ext\wmcphp\wmcphp.c(138) : error C2065: 'tsrm_ls' : undeclared identifier Which corresponds to:

[PHP] two questions about usning session.

2003-03-12 Thread Joe Wong
back to the Windows of User A and continue to do something, the PHP session gives me the name of User B and User'B session ID. Why? Am I doing something wrong here? Thanks, - JOE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two questions about usning session.

2003-03-12 Thread Joe Wong
to nocache and after I change it to empty string, it solved my problem. For the second problem, I tried your script with two instances of IE 6.1 running, I didn't get two distinct values. Any idea? - Joe - Original Message - From: Justin French [EMAIL PROTECTED] To: Joe Wong [EMAIL PROTECTED

[PHP] problem using extension.

2003-03-03 Thread Joe Wong
Hello, I have some problem using an extension written by myself. Here are the details: OS. RedHat 7.2 Apache: 1.3.20-16 (out of the box version ) PHP 4.3.0 compiled with: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] browser uploading

2003-03-02 Thread joe
i am operating on safe mode and i need to figure out, how to upload files with php through your browser. copy() is disabled for sure, im not absolutsely sure about other functions. i have heard that it is actually possible but so far i haven't been able to figure out how.. any ideas would be most

[PHP] Database Persistance Layer

2003-02-20 Thread Joe Njeru
reduction will be felt by the end users. Do you know of any ways one can improve on a database persistance layer or should I try to incorporate bothe approaches? Thanks in advance, Joe Njeru Nairobi, Kenya Vote for the Kenyan Safari Rally on www.wrc.com The toughest rally in the world! -- PHP

Re: [PHP] calculating kilobytes

2003-02-15 Thread joe
Greg Donald [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 14 Feb 2003, joe wrote: i searched and i tried and i failed. most of the functions dont work in safe mode, some didnt do what i wanted (returned the whole drive size instead of one d

[PHP] calculating kilobytes

2003-02-14 Thread joe
hi first of all i think this is a great community here :) now to the point... i need a script. it should work on safe mode php so it should be as simple as possible. it should calculate all the file sizes in the directory that it is in and in the subdirectories also (only 1 level subdirectories).

Re: [PHP] calculating kilobytes

2003-02-14 Thread joe
Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 15 February 2003 03:17, joe wrote: now to the point... i need a script. it should work on safe mode php so it should be as simple as possible. it should calculate all the fi

[PHP] PHP 4.3 on win 2k

2003-02-12 Thread Joe Njeru
someone help me out. Joe Njeru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IIS

2003-02-12 Thread Joe Njeru
Hi, I'm using IIS on win2k. Joe Njeru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Writing text files in Windows 2k

2003-02-10 Thread Joe Njeru
does not display the new line. Thanks in advance Joe Njeru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Writing text files in Windows 2k

2003-02-10 Thread Joe Njeru
Thanks for the tip I want to export a report to excell and a legacy system that allow csv file import for incorporation into the financial system. Joe Njeru Nairobi, Kenya. Where else can you flyfish for trout on the Equator! -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] about writing extension

2003-02-10 Thread Joe Wong
? Also, would it be possible to expose my C++ class in my shared library to PHP? TIA. Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Writing text files in Windows 2k

2003-02-10 Thread Joe Njeru
Hi All The following is the text file generated. I'm runing on Windows 2k spack 3, When I open it in Excell it gives me the data but not seperated into lines. Do you have any suggestions. Joe Njeru, Nairobi, Kenya. begin 666 veh_fuel_iss_hist_rpt.csv M,C P,BTQ,2TP,CM!,C R,3DV.U!%5%)/3 M(%-54

[PHP] Code

2003-02-10 Thread Joe Njeru
Hi, This is the code that creates the file function writeln_to_file($str_txt) /* Definition: This function writes/appends $str_txt to the file Parameters: $str_txt; String; The String to be written to file ReturnType: NONE; */

[PHP] need help with preg_match

2003-02-08 Thread joe
Hi I have to alter this code: ?php $fp = fopen ('http://www.whatever.ee/', 'r'); for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024)); fclose ($fp); if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches)) echo'Match: b'.$matches[1].'/b'; else echo'No match !';

Re: [PHP] need help with preg_match

2003-02-08 Thread joe
Thank You very much! It Really works the way I want it to. But i still have a slight problem. The script cant read the data if it is on several rows. For example: table font color=black trtext/tr /font /table Is there a way to fix this problem? Thank You! Chris Hayes [EMAIL PROTECTED]

[PHP] MySQL 4.0 + PHP 4

2003-01-22 Thread Joe Stump
Anyone out there have anything to share as to using PHP4+MySQL4. I've been hearing good things on the MySQL list about v4.0 and I'm thinking of upgrading, since I run a rather small server. Thanks! --Joe ps. PHP list responders please respond directly. I'm not currently subscribed. -- Joe

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
. $filenames[$i] . /option\n; } } Even if I take out the sorting, the file listing order does not change. Any ideas about what may be causing this? Thanks! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
. $filenames[$i] . /option\n; } } Even if I take out the sorting, the file listing order does not change. Any ideas about what may be causing this? Thanks! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
. $filenames[$i] . /option\n; } } Even if I take out the sorting, the file listing order does not change. Any ideas about what may be causing this? Thanks! Joe - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: [PHP] 2 servers for mail implementation

2003-01-03 Thread Joe Mck
Hi, At 07:11 PM 1/2/03 -0800, Roger Thomas wrote: dear all, i have 2 servers that were *given* to me to setup and implement webmail solution for our client. i have done some groundwork in terms of the backend applications that are needed to do this. This doesn't have much to do

[PHP] Excel to MySQL

2003-01-03 Thread Joe LoMoglio
solutions. Joe LoMoglio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Excel to MySQL

2003-01-03 Thread Joe LoMoglio
Thanks Michael and Richard I took your advice and wrote a PHP script to import it. I was having a hard time getting Excel on my Mac to export to CSV and Tab Delim, but finally got it to give me a plain text file which worked fine with fopen(). Joe On Friday, January 3, 2003, at 02:32 PM

Re: [PHP] hyperlink

2003-01-01 Thread Joe LoMoglio
On Wednesday, January 1, 2003, at 02:06 PM, Ezequiel Sapoznik wrote: print($row[banner_nombre] .br\n); Try this: print a href=\ . $row[banner_nombre] . \; print ($row[banner_nombre] .br\n); print /a; Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] hyperlink

2003-01-01 Thread Joe LoMoglio
to go to a page. But for displaying an image. The above code should do the trick. Joe On Wednesday, January 1, 2003, at 03:10 PM, Ezequiel Sapoznik wrote: Thanks for your help! I try, but if you check at http://www.historiadelpais.com.ar/test.php, you can see that I still have the link

[PHP] using mail() with .info emails?

2002-12-29 Thread Joe Popovich
Im trying to send email using mail() to a .info email address and get an error message. I assume the function parses the email address and doesnt accept anything that isnt the customary .net, .com, etc. addresses. How can I get around this? Thanks joe Popovich

[PHP] how can I unsubscribe from this

2002-11-08 Thread Joe Reichmuth, PolyTechDev, GTD USA

Re: [PHP] defining vars within functions as global

2002-09-05 Thread Joe Conway
Justin French wrote: ? function foo() { $foo = aaa; $bar = bbb; } foo(); echo $foo; echo $bar; ? How to I specify that $foo and $bar (defined in the func) are to be set globally (ie, outside the function)? Why not use an include instead of a function? Joe

[PHP] alter switch variable inside case?

2002-08-31 Thread Joe Janitor
I'd like to be able to modify the switch variable inside a case statement, like this: switch ($foo) { case 'step2': do_step2(); if ($error) $foo='step1'; //repeat step1 break; case 'step1': do_step1(); break; case 'a_third_thing': do_something_else(); break; } Can

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread Joe Janitor
If you don't break, it continues to execute all the code until the end of the switch, ignoring any subsequent case statements. In my example, eliminating the break after step2 would cause execution of do_step1(), but also do_something_else(), which is not desired. --- @ Edwin [EMAIL PROTECTED]

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread Joe Janitor
really want is for it to execute do_a and if do_a returns false, print_menu. Joe --- @ Edwin [EMAIL PROTECTED] wrote: Well, you don't have to take away all the break;. :) For example, only here: switch ($foo) { case 'step2': do_step2(); if ($error) $foo='step1'; //repeat step1

Re: [PHP] Re: alter switch variable inside case?

2002-08-31 Thread Joe Janitor
you can. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet Joe Janitor [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL

[PHP] Evaluating server date ranges?

2002-08-12 Thread Joe in Minneapolis
What's the best way to evaluate the server date to see if it's within a specified date range? Thanks! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php backtraces with gdb print gibberish for function name

2002-08-02 Thread Joe Morris
for... getting executor_globals.active_op_array-function_name returns one of my functions, but that's not terribly useful without knowing what line of it caused the segfault. Any suggestions for futher probing? joe

[PHP] Re: difference

2002-08-02 Thread Joe Morris
It was changed for security reasons: http://www.php.net/release_4_1_0.php joe Bob Lockie wrote: What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']? I think the documentation says either can be used to do the same thing. What is the performance difference

[PHP] vertical word match

2002-07-18 Thread Joe Rice
+|\n+|),$word); preg_match(/.$word./im,$answer,$match) works. but if $word = red apple; $answer = r\ne\nd\n\na\np\np\nl\e; it doesn't match. thanks in advance, joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: pgSQL Functions with results set to php?

2002-07-14 Thread Joe Conway
it is released, will have much better capability. You will be able to do: test=# select * from getfoo(1); fooid | f2 ---+- 1 | 11 1 | 111 (2 rows) In cvs HEAD you can do this already with SQL language functions and C language functions. HTH, Joe -- PHP General

Re: [PHP] two way encryption

2002-07-14 Thread Joe Conway
doesn't have mcrypt support. What does phpinfo() show? General encryption advice -- generate your key using urandom and save it to your key file. It will be much more secure than anything you can think up for a good key. HTH, Joe -- PHP General Mailing List (http://www.php.net

Re: [PHP] two way encryption

2002-07-14 Thread Joe Conway
*think* PHP includes any builtin-by-default, non-one-way encryption functions, but I haven't looked in a long time so I could be wrong. You might be able to get your ISP to install mcrypt itself which has a command line utility. Then you could use passthru() I suppose. Joe -- PHP General Mailing

[PHP] Session Events

2002-06-24 Thread Joe Krause
unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out. I need this behavior in PHP. Joe Krause

[PHP] Finding out how a variable was registered

2002-06-05 Thread Joe Pemberton
Is there a function call to figure out how a variable was registered? I am writing a page that handles a form and I need to know whether or not a variable was created using the GET or POST method (I don't want the user to be able to to 'foo.php?var=value' and mess with the results) - - Joe

[PHP] dynamic indexes in arrays

2002-05-28 Thread Joe Pemberton
)); Is there any way to create indexes in arrays from variables? - - Joe [EMAIL PROTECTED]

Re: [PHP] Re: [HELP] redirect browser pass variable !

2002-04-22 Thread Joe
I can do it now. Thanks all of you ! Joe Hugh Danaher [EMAIL PROTECTED] ???:000b01c1e9c5$02ccf460$[EMAIL PROTECTED] { header(Location: http://www.XXX.edu/index.php?variable=$variablesecond_variable=$second_vari able); exit;} You'll get to transfer about 255 characters using

[PHP] [HELP] redirect browser pass variable !

2002-04-21 Thread Joe
I am using header function to redirect browser. { header(Location: http://www.XXX.edu/index.php;); exit;} Although it can redirect the browser but variable had not pass to next page. So can anyone teach me how to pass variable and redirect browser at same time? Thx ! Joe -- PHP

Re: [PHP] redirect browser

2002-04-20 Thread Joe
may be my message are hazy. the line = is not include in my php code/page, i just use it in this message as to divide into different section. Joe Jason Wong [EMAIL PROTECTED] ???:[EMAIL PROTECTED] On Saturday 20 April 2002 09:26, Joe wrote

[PHP] redirect browser

2002-04-19 Thread Joe
about this. Can anyone tell me what's wrong of my code? Thx! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Javascript and PHP??

2002-04-03 Thread Joe Keilholz
would I accomplish this in PHP? Can I incorporate Javascript into my PHP code? If so, how? Any help would be appreciated! Thanks! Joe Keilholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] hidden value

2002-04-03 Thread Joe
? thx! best regards, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making a simple borderless pop up window with a Close button

2002-03-20 Thread Joe Webster
Using the options parameter will allow you to get rid of toolbarts and scrollbars, but NOT the window's border, which the question was asking. -Joe Bvr [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The 3rd parameter to JavaScript function win

[PHP] Re: PHP - mssql

2002-03-20 Thread Joe Webster
); if(!mssql_num_rows( $result )){ die( Username/Password no good ); } else{ die( Everything is okay! ); } like i said, i think all the mysql functions in php have a mssql equiv. -- like mssql_num_rows(). -Joe Chris [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: Search for words

2002-03-19 Thread Joe Webster
out text search. if you go the preg route you need to make sure you form your expression correctly... but for words ... just | will do you fine. -Joe Martin Kampherbeek [EMAIL PROTECTED] wrote in message 006701c1cecb$806e9be0$[EMAIL PROTECTED]">news:006701c1cecb$806e9be0$[EMAIL PROTECTE

Re: [PHP] Hi! Is there any equivalent function with header?

2002-03-19 Thread Joe Webster
I wouldn't say you NEED a full url, it should handle relative URL's as well. I don't know if it's part of the specification, but it will work. As far as your problem I hope that line break isn't in the string and it's just there because of the email. -Joe Jason Wong [EMAIL PROTECTED] wrote

Re: [PHP] Making a simple borderless pop up window with a Close button

2002-03-19 Thread Joe Webster
It only works in IE -- it makes use of the 'Full Screen' (F11) option and tricks IE into doing so... hope you don't want it to work in NS, Opera... or anything else =) -Joe Erik Price [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tuesday, March

[PHP] preg_replace on digit word boundry help

2002-03-18 Thread Joe Rice
with $replace being 123,joe456 how can i also catch the joe456 to end up with 123,joe,456 any help would appreciated. thanks, joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace on digit word boundry in 2 lines how about 1?

2002-03-18 Thread Joe Rice
i can do this if i do it in two line..i'm wondering if it can be done in 1 line. the two lines: $replace = preg_replace(/(\d)(\D)/,\\1,\\2,$digiword); $replace = preg_replace(/(\D)(\d)/,\\1,\\2,$replace); tia, joe Joe Rice([EMAIL PROTECTED])@Mon, Mar 18, 2002 at 12:39:17PM -0600: hi

[PHP] how to include the same file twice?

2002-03-18 Thread Joe Lira
at. if you can tell me what's wrong i would REALLY appreciate it :) thanks joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Variable Variables and Mulitdimensional Arrays

2002-03-16 Thread Joe Webster
would greatly be appreciated, Charlie Hope that helps, still not sure what your question was or if i answered it ;) -Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: vectoring/switchyard php file

2002-03-14 Thread Joe Webster
RewriteRule ^([[:digit:]]+)(/*)$ /__obj.php\?id\=$1 [QSA] We use this rule to rewrite /1234 to become __obj.php?id=1234 and pass and Query String Arguments (QSA) like ?foo=bar and so on. -Joe Dennis Gearon [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

Re: [PHP] Targetted redirection?

2002-03-13 Thread Joe Webster
If you were going to use javascript to do that, use _parent as the target -- that should reuse the window rather than making a new window. -Joe Erik Price [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wednesday, March 13, 2002, at 03:15 PM, B

[PHP] Re: file upload problem (files 7.5mb)

2002-03-04 Thread Joe Van Meer
Hi there:) Are you using the hidden form field with the max file limit set? Cheers, Joe :) Stefan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; i wrote a php uploadscript and it works fine till the file is not larger then 7.5mb. is set the max upload file size in the upladfrom

[PHP] Q: sessions in a switch block not working

2002-02-25 Thread Joe Rice
help would be greatly appreciated. thanks, joe -- How do i get rid of those words in my screen that are coming from you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sessions and templating help

2002-02-16 Thread Joe Van Meer
Hi Justin, are you using ?php session_start(); ? at the top of every page you want to keep the session? Cheers, Joe :) Justin Deutsch [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All, I am running Apache with PHP4 as a module. I have also

[PHP] Re: Sessions that last for ever

2002-02-16 Thread Joe Van Meer
Hi Nigel, you could set a cookie once they enter your site, and check at the top of each page you want accessible with this variable to see if they have it or not. Joe :) Nigel Gilbert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... By default, a

[PHP] Re: How to keep form inputs from being cleared

2002-02-07 Thread Joe Van Meer
fileds( ie : all the form fields are not filled out) you could redraw the form and fill the fields in with those temp vars. Hope these help you out, Joe :) Compman86 [EMAIL PROTECTED] wrote in message 007f01c1b016$bbb45010$dd563944@cc1966780a">news:007f01c1b016$bbb45010$dd563944@cc

[PHP] Re: array variable passing in session.

2002-02-07 Thread Joe Van Meer
Hi Peter, are you limited to using arrays? If not, try msql_fetch_row() since you are only looking for the one record, ie: the corresponding username and password record for the username and password that was passed. Hope this helps, Joe :) ?php session_start(); include(config.php

[PHP] Re: Upload script with user admin

2002-02-01 Thread Joe Van Meer
your needs. HTH Joe :) Lerp [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Deleting and editing is accomplished by selecting out of the db the appropriate record. So if you had a page that looped through 35 (for example) records, and each record ha

[PHP] COM

2002-01-31 Thread Mainolfi, Joe
is anyone out there familiar with COM built into Php? This is my code: $sheet = Range(B6:B9)-Select; $sheet-Selection-Borders(xlEdgeBottom); $sheet-Selection-LineStyle = 9; //xlContinuous $sheet-Selection-Weight = 2; //xlThin I get an error everytime I use the Range method and some other

[PHP] COM Question- Please Help

2002-01-31 Thread Mainolfi, Joe
This is what I am trying to do. I am trying to add a border to the bottom edge of a cell. The Range and some other methods seem to not work with the syntax that the VB editor in excel says. Like Range in the vb editor is Range(A1:B9).Select. When I try this in php it gives me and error. I

[PHP] Re: Images and Mysql

2002-01-30 Thread Joe Van Meer
See my reply to Image fields and PHP on the 14th of january. HTH Joe :) David Orn Johannsson [EMAIL PROTECTED] wrote in message 006501c1a99a$31ce5cb0$6500640a@gandalf">news:006501c1a99a$31ce5cb0$6500640a@gandalf... I need to find out how to upload images to a database and then display

[PHP] Re: application variable

2002-01-19 Thread Joe Van Meer
already set bypass the login and redirect them to a new page. HTH Joe :) Ye Tun [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Do we have application variable in PHP as in ASP? I have a small database running with user name and password kept in MySQL

Re: [PHP] Padding with mcrypt_generic

2002-01-15 Thread Joe Conway (wwc)
Sinclair [EMAIL PROTECTED] Well, if your original files ended in NUL bytes you are out of luck, but I don't think that is likely. You should be able to simply decrypt and strip trailing NUL bytes to get the original files back. See example below. -- Joe = ?PHP

Re: [PHP] Padding with mcrypt_generic

2002-01-14 Thread Joe Conway (wwc)
); return($buffer); } HTH, --Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Decryption

2002-01-13 Thread Joe Conway
at the mcrypt extension and use 3DES or one of the other symmetrical encryption algorithms. HTH, --Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Record Paging Using Arrays

2002-01-12 Thread Joe Van Meer
, not sure if they are appropriate or not though. Thx Joe :) Code: if(!isset($consultantarray)){ //connect to db $connectionToDB = odbc_connect(cdxcffcoltant, jo7gecon, josje7con); //create query statement $sqls = SELECT consultantid, firstname, lastname, city, stateprovince, country

<    1   2   3   4   5   6   7   >