[PHP] WYSIWYG Content Management system?

2003-02-04 Thread J J
I've seen CMS systems like phpnuke but it's kind of overkill for what I need and almost more news like. I'm looking for something that would allow the user to change content, change/upload images, all in a wysiwyg style so it's easy to see and use. It'd be cool to be able to login to the admin ar

[PHP] PHP & Majordomo -- front end or reporting tools?

2003-03-03 Thread J J
I'm looking for something possibly already done in PHP to manage majordomo mailing lists. Also, if there's a way to read some log files and do some reporting ie: - how many messages sent - how many bounced etc Is this possible with PHP or does anyone know of a sample like this to get started?

[PHP] What solution to use for mass newsletter mailing & reporting?

2003-03-05 Thread J J
What do you use for mass newsletter mailing say for 5000+ members every month? At the same time, I'd like to be able to track who opened the message, any links they clicked inside the message, bounced messages, etc. I keep seeing reports that PHP/mail have trouble sending more than a few hundred

Re: [PHP] What solution to use for mass newsletter mailing & reporting?

2003-03-05 Thread J J
Interesting way of tracking everything... and I like the idea of the pop-up being able to query the database for current status. For now, I'm firing off a process with no timeout and it can run even after browser abort... but no real way to check on it other than I send a "mailing complete" type e

[PHP] Mailing list/message board combination?

2003-03-11 Thread J J
Is there something available that acts as both a message board and mailing list where: - users can interact via email online (mailing list) with all message being stored in message board format for web browsing - users can reply and create new discussions via the web message board which also send

[PHP] Using PHP to read style sheet -- create drop-down?

2003-07-02 Thread J J
Is it possible for PHP or maybe javascript+php to read in a style sheet (whatever.css) and create a drop-down of all the elements within that style sheet? CSS contains: .heading {blah blah size blah} .headingBold {blah blah size blah bold} Then in PHP I'd like to have a drop down that shows thos

[PHP] PHP form builder?

2003-07-03 Thread J J
I've seen survey tools before to build surveys dynamically with PHP code, but I'm looking for something a bit more simple that just allows you to build HTML forms dynamically. Something where I say I need 10 fields, some checkboxes, a submit button and it then generates the form on the fly. Then

[PHP] File management system

2003-03-20 Thread J J
Anyone have a good recommendation for a file management system that would allow the average person to browse certain files/directory on a web server and possibly make edits. Then the front-end would sort of catalog those files and index them so the web user could browse/search and open the files?

Re: [PHP] File management system

2003-03-20 Thread J J
Yeah I think I've seen that one... looking for a php/mysql solution if possible. Thanks! --- Mike <[EMAIL PROTECTED]> wrote: > Webmin has some good stuff. (it's a java applet > though...) > > On Thu, 2003-03-20 at 06:14, J J wrote: > > Anyone hav

Re: [PHP] mysql_num_rows

