On Mon, 2005-04-04 at 17:07 +0300, William Stokes wrote:
> Hello,
> I might have asked this already but I am still ignorent ;-)
>
> How to check if a same name file already exists in a upload directory when
> uploading new file?
>
> Thanks
> -Will
>
http://www.
roblem getting it done while working on other projects), but
> I've never actually done paid work before... It's more that I just recently
> moved to Canada (from Denmark) so I have no feeling with what the prices
> and rates are overhere ...
>
$x = Wh
che handles this... or your web server.
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP, Ruby, and PostgreSQL Development
*
> that copy later and use it as a PHP object?
>
> thnx,
> Chris
>
Try serializing it first.
What happens when you run:
echo $this;
..your query is going to save the same thing.
try serialize($this) instead.
-Robby
--
/***
* Robby Russel
for resizing:
http://blog.planetargon.com/archives/44-Image-Watermarks-in-PHP.html
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Devel
On Wed, 2005-03-02 at 13:15 -0800, Robby Russell wrote:
> On Wed, 2005-03-02 at 02:45 -0800, Ryan A wrote:
> Very flexible and runs on PostgreSQL.
>
> http://www.pgcart.com/
>
Oops, forgot to provide link for an example of it in production:
- http://www.johnbenza
g that is open source (does not have to be
> free..but not expensive) so i can play with the code if need be.
> The reason i was leaning towards a cart is, if he ever decides to sell
> online, i dont want to build a whole extra piece of software to go with the
> catalog.
>
>
ff that's not needed and too much trouble to remove.
>
Some info in this post might help you:
http://blog.planetargon.com/archives/44-Image-Watermarks-in-PHP.html
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | ww
li interface documentation? Is it in the
>MySQL documentation or the PHP documentation (or both or neither)?
>
Do you have mysql-devel installed? (since you installed via RPM).
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.pl
On Thu, 2005-02-24 at 17:49 -0500, Randy Johnson wrote:
>Is there a Wiki site for PHP? Is there a need for one?
>
>-Randy
The php.net site doesn't really need a wiki.
or did you mean is there a php-based wiki?
http://www.google.com/search?q=php
x27; with using $_REQUEST instead of
> specifying between $_POST and $_GET?
>
> Will Beers
It really depends on the circumstance. Typically, do not use it unless
you are totally okay with the data coming from $_GET or $_POST. For
security-minded people, it's best
e
so:
.. if php is properly configured, this will never be displayed
at /db.inc.php ... will just show a blank page
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730
SERVER);
what do you see?
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
/
nks
>
> Tim
>
What operating system?
In linux you'd use
rm -rf /path/to/dir
and add this to crontab.
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351
168.0.2'
> [zone][mydomain.com][type] = 'master'
> [zone][mydomain.com][notify] = 'yes'
> [zone][domain2.com][type] = 'slave'
> .
> .
You might try googling for some existing classes that do this.
http://sourceforge.net/projects/phpbind/
--
/***
- Brian
>
Is this data coming from a database? If so, just set a limit at the end
of your query...
example: SELECT * FROM blog ORDER BY id DESC LIMIT 10;
..will return the latest 10 entries.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* P
PHP based forum software?
> --
> Send REAL USPS letters from the Web!
> http://www.quickymail.com
>
> e attacked phpbb.com did indeed use a vulnerability in awstats to gain
> entry to our server
>
--
/***
* Robby Russell |
edirect the user. I get this error on the webhost, but not on my
> local host.
>
> I've searched and found that this can be caused by spaces after the
> closing php tag, but I don't have any.
>
> What could this be?
>
>
> Tim
>
try adding:
ob_start(
t calls the main print.
try return instead of print.
example:
function supScript($txt)
{
return "{$txt}";
}
print "2" . supScript("3");
You shouldn't print a function that prints.. ;-)
-Robby
--
/***
* Robby Russell | O
ome adjustments to Apache to allow you to do
this.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
*
nsert this data in MySQL
> database. It this posible?
>
> I'm a newbie in PHP/MySQL, any ideas?
>
> Thanks,
>
> excuse my english
>
You can probably search online and find some tutorials for this. Some
terms that m
se its value
>
> so if $x was "offers" on echo I would have (250) <-- "$isofferssorttext"
> if $x was newproducts on echo I would have (350) <--
> "$isnewproductssorttext"
>
> Thanks in advance
>
> Mario
>
This seems like an odd appr
.
POST might be the easiest route without showing in the URL.
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/
ch, by the way, makes a hell of a lot more sense. It's just an HTTP
> response header like any other response header and it is called
> Location, not Redirect.
>
> -Rasmus
>
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET AR
;
Sure you can..
class Response
{
function redirect($location)
{
header("Location: " . $location);
}
function write($text)
{
print $text;
}
}
Response::Redirect("http://www.planetargon.com/";);
Response::Write("bar");
There, now we can compete with A
I don't think it would go anywhere:
> [EMAIL PROTECTED] wrote:
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/Postgre
On Tue, 2004-12-28 at 18:09 +0100, Steven Spierenburg wrote:
> to see if i can post...
>
no, you can't.
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 5
karl james said:
>
> Team,
>
> Can you tell me why this code is not working?
> I get a query is empty at the moment.
>
> http://www.theufl.com/php/wrox_php/movie_details.phps
We need some information on the errors that you
ive_10192004_-_05_-_the_cure_got_in_her_head.mp3
> http://www.thevacant.com/media/live_10192004/160/the_vacant_-_live_10192004_-_06_-_red_light.mp3
> http://www.thevacant.com/media/live_10192004/160/the_vacant_-_live_10192004_-_07_-_bliss.mp3
Cheers,
Robby
On Thu, 2004-12-23 at 11:18 -0500, David Dickson wrote:
&
effectively, the time it takes to go back and work on
legacy code can be dropped:
see: http://www.refactoring.com/
..and a good book that someone recommended to me recently:
http://www.amazon.com/exec/obidos/redirect?
tag=gp04-20&path=tg/detail/-/0201485672%3Fv%3Dglance
Cheers,
-Robby
-
isplay the current status of hylafax, so all you really
need is the hylafax commandlines and call them with php.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | bl
On Thu, 2004-12-16 at 14:28 +0800, Louie Miranda wrote:
> $string = "function yes good";
> $display = count_chars($string);
>
> echo $display;
> ?>
>
> i know this is wrong, but how can i count chars used here?
php.net/strlen ?
-Robby
--
/*
l and support..and have your users pay you to utilize
your service. ($$)
..depending on what your goal is with it, those are generally the three
ways you can make money with your app.
Cheers,
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON
w number
$object->y = 2;
print $object->add() . "\n";
print $object->subtract() . "\n";
OUTPUT:
> 14
> 6
> 12
> 8
As it sounds like you're still new to this, I would pick up a book or
read some material online that will better show you
you building that needs to split the
year by 2 sets of 2 digits?
Second, you can do this like so:
$foo = date("Y");
$bar = array();
$bar[] = substr($foo,0,2);
$bar[] = substr($foo,2,2);
print_r($bar);
> Array
> (
> [0] => 20
> [1] => 04
> )
-Robby
-
http://www.php.net/license/
http://www.php.net/license/3_0.txt
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Dev
tent+connection
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
*---
e sent more headers until the next browser action.
Javascript can do this with a meta refresh, or you can use ob_start() at
the start of your php code, which will allow you to send headers at any
point during your php code, as it waits until it goes through all your
php code before sending any heade
return False;
}
}
if (getPostVar('contact_list') == "Used")...
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blo
ut not necessary. :-p
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
*
hp have a
> support like .net.
>
> what arguments can I show for convince him to try PHP?
>
> Thank you very much :)
The internet might disappear in a year..and then PHP could disappear as
well.
--
/***
* Robby Russell | Owner.Devel
On Wed, 2004-11-17 at 13:54 -0600, Brent Clements wrote:
> Let's say I have a page at another site that links to a php script on my
> server. Is there anyway to get the referrer to the php script using php?
>
>
Look in the $_SERV
On Tue, 2004-11-16 at 18:35 -0800, Robby Russell wrote:
> On Tue, 2004-11-16 at 21:40 -0400, Mario Bittencourt wrote:
> > Hi,
> >
> > I was wondering if there is any free php live support script ?
> >
> > I'd like to add a "chat room" in my web si
to all the php included functions that start with is.
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
*
On Wed, 2004-11-17 at 11:28 +1100, Jason Oakley wrote:
> I think maybe
>
> $jtitle=$HTTP_GET_VARS['JTitle'];
>
Might I remind you that $_HTTP_*_VARS is deprecated..
$_GET
$_POST
(it's also much quicker to type)
-Robby
--
/****
gt;
We use this program for live support with our customers.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting
ections of program structures described under a
> common class heading (prefixed blocks).
Pretty sure that probably out dates many of the people subscribed to the
list. ;-) (i included..)
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET A
gt; test if a $_GET is not set (not just empty).
>
> thanks in advance!
>
> d
>
isset() returns a boolean.
so...try,
if (!isset($x))
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, O
e this possible...
>
> Thanks,
> Scott
>
I have a script that will stimulate you.
;-)
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/Postg
on in the email. ;-)
Thoughts? I looked over the past several months and saw nothing like
this happening so I thought I'd put the idea out there and would be
happy to try it out for a few weeks. I don't think one email a week
would flood our inbox so any other concerns, comments or sugg
or is it running as a CGI?
Which is quicker to program in?
Yahoo uses php for some of their stuff, I would say that is a pretty
high traffic site.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* P
t; the function?
>
> Garth
>
Php doesn't do anything like this...unless you post a form. Try
javascript.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730
On Mon, 2004-11-15 at 11:01 -0700, Ben Miller wrote:
> SELECT SUM(Revenue) FROM Sales WHERE Date='$Date'
What happens when you do:
SELECT Revenue FROM Sales WHERE Date='$Date';
Make sure you're getting values back first..and then you
an object instance in same
> way? how? will these methods have access to private and protected
> members of the class of the object?
>
> Thanks a lot in advance...
>
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetarg
/groups.yahoo.com/group/phpexperts
>
> Thank you all
>
> --Evelin
>
brilliant. you should start an irc channel next. :-p
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
ient as to what is more important. If you know how to
optimize your database (a stock pgsql db can be rather slow..) then the
speed differences are not enough of a factor for us to know that our
data just a bit more safer.
-Robby
--
/*******
* Robby Russell | Owner.
allows either: http://localhost/images/5 or
http://localhost/images/myimage.png to work. I prefer the filename as it
looks cleaner and appears to be more standard. So, in a webpage, I can
now add the following html code to show the image.
http://localhost/images/myimage.png"; />
--
t it's
an image.
for example, look at the mod_rewrite rules at the bottom of this blog
post.
http://blog.planetargon.com/index.php?/archives/27_Displaying_image_from_PostgreSQL_large_object_with_PHP.html
I don't know if this *is* the issue, but it's my first guess.
-Robby
--
/**
On Sat, 2004-10-30 at 22:30 +, Matthew Weier O'Phinney wrote:
> * Robby Russell <[EMAIL PROTECTED]>:
> > On Sat, 2004-10-30 at 02:43 -0700, Jaskirat Singh wrote:
> > > App needs to allow users to upload pictures. (jpg and gif),
> > > needs to create thu
ing
mod_rewrite so that it looks like it's coming from the filesystem, for
example:
mydomain.com/images/mypic.jpg actually
calls ./image.php?filename=mypic.jpg
http://blog.planetargon.com/index.php?/archives/27_Displaying_image_from_PostgreSQL_large_object_with_PHP.html
hth,
-Robbyu
--
27;t expect much out of it.
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
*--- Now supporting PHP5 ---
***
s pretty impossible since both Postgres and MySQL are stand-alone
> databases and have nothing to do with each other.
I am curious too. I have never seen any conflicts of the sort.
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planeta
esql)
How do mysql and postgresql tools conflict? You should have no problem
running them side by side... or even several of each on the same
machine. They don't obsolete each other or cause dependancy issues.
-Robby
--
/***
* Robby Russell | Owner.
h as possible. Use a
template system of some form. (ie. smarty)
Use a PHP editor with syntax highlighting..click on one curly brace and
then find where the other highlighted brace is and make sure that it
where it should end.
Learn how to debug your code. See how far it's gett
> to see how it all works.
>
> Yeah, that was not useful at all. That's what I originally looked at.
> If anyone has some "code" that shows how to reference the actual file,
> then that would be helpful. I have pulled my hair out long enough over
> this one.
>
}
> }
> return $width;
> }
>
..and how do you plan to account for things such as, font sizes on all
platforms, font types, etc?
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland,
On Thu, 2004-10-28 at 11:01 -0500, Afan Pasalic wrote:
> Hi Robby,
> Yes, I looked at SERVER_PORT/SERVER_PROTOCOL. What I got is 80 and
> HTTP/1.1 when I manually change http:// to https:// I'm getting 443 and
> HTTP/1.1
>
> I am not so good in this: you want to sa
a habit I usually have a function called something like debug()
function debug($arg)
{
print "";
print_r($arg);
print "";
}
debug($_GET);
try not to use capitalized P in print...
-Robby
--
/***
* Robby Russell | Owner.Develop
anguage compiler, which then allowed for all sorts of nice
> things to happen. One of the nicest things for me was that the compiler
> caught all sorts of "little" things before the same code in the interpreter
> would find them at run-time.
>
I believe that there are
e of an actual value, and that bit doesn't particularly
> matter, since it was never getting executed (although it was for a global
> constant from a header file).
>
> --Quanah
>
So, you're asking for help on modifications to the source code for PHP,
no
;
> What I am actually trying to do is make a page resize depending on screen
> resolution, in case that helps anyone.
>
go back and find your javascript function. PHP is server side not client
side.
-Robby
--
/***
* Robby Rus
RVER_PORT'] and
$_SERVER['SERVER_PROTOCOL']
?
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blo
>
> And here's the PHP handler script:
>if ($view)
> {
> echo $publication."\n".$view;
> }
> else
> {
> echo "no values supplied";
> }
> ?>
>
Not sure
removed and 75 not upgraded.
Hmm. What version of PHP are you trying to install?
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECT
Mike
find the mysql-devel package that matches the version you are running.
tip: download apt from freshrpms.net
http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/
install the rpm for apt... then run:
apt-get update
apt-get install mysql mysql-devel
-Robby
--
/*
in configure (following). What am I not doing correctly?
> >
> > You're trying to compile the binaries?
>
> Sorry, the tar'd file I should say. ;p
>
You probably need to do --with-mysql=/path/to/mysql/libs
It's not finding them by itself..so you my
or good examples, head over to sourceforge and look at some of the
major php projects..and browse their CVS directories..see how they do it
for some examples.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Po
could easily figure out GM time, but would rather go the other way.
>
> Thanks.
>
> Ben
>
You can set an environment variable for your project like so:
putenv("TZ=US/Pacific");
just find the proper GMT time zone format..
-Robby
--
/**
On Thu, 2004-10-21 at 15:04 +0100, Graham Cossey wrote:
> Oh @#*!
> Thanks Greg, I always get that one wrong !
>
> $test_array = array();
>
> :)
a few less lines version:
$test_array = array();
for ($i=0; $i<7; $i++)
$test_array[$i] = $i;
print_r($test_
e object/class stuffs?
>
yes and yes.
ie:
function foo($bar)
{
print_r($bar);
}
$myarray = array(1,2,3,4);
foo($myarray);
ouputs:
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
cheers,
Robby
--
/***
* Robby Russell |
On Wed, 2004-10-20 at 17:00 -0700, Robby Russell wrote:
> On Wed, 2004-10-20 at 19:27 -0400, Nathan Mealey wrote:
> > This file upload problem has me very confused.
> >
> > The code is:
> >
> > $upload_dir = '/articles_store/';
> > $uploadfile =
user is
> and group are 'www' (the Apache user).
Are you sure that this is the correct path? Did you create a new path in
your root level as /articles_store ?
so, if I go on your machine and type in:
$ cd /
$ ls
it'll show
/articles_store
/dev
/etc
/var
...etc?
-Robby
--
/*
;
> > might want to try
> > http://pear.php.net/package/HTTP_Client
>
> Nope, no PEAR allowedany other options?
No PEAR allowed?
Why not? You can include the libraries in your own paths...
-Robby
--
/***
* Robby Russell | Owner
ng an issue with a nested
foreach, but didn't really explain what the issue was.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon
On Sun, 2004-10-17 at 12:40 -0700, Stuart Felenstein wrote:
> Robby
>
> Here is the printout :
> Using-
> print_r ($skills);
> print_r ($skys);
> print_r ($slus);
>
>
> Array ( [0] => skillone [1] => skilltwo [2] =>
> skillthree [3] => [4] =>
if ( is_array( $_SESSION['foo'] ) ) {
> foreach ( $_SESSION['foo'] as $x ) {
> sql .= "INSERT INTO TABLE (...
> VALUES ($x)
>
> Just can't seem to figure out how with three arrays.
>
> help appreciated.
>
> Stuart
>
Can you provi
hp site or google first?
http://www.google.com/search?q=php+replace+character+in+string
first result should find you your answer...and would take less time than
sending the email. ;-)
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargo
gt; [EMAIL PROTECTED]
>
craigslist.org too.
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
***
ng like
DELETE FROM table WHERE id IN (32,34,46,432,35);
generating your list of numbers/ids from your array...
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [E
u might want to consider using CRONTAB (if in the *nix
environment)...which would call a script to send your email.
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
gt;bar->getThing();
..but he wants it to run some stuff in the functions that he is calling
and wants to do it in one command if possible.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland,
> run the executable again, it searches for a running session and, if one
> is found, uses it to spawn a new window without actually running another
> copy.
>
The way around this is to use profiles in mozilla.
--
/***
* Robby Russell | Owner.Develop
to read the contents
of yourfile.aspx on the local disk.
PHP doesn't run aspx files..
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon
On Fri, 2004-10-08 at 06:22 -0700, Sam Smith wrote:
> I swear I googled for an hour first.
>
>
> A user enters in a textarea field of FORM1.php:
> Bob is "high"
>
> Submitted to FROM2.php we get:
>
> Bob is \"high\"
>
> In a hidden field in FROM2.php we store the value:
> Then from FROM2.php
ne
>
What about phpxref?
http://phpxref.sourceforge.net/
I use it for documentation and forcing myself to stick to a standard.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED
Thankful for suggests,
>
> sincerely
>
> Victor
http://www.sqlite.org/ perhaps?
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP
y in
> /var/www/catalog/blubb.php on line 2
>
> It seems that fopen is not able to open it, because it is not redirected to
> a file...
>
> Any solutions ?
>
> Martin
try
http://domain.com/";);
?>
--
/***
* Robby Rus
t as a web browser..which it doesn't do.
I've seen things like this before..but I believe they are using real
browsers to do this.. perhaps looking into building a way to connect to
the mozilla api or something... don't think PHP is going to be much he
x27;))?>
>
>
>
>
> So, is that it? Have I thought of all possible options?
>
>
/**
* pass an array..so as long as you pass one thing...
*/
function doStuff($args)
{
// do something
print_r($args);
}
/**
* this arg is optional as it has a default value
*/
function do
7;meep';
preg_match("|>(.*)|", $in, $out);
$foo = $out[1];
print $foo;
...prints: meep
This is just a quick and dirty example of how this can be done.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.c
1 - 100 of 144 matches
Mail list logo