::Auth. I've had good experiences working with it.
http://pear.php.net/package/Auth
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
ame links to
> appear on this page.
>
> Any help on this matter would be greatly appreciated
The method in which you described your issue is rather confusing. Can
you provide some example code and perhaps explain it a bit clearer?
-Robby
--
/***
* Robby Rus
On Sat, 2004-08-07 at 17:55, Andre Dubuc wrote:
> Hi,
>
> I have re-written a very basic website to use sessions (switching to https)
> for login to special areas of a site. After testing the site thoroughly
> locally, I uploaded the whole shebang to a unix server that runs Apache 1.3.x
> + PH
errors aren't on.
Andre,
You might check your error settings on your local server. You might even
consider upgrading php on your local server to the same version and
debugging.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON |
To all those who have auto-replys set for their email, please turn them
off. ;-)
We shouldn't have to opt-in to 3 different peoples spam email sites so
that we can post to the list. heh.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET
I have to use
> instead?
>
> Regards
> Marten Lehmann
Try this?
http://us4.php.net/manual/en/function.socket-select.php
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, O
exible.
-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
/
--
PHP General Mailing List (http://www.php.n
;
> It seems that whatever SMPT settings I place in php.ini ignores. (SMTP
> servername, FROM) and all e-mail is sent from [EMAIL PROTECTED]
>
> Thanks for any help!
What does your mail() command look like?
-Robby
--
/*******
* Robby Russell | Owner
gn a
> site. Gross!
>
> (sorry I sent it to just you, I still haven't got used to this thing)
>
> -----Original Message-
> From: Robby Russell [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 09, 2004 11:15 AM
> To: charles kline
> Cc: [EMAIL PROTECTED]
> Subject: R
rolled by your mailer. (postfix, sendmail,
qmail, etc).
Squirrelmail is a nice php-based interface.
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon
i am stuck up which way to go.
>
> Let me know if you need more information.
>
> Thanks,
> Hardik
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_ma
t; >
> > return $array;
>
> Would there be any speed/performance issuse with using something like...
>
> array_push ( $array, $data );
>
> vs.
>
> $array[] = $data;
Run some tests and let us know. ;-)
I'd be interested in knowing as well.
-Robby
--
/*
they don't want to, you should
> consider choosing another provider."
>
> If it is an issue, does anyone know of a hosting provider that allows these
> extensions?
>
> -Brian Anderson
--
/***
* Robby Russell | Owner.Develope
u in advance,
>
> Kind regards.
>
> Jean-Yves
This is where you would probably want to put that value in the database
somewhere.
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTEC
e could provide any recommendations...?
>
> Thanks for your time guys.
>
> --
> -
> Michael Mason
> Arras People
> www.arraspeople.co.uk
> -
--
/***
* Robby Russell | Owner.Develo
["Emp_Status_Rqmt"];
switch ($Emp_Status_Rqmt) {
case "Permanent":
$UserStatus = "Permanent";
break;
case "Contractor":
$UserStatus = "Contractor";
break;
default:
$UserStatus = "Flexible";
}
-Robby
; what's wrong with me...? the code I mean...?
> >
>
> More easy:
>
> $Emp_Status_Rqmt=$row["Emp_Status_Rqmt"];
> $UserStatus = $Emp_Status_Rqmt;
>
> Regards,
> Jordi.
more more easy. ;-)
$UserStatus = $row["Emp_Status_Rqmt"];
--
/***
* Rob
depends on what you and your app need.
>
POP does not have folders. So, aside from that it stores messages on a
server it is nothing like IMAP.
With IMAP, you can use any IMAP client and see your folder/message
structure the same way, where as with POP, you get an INBOX and cannot
ping the same logic over and over to new interfaces. heh.
Happy coding!
your local PostgreSQL advocate,
Robby Russell
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 50
didn't know,
what else can you possibly do aside from snoop? ;-)
I'd bet that 99.99% of the people who surf the net do not modify this so
the exception is very minimal.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET
On Thu, 2004-08-12 at 13:55, Justin Patrin wrote:
> On Thu, 12 Aug 2004 13:43:04 -0700, Robby Russell <[EMAIL PROTECTED]> wrote:
> > On Thu, 2004-08-12 at 13:34, Jed R. Brubaker wrote:
> > > Hello all. I am looking to create script will detect the page from which the
>
t basis. It's very flexible and very easy
to add your own function within it. One of my favorite PHP based
projects..it has definitely saved me a lot of coding time and as a
result my clients a whole lot of money.
http://smarty.php.net/
-Robby
--
/********
eaded comments and such, nothing super complicated like phpbb,
but with some of the functionality.
Any suggestions?
Thanks,
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROT
---
500 mb upload? Make sure you have enough tmp space available for that.
When you get that big you might want to consider a different form of
uploading... ala sftp/ftp.
-Robby
--
/***
* Robby Russell | Owner.Develope
that checks each new IP and see if the same IP has
tried this a few times..and if so display a warning page. Might be
enough to scare the person off. The other options is to collect a list
of known IPs and contact the proper authorities with logs of this issue.
-Robby
--
/***
xec("ssh [EMAIL PROTECTED]".escapleshellard("password"));
>
You can try setting up authorized_keys for this. Then you don't need to
pass it the password.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | w
gt; ...but you'd still need to provide the ssh passphrase, or have an instance
> of ssh-agent running. Teren, what are you trying to do exactly? Is ssh
> actually necessary, or are you really just trying to authenticate users by
> their unix accounts?
You can go wit
just have to enter their username/password (which would be a
> restricted unix account) to gain access to the internet. I have authpf all
> setup, but I'd like to add a web login to make it more user friendly. Thanks
>
> Teren
>
>
> - Original Message -
>
dia
> dreamweaver ?
> Regards
>
> Natalia
I haven't used eclipse myself, but I don't believe that it is a WYSIWYG
editor..which Dreamweaver is. I am under the impression that all you can
do with eclipse is edit the php files in the standard code view.
-Robby
--
/****
-magic-quotes-gpc.php
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
/
signature.asc
Description: This is a
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
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
lp
with you for this one.
-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
/
signature
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
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
> 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
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,
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]
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
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
***
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
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
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
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
de a print_r() output of your $_SESSION['foo'] ?
I can help you more after that.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.co
arrays related somehow? are all the [0]'s related and all
the [1]'s related in each array?
If so, you might consider having an array of arrays
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
*
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
;
> > 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
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
--
/*
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 =
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 |
array);
hth,
-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
/
signat
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
--
/******
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
need to be a bit more
specific.
..you have mysql libs installed, right?
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Develo
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
--
/*
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
where you learned how to handle form posts, but you might want
to spend some time reading the PHP site, specifically looking at how
global variables work.
Try changing $view to $_POST['view'];
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetarg
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 |
- 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
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/
--
/***
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
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 ---
/
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
to not use this unless you really need
to.
-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
* --- Now hosting Ruby on Rails Apps
+wiki
-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
* --- Now hosting Ruby on Rails Apps ---
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
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
Thanks in advance,
> Ryan
>
Very flexible and runs on PostgreSQL.
http://www.pgcart.com/
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.3
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
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
> 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
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
*
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
php.net/file_exists
-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
*
r's default php.ini
Any thoughts?
--
Robby Russell, | Sr. Administrator / Lead Programmer
Command Prompt, Inc. | http://www.commandprompt.com
[EMAIL PROTECTED] | Telephone: (503) 667.4564
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Russell Shaw wrote:
Hi,
I have php code embedded in html, that is read by apache.
Is nested php code allowable such as:
\" ?>";
?>
...
...
Not sure what you're trying to do there.
You can do this:
hello world!\n";
?>
--
Robby Russell,
1 2 3 4 5
6 7 8 9 10
...
-Robby
--
#-----------
# Robby Russell, | Sr. Administrator / Lead Programmer
# Command Prompt, Inc. | http://www.commandprompt.com
# [EMAIL PROTECTED] | Telephone: (503) 667.4564
#--
? :-p
--
#---
# Robby Russell, | Sr. Administrator / Lead Programmer
# Command Prompt, Inc. | http://www.commandprompt.com
# [EMAIL PROTECTED] | Telephone: (503) 667.4564
#---
--
PHP General Ma
? in MySql? or do I just
need to do something with fopen().
All you need to do is open a temporary file, write to it on the server,
then send to the client browser for them to save.
-Robby
--
#---
# Robby Russell, | Sr. Administrator / Lead
AddType application/x-httpd-php .phtml
[/snip]
--
Robby Russell, | Sr. Administrator / Lead Programmer
Command Prompt, Inc. | http://www.commandprompt.com
[EMAIL PROTECTED] | Telephone: (503) 222.2783
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
I am trying to debug some xml issues with a SOAP/Client-based script.
$sc = new SOAP_Client(...);
is there a way to display the XML it attempts to send the server when I
perform a
$sc->call(...)
*back to his google searches*
--
Robby Russell, | Sr. Administrator / Lead Program
the top of each of
your files.
--
Robby Russell, | Sr. Administrator / Lead Programmer
Command Prompt, Inc. | http://www.commandprompt.com
[EMAIL PROTECTED] | Telephone: (503) 667.4564
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
;
> 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
t how to help with modifications of PHP code, correct?
If so, you might want to try the PHP developers list.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTE
some commercial products that can do this for
you.
-Robby
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQ
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
y that SSL use 443 port
>
> -afan
There you go, the standard SSL port is 443. If you want to verify that
you are on 443, then you can use SERVER_PORT
-Robby
--
/*******
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Por
}
> }
> 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,
> I did try this, but nothing changed (b/c it's just an array):
>
> if (is_uploaded_file(_FILES['userfile']))
> $handle = fopen($_FILES['userfile'], "r");
>
> Tips would be wonderful. Thanks!
Here is an
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
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.
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
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 ---
***
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
--
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
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
--
/**
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"; />
--
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.
1 - 100 of 138 matches
Mail list logo