2003-04-04 Thread J J
Try: ($select_total_rows == 0) instead. That and maybe echo $select_total_rows; to see what it's returning. --- Mike Tuller <[EMAIL PROTECTED]> wrote: > I can't get mysql_num_rows to work for some reason. > Here is a snippet > of what I have > > > $department_name = $_POST['departme

Re: [PHP] mysql_num_rows

2003-04-04 Thread J J
oh and your SQL statement is wrong: SELECT * FROM table WHERE you are missing the FROM... --- Mike Tuller <[EMAIL PROTECTED]> wrote: > I can't get mysql_num_rows to work for some reason. > Here is a snippet > of what I have > > > $department_name = $_POST['department_name']; > > $selec

[PHP] phpMyAdmin to output CSV to excel (including fieldnames)

2003-06-16 Thread J J
I see all the options in phpMyAdmin for CSV/excel output but I can't get it to export the fieldnames, headers as well. It'd be nice to have it automatically do that into excel so the output is easier to follow and provide to someone else. Am I just missing the option in phpMyAdmin or does it not

[PHP] Source/version control?

2003-06-23 Thread J J
What tools do you recommend or use for a team environment that will allow us to maintain source control and even offer some version tracking/history in case we need to go back to old code? We need the ability to check-in and check-out files in a team environment --- normally just HTML and PHP typ

[PHP] Timezones and Daylight Savings Time

2003-09-25 Thread J J
Got a client site in Thailand that is about 13 hours different from the Web Server time so with any date/time stamping I need to add the 13 hours. However, when it comes time for DST, I'd hate to have to code for that or remember to manually change the time stamping. Is there some kind of automat

RE: [PHP] Timezones and Daylight Savings Time

2003-09-25 Thread J J
They want everything set to their time, so it would probably be easier just to determine the server time and add as necessary. I think... --- Jeff McKeon <[EMAIL PROTECTED]> wrote: > What if you set the server to use UTC and then used > the clients local > system setting to offset it for each cl

[PHP] PHP form to fax?

2003-09-25 Thread J J
I know in the past it wasn't possible to do something like have a user fill out a web form and that information would then be sent to a fax machine. This would require some sort of dialing abilities on the server. Is there anything available today that could perform such a function possibly withi

[PHP] Page breaks and printing?

2003-10-17 Thread J J
Is there a good way in PHP to determine page breaks for long reports and printing? I'd like to be able to best determine where pages should begin and end and reprint things like table/page headers and footers on each page so the reports print nicely. I'd like to avoid having to output to PDF or W

[PHP] Avoiding duplicate orders?

2003-11-20 Thread J J
What is the simplest way to avoid duplicate order entry on a form? Some people aren't patient enough to wait for the SSL/credit card processing and will click the submit button two, three, or more times causing duplicate orders. Is there a quick way to disable the submit button at least in javasc

RE: [PHP] PHP form to fax?

2003-12-03 Thread J J
as well. > Any fax to your jfax > number (you can get them worldwide) is turned into > an image and emailed > to you as an attachment. > > > > > -Original Message- > > From: J J [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 25, 20

[PHP] Finding records within 15 minutes from now?

2005-04-12 Thread J J
I'm struggling with the php or mysql query to find records within my database that are within 15 minutes from now and prior. Example: It's 2:30pm on 4/12/05 I need to find all records with a RecordTime of 2:45pm and previous. So it should find: rec1 time: 2:45 date: 4/12/05 rec2 time: 2:00 date:

[PHP] Streaming video BLOBs from MySQL

2005-04-14 Thread J J
I have a case where video files (mov, flv, etc) have been stored in a MySQL database as blobs. I'm loading them into a flash video player and everything works fine except it takes longer it seems and it doesn't allow streaming the actual video. If I load the same videos with a direct link to the

Re: [PHP] Streaming video BLOBs from MySQL

2005-04-16 Thread J J
owser is simply going to load that 1mb only, right? How do I keep looping and refreshing the users browser, or in this case, flash player? Thanks for any ideas! --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > J J wrote: > > I have a case where video files (mov, flv, etc) > ha

[PHP] Unique ID system - need help/ideas

2004-03-10 Thread J J
I was given a database that has uniques IDs such as: AL1 AL2 AR1 AR2 MI1 etc... The first two letters are based on the state they live in, then it would need to look at the next 5 characters to determine the next ID. My problem is how do I recreate this in PHP to make sure

RE: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread J J
ke KY3, AL4, KY5, etc. Make sense? --- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > J J <mailto:[EMAIL PROTECTED]> > on Wednesday, March 10, 2004 3:46 PM said: > > > Any ideas? Thank you in advance! > > does it all have to be in th

RE: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread J J
Will it be able to figure out what the last number is if it's a character type and the number is something like 3? So it'll add one to make it 4 and not something like 10003. ?? --- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > > yeah that makes sense. hmm.. well i'll give you my > ide

RE: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread J J
Yeah thanks for the feedback, I'm already including a primary key auto_increment field in place to tie the tables together with an ID I *know* will be unique. This other ID scheme is just to work within their existing system that uses this. I'm just trying to mirror/maintain that scheme for their

Re: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread J J
Wow I think you are on to something!!! I'll give it a whirl! Thanks! --- [EMAIL PROTECTED] wrote: > On 10 Mar 2004 J J wrote: > > > My problem is how do I recreate this in PHP to > make > > sure any newly added records follow this same > unique > > ID? &g

[PHP] Thumbnail

2002-12-22 Thread j
Hi all , i want to generate the thumbnail of an image but I want my php to be portable. So how can I generate thumbnail without depending on php host configuration (like --with-gd) ? Thanks . Perseus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] How to generate thumbnail ?

2002-12-22 Thread j
Hi all , i want to generate the thumbnail of an image but I want my php to be portable. So how can I generate thumbnail without depending on php host configuration (like --with-gd) ? Thanks . Perseus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] php 4.0.6 Multi-Server Session Problems

2001-07-24 Thread j
Hi everyone. We have two webservers set up to be loadbalanced. As you could imagine that's a bit of a problem with sessions, but I figured out how to get around that. (actually that was kind of easy). You set up the php.ini to save the session files in a mutual drive. For example, we have a n

[PHP] scandir and ftp wrapper

2007-04-02 Thread j
wing error. Warning: scandir(ftp://[EMAIL PROTECTED]/): failed to open dir: not implemented in /path/to/file.php on line 9 I checked phpinfo and ftp is included in the registered streams list. allow_url_fopen is set to on. Any suggestions why this code is not working? Thanks j. -- PHP General Ma

[PHP] Re: Connecting binary & php together

2002-12-03 Thread J Smith
27;s the latter, then look at sapi/embed, which lets you cram the PHP interpreter into any sort of application or library. It's still experimental, but it's a step in the right direction. J Stephan Seidt wrote: > Hi > > I'm thinking about the best way to connect a c(+

[PHP] Re: Decrypting mcrypted strings on Windows desktop

2002-12-04 Thread J Smith
Why not set up some kind of public/private key system? Each customer has a public key that you can encrypt with, send them the data and have them decrypt it with their private key. PGP would be the obvious choice, or GnuPG for that matter. J Geoff Caplan wrote: > Hi folks, > > B

[PHP] Re: stripping spaces from a string

2002-12-06 Thread J Smith
Regular expressions would be overkill. Try $newString = str_replace(" ", "", $oldString); J Jule Slootbeek wrote: > Hi, > > What's the best and easiest way to strip all the spaces from a string? > do i use regular expressions for it? > > TI

[PHP] Re: Encrypt and decrypt cookie

2002-12-18 Thread J Smith
Note that IVs only affect block cipher modes other than ECB mode. ECB mode ignores IVs completely. J Titu Kim wrote: > Hi, >I am using libmcrypt-2.5.3 to do encryption in php. > I use exactly the steps provided in mcrypt_module_open > available on php website > http://

Re: [PHP] mcrypt

2003-01-02 Thread J Smith
As I've said a bunch of times, I hate plugging my own software, but you can try cryptopp-php, which should provide all the encryption you need, and it works on both UNIX and Windows. http://www.tutorbuddy.com/software/ J Alex Piaz wrote: > As far as I know, there is no mcrypt

[PHP] Re: Creating an extra library

2003-01-06 Thread J Smith
/configure, make, make install, etc. on the XSLT directory to build your xslt.so shared object. 4. Modify php.ini to load the new extension, or use the dl() function in your scripts. Of course, you'll also have to install Sablotron and such as well... J Tom Vandeplas wrote: > Hi all,

[PHP] Re: occasional mcrypt problems

2003-01-13 Thread J Smith
storing the IV along with the ciphertext is not a security problem. I'm not sure what mcrypt uses for padding on it's various block cipher modes, but it might help. It'll be more secure than ECB, at any rate. J Steve Yates wrote: > Hello, > > I recently implemented a

[PHP] Re: occasional mcrypt problems

2003-01-14 Thread J Smith
nvert. Just write a script that converts the old data to the new cipher mode and shove it back in the database. Storing the IVs would naturally increase the storage size by a few bytes per record, but the increased security might be worth it. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: str_replace an include

2003-01-21 Thread J Smith
I'd recommend looking at the output buffering functions. Something like this would probably work... ob_start(); include("links.php"); $file = ob_get_contents(); ob_end_clean(); The result of parsing and executing links.php will be in $file. Do with it what you will. J Jesse

[PHP] Re: forking scripts

2003-01-21 Thread J Smith
PHP can fork scripts. Refer to the pcntl extension. http://www.php.net/manual/en/ref.pcntl.php You'll be wanting to use pcntl_fork()... J Senn wrote: > Hi, > > Since php does not have child -> parent forking methods, can anybody > suggest a method to achieve this. &g

[PHP] Re: Extending PHP

2003-01-23 Thread J Smith
Look at PEAR's PECL project: http://cvs.php.net/cvs.php/pear/PECL J Mh wrote: > I am looking for 3d party extensions of PHP like PHPTurbine. Anything > will > do, I am just curious whats available. Anyone know of any sites dedicated > to PHP extensions that I can look at?

[PHP] Re: 4.3 Install on Solaris

2003-02-01 Thread J Smith
ke can find the GNU sed before it finds Sun's sed by putting /usr/local/bin before /usr/bin in your $PATH. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php_mcrypt.dll

2003-02-21 Thread J Smith
don't think the PHP module API changed between the two versions. (I know, it's a shameless plug and I hate doing it, but it might help...) J Daniel Guerrier wrote: > I'm trying to use the mcrypt function on winXP using > php 4.3.1 and IIS 5. First the dll would not loa

[PHP] Re: Does PHP supports threads?

2003-02-27 Thread J Smith
Actually, there's a threads extension in PECL: http://cvs.php.net/cvs.php/pear/PECL/threads J Justin Garrett wrote: > PHP does not support threading. Depending on what you're trying to do you > may find the process control functions useful > http://www.php.net/manu

[PHP] Re: Help with Extending PHP

2003-02-27 Thread J Smith
This might help: http://www.tutorbuddy.com/software/phpcpp/phpcpp/ J Michel M. Dos Santos wrote: > > > Hi, > > I have a doubt about extending functions in PHP. I want to use C++ > language rather than C pure. I saw that dotnet module has cpp file. Is it > possibl

[PHP] Re: Search/Regular Expression problem

2003-03-13 Thread J Smith
If you're splitting them up with preg_split(), you can combine them with implode(). Something like $foo = ".*" . implode(".*", $words); Or don't use an array at all. Just replace anything that's not a valid search character... $regex = preg_replace("/

[PHP] Re: Replacing newlines (\n) with smething else

2003-07-13 Thread J. Cox
sn't work. > > $article = str_replace("\n", "", $article); > > What am I doing wrong? $article is the string to replace the newlines > in. I tried this with a period and that works as expected. Can I not > replace newlines this way? why not just: $article = nl2b

[PHP] Re: PHP should know my data!

2003-07-24 Thread J. Cox
"Chris Hubbard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hmm. You're right. Maybe something like the following would help: > > if ($_SESSION["irony"]) > { > $rs = enjoyJoke($_POST["msg"]) > }else{ > $rs = fixProblem($_POST["msg"]) > } > echo "". $rs .""; > > ?> This isn't

[PHP] Re: mail problem

2003-07-26 Thread J. Cox
"Paul Marinas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, i have to send some e-mails with pictures, in html format, i was > wondering if anyone knows where to find a php class that dose this. http://phpmailer.sourceforge.net/ should d

[PHP] MIME Mail Problem with Netscape

2003-08-10 Thread Hendry J
Hi all, I'm having problem sending MIME Mail using PHP (SMTP) to netscape.net emails, it didn't display the content of html, (although i've filled the content-type with text/html), instead, it display the garbled text. I've tried to encode the message with 7bit and base64 encoding, but those don

[PHP] imagecreatefromjpeg() problems

2003-08-16 Thread J-K
Hi! I've made a little script to make thumbnails which worked before the summer, but now I get this errormessage: Fatal error: Call to undefined function: imagecreatefromjpeg() in /usr/local/others/www.stud.users/mark/gfx/create_tn.php on line 15 First I thought they had

Re: [PHP] imagecreatefromjpeg() problems

2003-08-17 Thread J-K
t; At 2003-08-16 14:35 +0200, J-K wrote: > >I've made a little script to make thumbnails which worked before the > >summer, but now I get this errormessage: > > > >Fatal error: Call to undefined function: > >imagecreatefromjpeg() in > >/usr/local/others/www.

[PHP] Help to redirect with variables

2003-08-19 Thread J. P.
I Guys: I have php 4.3.1 so the global scope is off. Reading php manual: "...or $_GET['id'] from the URL http://www.example.com/test.php?id=3 instead of $id..." But I made a script writing: $nome And the variables goes to url: http://localhost:8080/LivroPHP/c08p160.php?identif=15&telefon=23456987

[PHP] Why this script doesn't work?

2003-03-27 Thread J. P.
I'm using Apache 2.0.44 with Win XP and PHP version 4.3.1! begin 666 c07p115.php M/"%$3T-465!%([EMAIL PROTECTED]"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,"!4 M3X-"@T*/#]P:' -"F9U;F-T:6]N(&UOPT*9VQO8F%L("1N;VUE.PT*9VQO8F%L("1E M;6%I;#L-"F=L;V)A;" D;&EN9W5A9V5M.PT*9VQO8F%L("1BF%D;W(@)7,@8W5J;R!E;F1Ehttp://

[PHP] sript doesn't work

2003-03-27 Thread J. P.
Hello! I am using Apache 2.0.44 and WinXP. I have PHP 4.3.1. When i run the script the first page appears. But when i submit nothing appends. What's wrong? Nome: Email: Qual a sua linguagem de programação preferida? PHP C++ C PERL Qual o seu browser web preferido? Netscape Navigator Intern

[PHP] why this sript doesn't work

2003-03-27 Thread J. P.
Hello! I am using Apache 2.0.44 and WinXP. I have PHP 4.3.1. When i run the script the first page appears. But when i submit nothing appends. What's wrong? Nome: Email: Qual a sua linguagem de programação preferida? PHP C++ C PERL Qual o seu browser web preferido? Netscape Navigator Intern

Re: [PHP] Re: Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread J. Cox
your pages, no need to upload > since you can point your webserver to where you are developing your php. > > andrew Or you could use something like FoxServ: http://foxserv.linuxmax.net/portal.php J. Cox http://www.dinerminor.com http://www.postnuke.com -- PHP General Mailing List (htt

Re: [PHP] mcrypt

2002-07-31 Thread J Smith
re people who use my extension the easier it is for me to debug...) J Purushotham Komaravolu wrote: > Hi, > Thanks for the prompt answer. But I am still getting the same error. > > / > origina

[PHP] Re: ADVANCED PHP (SOCKETS)

2002-08-14 Thread J Smith
Although pcntl and fork() were mentioned, you might want to look at socket_select() as an alternative. Using socket_select(), you can set up a multiplexer to handle multiple sockets at the same time. (Or roughly the same time...) J Gustavo Almeida wrote: > > > I would like to k

[PHP] Re: good read on regular expressions

2002-08-15 Thread J Smith
"Mastering Regular Expressions", by Jeffery E.F. Friedl, published by O'Reilly. It's the regex bible, and although doesn't do much in the way of PHP specifically, the idea is the same. (And the Perl examples can be used without too much modification with PHP's pr

[PHP] Re: assoc array question

2002-08-15 Thread J Smith
Perhaps something like... $i = 1; while (list($key, $val) = each($info)) { if ($i == 1 || $i == count($info)) doThis; else doThat; ++$i; } ? J Alexander Ross wrote: > I have this: (note that $info is an Assoc Array > > while (list ($key, $val) = ea

[PHP] Re: str_replace question

2002-09-01 Thread Gregor J
Same as with ".$reserved_words.", i get Array :) "Chaillan Nicolas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What about a > str_replace($reserved_words, "$reserved_words",$string); > > Tell me. > > > -- > Merci de nous avoir choisi. - Thanks you for you

[PHP] Experiences with Zend Safe Guard?

2002-09-24 Thread J Smith
ooking forward to it's release ever since I found out about the tool. (About a year ago plus change.) Anyways, experiences? Good? Bad? Worth it? Thanks. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Protecting files in PHP

2002-10-01 Thread J Smith
filesystem links or the PHP function readfile(). J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread J Wynia
PHPTriad 2.2 will work on XP. No, Sokkit is not out yet. Sokkit will most definitely work on XP as that's what I'm developing it on. Stephen wrote: > Is this even out yet? I have PHPTriad 2.2 I'm pretty sure. > > - Original Message - > From: "Tyler Longren" <[EMAIL PROTECTED]> > To: "St

[PHP] Re: Export email addresses from Outlook Express with PHP

2002-10-03 Thread J Wynia
Arnaud CastéRan wrote: > Do you think it is possible to export email addresses from Outook Express > with PHP. > I looking for a script using COM but i only found exemples for MSOutlook. > What i want to do is an address book for each members of my site > (www.universemail.net a directory of emai

[PHP] Re: PHP from behind a proxy-server ??

2002-10-16 Thread J Wynia
You can use the CURL module to do this fairly easily as it has a proxy setting. Some example code available at: http://www.phpgeek.com/articles.php?content_id=29 Rob wrote: > hi, > > i'm trying to get phpMySetiStats (phpmysetistats.sourceforge.net) > running on my NT4 box (Apache 2.0.39, PHP 4

[PHP] Re: the xml functions

2002-10-24 Thread J Wynia
efine   as a valid entity in your DTD and make sure that all XML strings have a DTD when they are fed through the parser. J Wynia phpgeek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML and XLS Sablotron

2002-10-30 Thread J Wynia
Daniele Baroncelli wrote: Dear all, I am just approaching to XML and I would need some explanation, which most of you will probably consider very trivial. I have read about the XLS Sablotron functions, which are able to apply XLS stylesheets to an XML document. My question is: if my aim is to

[PHP] PHP crypto extension news

2002-11-04 Thread J Smith
n Crypto++ 5.0 that have been fixed in CVS -- they shouldn't affect cryptopp-php in any way, but there may be bugs in my code that haven't been weeded out yet, as this version hasn't been tested and is a near-total re-write from 0.0.8. Any bugs reports or comments would be appreciate

[PHP] Re: php IDE for linux

2002-06-04 Thread J Smith
Quanta is for KDE, too, not GTK. J Henrik Hansen wrote: > [EMAIL PROTECTED] (Pedro Jorge Dias Cardoso) wrote: > > > please tell me a good PHP editor for linux, wich one you prefer. > > or a package for PHP in Xemacs. > > I saw recently that phpedit comes out o

[PHP] Re: OT cron/perl/php..

2002-06-05 Thread J. Younker
also have to change the permissions to have the file executable. HTH, J. Kelly Meeks wrote: > I've found a really handy php script (mysqlphpbak) that will backup all mysql >databases for me via mysqldump. > > I'm using a cobalt raq server, and according to them, I can create

[PHP] Regular Expressions Help

2002-06-05 Thread J. Younker
= "http://\\2\\3";; $URL = eregi_replace($pattern, $replace, $URL); I've stared at this expression for too long and can't figure out what's wrong. Thanks, J. Younker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular Expressions Help

2002-06-05 Thread J. Younker
Thanks, Jim! That's exactly what I needed. J. Jim Lucas wrote: > not sure why you have such a complex reg there, but will this work for you. > > preg_replace("/(http:\/\/)?([^\/ ]*)(.*);/", "http://\\2\\3";, $str); > > \\1 = http:// ; if there >

[PHP] NEWBIE- Is this possible? How?!

2002-06-06 Thread Kevin J
background in PhP. I would basically like to know what it is I am looking for to creating this. I have bought Beginning PhP 4 by Wrox, and I am slowly getting into it. I just need some direction please. Thanks, Kevin Thanks, Kevin J -- http://www.wishpocket.com -- PHP General Mailing List (http

Re: [PHP] NEWBIE- Is this possible? How?!

2002-06-06 Thread Kevin J
bers themselves contribute to the site, instead of me always doing it. It might bring people to the site more often, and make it more interesting for the band members. I just have to figure out whwre to start, thats all. Thanks, Kevin J "Justin French" <[EMAIL PROTECTED]> wrote in

[PHP] is there a way to track downloads

2002-06-23 Thread Kevin J
have them shown on the page (if possible) Thanks for any help, Kevin J -- http://www.wishpocket.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is there a way to track downloads

2002-06-23 Thread Kevin J
Hello, My fault, I didn't state that i was a complete Newbie to PHP. I am looking at scripts and realize that I need to use a database for this, etc... so I am just gonna forget the whole thing. Thanks anyways Kevin J "Duncan Hill" <[EMAIL PROTECTED]> wrote in message [E

Re: Re[2]: [PHP] is there a way to track downloads

2002-06-23 Thread Kevin J
ble... and from there I am lost. Sorry for giving up, but it seems to hard for me, plus I only have about 2 weeks to learn PhP, if I wanted to implement this... I don't think that is possible. Kevin J "Julie Meloni" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">

Re: [PHP] parsing domains

2003-08-28 Thread Mike J
> str_replace('/www.','/',$parseddomain); wont this just make me get a .com when I use my thing to parse the domain? -- ___ Get your free Verizonmail at www.verizonmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] parsing domains

2003-08-28 Thread Mike J
> So why does college suck? Afraid of learning? Feel free to ask me off the list and I'll explain why I started the site. Thanks for the code. Anyway way of making it one line and with the leading "."? J. -- ___ Get your f

Re: Re[2]: [PHP] parsing domains

2003-08-28 Thread Mike J
remove the www -lol. J. -- ___ Get your free Verizonmail at www.verizonmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP "Smart Refresh" for looping server lookups

2003-09-20 Thread J. Cox
ance =) Why not do a meta refresh with the time as a variable to be configured? Seems to me to be the easiest way to do it. J. Cox http://www.xaraya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting the FULL path

2003-10-02 Thread J Morton
$_SERVER['SCRIPT_FILENAME'] or $_SERVER['DOCUMENT_ROOT'] Justin zavaboy wrote: > How do I get my FULL path... I made a web-based installer and it uses a > path. > > Ok, my path to where I need it is: > /home/jimbug/public_html/zavaboy/phptest/ZML > > Using dirname(): > /phptest/ZML > > Why is th

Re: [PHP] passing form information.

2003-10-02 Thread J Morton
Payne wrote: > Hi, > > I am working a form to pass information from it to mysql data. I am > able to connect to the database. But nothing is being pass from the form > to the php page. This is my php code... > > -form.html

Re: [PHP] Dates

2003-10-02 Thread J Morton
date("Y-m-d", strtotime($your_date)) Payne wrote: > Hi , > > This might be mysql question but how can I change a US format date > (mm/dd/) to a MySQL Format (/mm/dd). Can I do this will php or > will need let say javascript or perl to do this? > > Payne > > -- > PHP General Mailing List

Re: [PHP] date brain teaser

2003-10-02 Thread J Morton
Sure -- "; } $this_date = date("n/j/Y",mktime(0,0,0,date("m", strtotime($this_date)),date("d", strtotime($this_date))+1,date("Y", strtotime($this_date; } ?> Shew wrote: > Hi, > > I'm trying to find a formula for dis

Re: [PHP] date brain teaser [fix]

2003-10-02 Thread J Morton
Sorry I had a parentheses out of place, it should have been: "; } $this_date = date("n/j/Y",mktime(0,0,0,date("m", strtotime($this_date)),date("d", strtotime($this_date))+1,date("Y", strtotime($this_date; } ?> Hope this helps, Jus

Re: [PHP] Re: ADDR.COM

2003-10-02 Thread J Morton
I, for one, will be glad to see they are gone (if indeed that is the case). By the way the site is loading fine for me. They have shifty business tactics and actually used my design and one of my clients as part of their "portfolio" -- claiming it as their own I have never had any affiliati

[PHP] Converting various DB's to MySQL using PHP

2003-10-02 Thread J Morton
Hi all -- Summary: Using PHP, need to go from ACCESS -> MySQL. (Millions of records, hundreds of tables.) I am about to embark on a project over the next week which entails (in part) developing a PHP platform that will convert an Access DB to MySQL, as well as perform all needed error-checking a

Re: [PHP] set the PHP to look at library files.

2003-10-03 Thread J Morton
I would suggest creating a path alias in your Apache httpd.conf file to recognize (i.e) /includes/ and redirect as needed. Justin "Golawala, Moiz M (IndSys, GE Interlogix)" wrote: > Hi, > > I am running PHP with apache. I put all my webpages in the htdocs folder. A lot of > my scripts use a bun

[PHP] preg question

2003-10-07 Thread Mike J
I want to pull the title (example) of a webpage out of some text. The end result being "example". What preg function should I use and can someone give me the the code that will do it? J. PS. I've been on php.net trying to figure it out. --

[PHP] Re: Choosing a CMS?

2003-10-19 Thread J. Cox
"Joel Konkle-Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I've looked at PHPNuke, just because that's the only thing that jumps to > mind, but I want to make sure I'm not missing anything before I dive in > with it. Have a look at Xaraya -- http://www.xaraya.com It may

[PHP] Re: Session hijacking

2003-10-19 Thread J. Cox
f by default and mentioned that they were going away in the future. In addition, take a look at some of the other suggestions that were made, beyond this one. J. Cox http://www.xaraya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Re: Session hijacking

2003-10-19 Thread J. Cox
e manual;) Nice catch. J. Cox http://www.xaraya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: output

2003-10-25 Thread J. Cox
reporting = ~E_ALL > > display_errors = Off > > Any ideas ? > I'm assuming that you are trying to turn off error reporting. http://www.php.net/manual/en/function.ini-set.php Should get you started, or you could suppress the errors with @. Am I in the right ballpark? J. Cox htt

[PHP] help with EVAL direct

2003-11-04 Thread j . sobotka
Hello, you are last help help my please OS RedHat 9 and RedHat 7.2 Apache 1.3.27 and Apache 2 I have problem with direct eval, in version PHP4.2.2 is all OK in version PHP 4.3.3 -> direct eval bad here cut code $s = '$ret = ibase_execute($this->query, $arg_list[0], $arg_list[1], $arg_list[2],

Re: [PHP] help with EVAL direct

2003-11-05 Thread j . sobotka
"Cpt John W. Holmes" wrote: > From: <[EMAIL PROTECTED]> > > > OS RedHat 9 and RedHat 7.2 > > Apache 1.3.27 and Apache 2 > > > > I have problem with direct eval, in version PHP4.2.2 is all OK > > in version PHP 4.3.3 -> direct eval bad > > > > here cut code > > > > $s = '$ret = ibase_execute($this-

Re: [PHP] Tip for cookies

2001-04-17 Thread Beth J.
To prevent further hair loss, realize that this is true for ALL variables declared outside the function, including form variables and session variables. Either pass them as parameters or use the 'global' declaration in the function, as Don did. Don Read wrote: > On 17-Apr-01 Pat Hanna wrote: > >

  1   2   3   4   5   6   7   8   9   10   >