I need help. I've got two copies of my application.foobar and
foobar_dev
When I go to http://foo.com/foobar/ a session is created and a database
connection class is established and placed into this session.
Then if within the same browser (using internet explorer) I go to
http://foo.com/foo
, and that its going to be something you can deliver.
Since I have started working on my project I have gained 3 more contracts
without even trying just by showing them this project.
That and being able to say "I did this... ALL BY MYSELF!" is pretty cool.
Jason L Cathcart
BSc. Compu
ly2 isn't set because it is blank. So I tried this:
$reply2 = str_replace(" ","",$reply);
if(empty($reply2) || !isset($reply2)){
// echo an error message
}
else{
// post the message.
}
I've tried different variations on this same idea, but somehow none of them
are work
Hi,
What is the necessary code to return a recordset from a single text box with
more than one keyword in it (like most search engines do)?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ome suggestions as to what the problem
is.
Jason Cathcart
Check Out My Site: http://www.biohazardous.org
As an adendum to this... my initial thoughts are that the forms are not
posting correctly in XP. I'm using the POST method.
Jason Cathcart
Check Out My Site: http://www.biohazardous.org
-Original Message-
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: September 18, 2002 7:
I would like to be able to upload files from the client computer to the
server via a form. I know how to build the form, but am not sure of the
best way to process this. I know there are certain ftp functions that can
do this, which I'm not sure how to use. Are there any others?
Ja
code that I am using:
Send this file:
I am able to get rid of this error, but changing the line to:
move_uploaded_file($_FILES['userfile']['tmp_name'],
"../images/$_FILES[userfile][name]");
However, the file is then uploaded as Array[name]
How
I have a tutorial for using lynx to monitor a firewall.
http://frontiertech.ca/tutorial_web_page_monitor.php
www.frontiertech.ca
Free Open Source Software for Data Collection and Data Mining.
*
returned from MySQL. What is the best way to do this.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To the server.
On Thu, 17 Oct 2002, Smith, Benjamin wrote:
> Local to the client or local to the server?
>
> -Original Message-
> From: Jason [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 17 October 2002 3:26 PM
> To: php_gen
> Subject: [PHP] MySQL GMT -->
d with standard or daylight savings time offsets is a
problem. It gets more complicated when I want to return a distinct date
record set from the timestamp column.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed by
this, and thus people are unable to properly use some of the functionality.
I was wondering if anyone else has encountered problems like this, and if
so, how they managed to solve the issue.
Jason Cathcart
President - Acanthus Media Inc.
BSc. Computer Information Systems
403.710
e error in
/var/www/html/site/directory/subdirectory/upload.php on line 68
in the upload.php file there are only 64 or so lines of code.
HELP!
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
All,
Trying to run an upload script.
Looks like the problems is in the "if (move_uploaded_file.." line also a
look at the configuration of PHP4.1.2 shows "no value" for upload_tmp_dir
Any hints?
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsu
this, or can point me where to start. I think the thing I'm caught up on is
how I walk through the mail headers in the mail file (We are on FreeBSD).
Thanks.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
hi,
i have a query that is comparing a table with 1235 rows with another that
has 635 rows. The query looks like this:
$res = mysql_query("select cust_info.ID, cust_info.first_name,
cust_info.last_name, cust_info.address, cust_info.datestamp from cust_info,
cust_order_info where cust_info.ID=cus
Hi,
I am in need a transfering an existing mySQL database to PostgreSQL. I have
seen info on the converter. Before I get started I wanted to see info anyone
has any insight or tips on converting these DBs (ie- is it problematic,
inconsistent, etc). Thanks!
John
--
PHP General Mailing List (h
r the development
of my site, not production, so that's why I'm looking at a cheap solution.
Anyone have any recommendations? Thanks.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Hi,
I realize you cannot override session variables through GET or POST for
security reasons. I have a complex multipage form that I would like to store
in a session for insertion in the database when the last step is completed.
The form field names are arrays, so they can be listed and inserted
ly Making Post Vars Session Vars
>
>
> This isn't quite what you are asking, but maybe it will be of
> help. Use the
> loop below to create and assign GLOBAL versions of the $HTTP_POST_VARS:;
>
> reset($HTTP_POST_VARS);
> while(list($key, $val) = each($HTTP_POST_VARS))
Hi,
I'm trying to compile an extension for Postgre support which I will either
load in the php.ini or use the dl() function.
Both methods fail right now. The dl() function gives me verbose though.
I compiled the module like this:
./configure --with-apache=/usr/local/Apache/apache_13 --with-pgs
Hi,
What would be the syntax to trim 2 characters off of a given string?
Thanks!
--
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]
ll do is send an XML file to UPS, to get shipping
rates which are returned as an XML file from UPS. The script has to sit and
wait for an answer from the UPS servers.
Does anybody know of a way of doing this without using CURL?
Jason Cathcart
m pretty
sure I have exhausted my resources.
"Jason" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am having a hard time setting up a form for users to enter a date in the
> format of 00/00/ (of course they would use an actual d
fields before running the php script to pass the info to a database. I have
used java-script for this function in the past but would like to use php.
Anyone know how i can accomplish this? Thanks in advance, Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Here is my problem once again... =P I am wondering if I should change the
date table to something other than date... maybe something like date_1?
Would doing that resolve my issue, because of the fact that the date
variable in php is function? Thanks in advance...
Jason
/* Form to supply
Hi,
I'm trying to get payflow pro working on my server (unfortunately a client
took it upon themselves to get their gateway).
I am on a freebsd box and I am having all sorts of problems getting this
working. Either as an extension (pfpro.so) or just exec() externally.
I've read that Verisign st
$loc = "doos.txt";
$loc = "files\doos.txt";
don't put .\ to reference the current directory. if you were trying to move
up a directory to access 'files' then $loc= "..\files\doors.txt".
Just a thought, I've coded something for a windows box once, and remember it
was finicky about stuff. but then
try:
reset($HTTP_POST_VARS);
at the begining of the code. if that doesn't work verify your html again.
make sure the 's are between the form tag. php doesn't ignore
certain form fields. =)
i'm the habit of reading arrays like...
while(list($k,$v) = each($HTTP_POST_VARS)) {
echo "key is $k -
http://download.php.net/manual/en/ref.mail.php
- Original Message -
From: "Chamarty Prasanna Kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 1:28 AM
Subject: [PHP] Help - mail
>
> Hi all,
>
> using mail() function to send a mail using php.
>
just pico a file called myforms.csv or something.
use the first line for you schema...
"name","date","comments","etc"
chmod the file to rw permissions or chown to nobody.
$file = fopen("/home/myaccnt/public_html/protected/myforms.csv", "w");
fputs($file,
"\n\"$form_name\",\"$form_date\",\"$form_
Hi,
I'm trying to get payflow pro working on my server (unfortunately a client
took it upon themselves to get their gateway).
I am on a freebsd box and I am having all sorts of problems getting this
working. Either as an extension (pfpro.so) or just exec() externally.
I've read that Verisign st
Hey,
I wanted to see if
anybody has a some ideas or code for a good time zone coversion
function.
Basically, I would
like something where the user can input their timezone (or if php doesn't
recognize timezones, maybe just the current time for them, and it can caluculate
the difference,
Hey,
If anyone has any better solutions too, let me know, I'm open to anything.
> -Original Message-
> From: Fotwun [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 23, 2001 5:32 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Mixing PHP with a FAX Gateway? HELP!!! IDEAS???
>
>
>
>
> He
or
http://www.domain.com/index.php?mode=view&id=100#comments
Using Mozilla Firefox .08, .09, Netscape 5+, and Mozilla 1.7 this will
show a blank page. If I use IE, I notice a longer pause since adding the
named anchor, but it will still work.
Any ideas about PHP having issues passing a named anchor?
Thank
ert_id();
// Redirect back to comments page //
echo"window.location.href='index.php?mode=view&id=$id&#comments';";
break;
[/code]
- Jason
Jay Blanchard wrote:
[snip]
I have a form that post some data to a DB. After the post, I send it
back to another page with a named a
At 16:49 18/12/2008, you wrote:
Hi,
I am looking for some method, how to run php cli script on background in
windows. It should be started by windows task manager.
Run php-win.exe rather than php.exe, this will prevent the console
window from opening whilst the task is running.
Schedule as n
>-Original Message-
>From: Bob McConnell [mailto:r...@cbord.com]
>Sent: 09 July 2009 15:38
>To: php-general@lists.php.net
>Subject: RE: [PHP] Obeying the rules (was Simple login form with cookies)
>
[snip]
>
>Bob McConnell
>
>A: Maybe because some people are too annoyed by top-posting.
>Q:
>-Original Message-
>From: Dave M G [mailto:mar...@autotelic.com]
>Sent: 07 September 2009 14:26
>To: Richard Heyes
>Cc: php-general@lists.php.net
>Subject: Re: [PHP] Taking body of an email and storing it in MySQL database
>
>Richard,
>
>Thank you for responding.
>
>> Sounds like you may
I've used the form page with a the following code (at the bottom - but
before any output is done) to redirect to a thank you page:
if ($submittedcorrectly)
{
header("Location: thankyou.htm");
exit();
}
HTH
J
-Original Message-
From: MEM [mailto:tal...@gmail.com]
Sent: 01 October 20
Hi,
That's because %m is month, what you need is %M for minute (note uppercase).
Check out http://php.net/strftime
HTH
J
-Original Message-
From: Matthias Laug [mailto:matthias.l...@gmail.com]
Sent: 06 October 2009 08:53
To: php-general@lists.php.net
Subject: [PHP] Time Problem: alway
m.tr]
Sent: 06 October 2009 09:07
To: 'Jason'; 'Matthias Laug'; php-general@lists.php.net
Subject: RE: [PHP] Time Problem: always ten past xx
Jason,
%M is also month:
Month --- ---
F A full textual representation of a month, such as January or March January
through December
-Original Message-
From: resea soul [mailto:reseas...@gmail.com]
Sent: 22 October 2009 14:28
To: php-general@lists.php.net
Subject: [PHP] Create a screenshot of a website
Hi,
I want to be able to get a screenshot of a given website on the fly.
Can you give me any suggestions.
Thank you
-Original Message-
From: Andrea Giammarchi [mailto:an_...@hotmail.com]
Sent: 22 October 2009 16:34
To: networkad...@emarket2.com; php-general@lists.php.net
Subject: RE: [PHP] Create a screenshot of a website
> Hi,
>
> If a windows web server is being used, we've had very good results w
That would be in one of the $_SERVER[] variables.
Look here for more info:
http://uk.php.net/manual/en/reserved.variables.server.php
HTH
J
-Original Message-
From: Lars Kristiansson [mailto:la...@naturbilden.se]
Sent: 30 November 2009 23:47
To: php-general@lists.php.net
Subject: [PHP] C
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: 22 April 2010 15:13
To: Dan Joseph
Cc: PHP eMail List
Subject: Re: [PHP] Math Question
On Thu, 2010-04-22 at 10:17 -0400, Dan Joseph wrote:
> On Thu, Apr 22, 2010 at 10:12 AM, Stephen wrote:
>
> > 1,2
d return one or more records in the answer, each one will be the FQDN
of a domain controller.
Additional info from the horses mouth: http://support.microsoft.com/kb/247811
HTH
Jason
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: 27 September 2010 16:05
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: 27 September 2010 19:38
To: Jason
Cc: 'PHP General'
Subject: Re: [PHP] Domain Controller Discovery in PHP
On 10-09-27 11:26 AM, Jason wrote:
> Hi Rob,
>
> I believe you should be able to d
>-Original Message-
>From: Steve Staples [mailto:sstap...@mnsi.net]
>Sent: 05 October 2010 13:55
>To: php-general
>Subject: Re: Fw: [PHP] Connecting to MySql with PHP
>
>On Tue, 2010-10-05 at 13:35 +0100, sueandant wrote:
>> - Original Message -
>> From: sueandant
>> To: a...@ash
>-Original Message-
>From: Gary [mailto:php-gene...@garydjones.name]
>Sent: 21 October 2010 11:39
>To: php-general@lists.php.net
>Subject: [PHP] Re: "My truth comes out" [1]
>
>Russell Dias wrote:
>
> preg_match("/false/i", $string) ? false : true;
>
>,
>| $foo = (strcmp('true', $strin
>-Original Message-
>From: Richard Quadling [mailto:rquadl...@gmail.com]
>Sent: 07 June 2011 11:35
>To: PHP General list
>Subject: [PHP] What do you get for ...
>
>Hi.
>
>What do you get for ...
>
>php -r "var_dump(realpath(null));"
>
>I'm wondering if the result should be a boolean false.
Could someone tell me what I did wrong with this script. It should read
the page
http://www.mto.gov.on.ca/english/traveller/conditions/rdclosure.htm and
only read between the 2 words in the script. And email any new stuff to the
email address in the script. What did I do wrong that is causi
At 09:32 30/10/2007, Hulf wrote:
Hi,
Is there a built in function in PHP5 to determine if an integer is even or
odd?
How about :
if ($IntegerValue % 2) {
// odd
} else {
// even
}
HTH
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
) : error C2099: initializer is not a constant
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Help!, Anyone?
TIA
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Because you need $i<= 'Z' to get Z included as well.
J
At 08:49 09/07/2007, Xell Zhang wrote:
Hello all,
I met a very strange problem today. Take a look at the codes below:
for ($i = 'A'; $i < 'Z'; $i++) {
echo $i . ' ';
}
If you think the output is A-Z, please run it on your server and try.
W
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
n3or wrote:
> Compatibility to older Software of the hosters and sloth of the developers
>
> Richard Heyes schrieb:
>> I'm interested - why are people still using PHP4? It's been over 4
>> years (I think) - plenty of time to upgrade to five.
Don't lu
... It's a quarter of the size...
Ah, the old "2 metres square" != "two square metres" trick :)
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 15:05 23/09/2008, you wrote:
[snip]
So, I'm left wondering what that leaves. Is there anything currently
available that could be considered stable for a production
environment, supports parameterized queries and is not slated to be
mothballed in the near future?
Have you considered the MS
At 15:49 23/09/2008, you wrote:
On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote:
> At 15:05 23/09/2008, you wrote:
>
> [snip]
>
>> So, I'm left wondering what that leaves. Is there anything currently
>> available that could be considered sta
em like maybe I need to brush up on .NET. :-/
COM is fun - you'll need a wrapper class to
identify column types and cast them to PHP
though, otherwise datetime columns and stuff get funny (well, they did here).
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If the message will not displayed automatically,
follow the link to read the delivered message.
Received message is available at:
www.lists.php.net/inbox/php-general/read.php?sessionid-27800
=> "username", "2" =>
"password" );
function database()
{
$dbase = mysql_pconnect( $array[0], $array[1], $array[2] )or die(
mysql_error());
if( connection_status() != 1 ) {
echo "connection failed";
}
}
call_user_func( "database" );
It will save you time when your application grows and starts clashing
with other global variables or third party pieces of code ;-)
Jason Gerfen wrote:
John Holmes wrote:
Jason wrote:
My question is in regard to passing global variables to a function.
Here is my code, any idea why it is not working?
x27;t gotten me anywhere...
Sebastian Mendel wrote:
Jason wrote:
Could you give me a good example of the tip you recommend or point me
to a good tutorial on it?
$GLOBALS holds all variables defined in main(), main() meaning outside
any function or class
//main()
$my_var = 'test';
func
Greg Donald wrote:
On Wed, 10 Nov 2004 10:10:37 -0700, Jason <[EMAIL PROTECTED]> wrote:
Yeah the global stuff I understand and can use fine. What I would like
more information about is the use of arguments to functions i.e.
function( $user, $pass, $db ) {
$db = @mysql_connect( $user, $pas
Sorry, yeah it is a typo
Sebastian Mendel wrote:
Jason wrote:
Looks like you understand already. Did you have some broken code you
wanted help with?
yeah.. I should have posted it first. Here it is:
/* User Defined Variables */
$defined = array( "0" =&g
Sebastian Mendel wrote:
Jason wrote:
Looks like you understand already. Did you have some broken code you
wanted help with?
yeah.. I should have posted it first. Here it is:
/* User Defined Variables */
$defined = array( "0" => "localhost",
#x27;m doing
it all wrong in PHP script or that the nobody doesn't have the authority to
do so.
Have anyone who ever successfully do it please post a sample script?
Thanks,
Scott
--
Jason Gerfen
[EMAIL PROTECTED]
"And remember... If the ladies
don't find you handsome, they
USER_ERROR);
return false;
}
$pagecount = "1";
$tble = "logs";
$sql = @mysql_query( "SELECT * FROM ...", $db ) or die( "problem..." );
// your stuff...
}
function logsOnOtherMachine($db) {
...
}
And if you would be really trying to dig in... hav
GENT]\",
page=CONCAT(page,\".:||:.$_SERVER[PHP_SELF]\"),
pagecount=\"$pagecount\", message=\"$_SESSION[msg]\",
session=\"$_SESSION[hash]\" WHERE session=\"$id\"", $db )or die( "Error occured while updating logs for
$_SESSION[hash]Error Message:
I hate posting all of that code, but for Greg's question... it does give
me the correct array data.
Jason wrote:
Rick Fletcher wrote:
function db( $host, $user, $pass, $dbnam ) {
$db = @mysql_pconnect( $host, $user, $pass )or die( mysql_error( $db
));
@mysql_select_db( $dbnam )o
Greg Donald wrote:
On Thu, 11 Nov 2004 12:42:44 -0700, Jason <[EMAIL PROTECTED]> wrote:
There isnt an error at all.
How could there be an error? You're using @ to suppress nearly every
mysql function call. Makes it kind of hard to debug that way.
yep, you are right... I removed the
to assign it. add a "$db = "
to the beginning of that line and you should be good to go.
--Rick
dang, thanks dude I knew it was something simple like that. just goes
to show you how over analyzed things are. lol. thanks again.
--
Jason Gerfen
[EMAIL PROTECTED]
"And remembe
] );
... do some processing ...
}
what am i missing here? i get errors if i try to pass $db to logs. i.e.
logs( $db );
--
Jason Gerfen
[EMAIL PROTECTED]
"And remember... If the ladies
don't find you handsome, they
should at least find you handy..."
~The Red Green show
--
PHP
mac submitted is invalid check & fix if necessary
if( chk_mac( $mac1 ) != 0 ) {
$mac = fix_mac( $mac1 ); echo $mac1 . " converted to " . $mac . "";
}
if( chk_mac( $mac2 ) != 0 ) {
$mac = fix_mac( $mac2 ); echo $mac2 . " converted to " . $mac . "";
}
if( ch
Jason wrote:
Simple functions to check & fix if necessary invalid formating of a MAC
address... I seem to be having problems with the global variable $mac
not being returned from the fix_mac() function. Any help is appreciated.
global $mac;
if( eregi(
"^[0-9A-Fa-f]{2}\:[0-9A-Fa-
You were right, I removed the reference to global $mac and it started
working great. Thanks. It seems sometimes another set of eyes to catch
stuff really helps... thanks.
Jason wrote:
Jason wrote:
Simple functions to check & fix if necessary invalid formating of a
MAC address... I seem t
Important document!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ariables
aren't found in the old session and a new one is being created on the
server.
--
Jason G.
"In my opinion anyone
interested in improving
themselves should not
rule out becoming pure
energy."
~Jack Handley,
The New Mexican, 1988.
--
PHP General Mailing List (http:
fine after a restart of the
webserver. Hope this helps someone else.
Jason wrote:
> I am having a problem with sessions. For some reason it keeps creating
> a new session for every page link you click and not using the original
> session created when session_start() gets called. Below is t
=/local/stuff --with-curl
--with-imap=/local/jason/imap-2002d
--with-config-file-path=/local/apache/libexec --enable-bcmath --enable-calendar
--with-zlib
--with-dom --with-db4=/local/stuff --with-dba --with-gettext --with-iconv
--with-mcrypt=/local/stuff --with-openssl=/local/stuff
--with-mcal
seems like as soon as I post to the list, I end up figgereing it out..
anyway, heres what ended up working.
./configure -v --with-oci8=/apps/oracle
--with-apxs=/local/apache-1333/bin/apxs
--with-gd=/local/stuff --with-mysql=/local/stuff --with-curl
--with-imap=/local/jason/imap-2002d
--with
> Problem is when you have cheap ssl certs they might pop up in browser on
> visit, when they are not in the browser cert list though.
>
> I just know verisign, and truesign. but kinda expensive
> --
> Smileys rule (cX.x)C --o(^_^o)
> Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
I use GoDaddy pe
,AU,ST,SD,SC,BT,BD,BC,AT,AD,AC)
> ) TYPE=MyISAM COMMENT='CCL Bibliography - Bibliographie ECC';
This has nowt to do with PHP, please ask on the MySQL list.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hos
On Monday 25 November 2002 02:10, gamin wrote:
> i guess i can use $remote_addr to see if the user has an IP.
>
> But still out of curosity - any way of knowing the user that called the
> script ?
Use phpinfo().
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Op
> //-->< something here would be nice
> }
Usually, it's not necessary to use stripslashes() on data retrieved from a db.
But if you insist ...
foreach ($data as $key => $value) {
$data[$key] = stripslashes($value);
}
... should work.
--
Jason Wong -> Gremlins
explain ina little more detail?
If there are tutorials on this type of stuff then google would know -- just go
and ask it nicely. And of course there's always the chapter in the manual
which deals with "Security", some good stuff there.
--
Jason Wong -> Gremlins Associate
it's best answered with five minutes on the PC, than a
msg to the list ... ad infinitum
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Who's on fi
good code from a reliable source with the same results. Any idea
> on this. It happens on multiple systems.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
Hope this helps!
-Jason
Myrage wrote:
is it possible to generate images with texts automatically?? like for
eg. if
the text is 7555 then automatically an image is generated with the
text 7555
in it
any help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
You'll need the full PHP package (the 5 MB zip file, not the 400k
quickie) .. it'll be in the extensions/ directory of there.. php_gd.dll..
Myrage wrote:
i am using windows and I cannot seem to find the necessary libs and dlls
"Jason Young" wrote in message
[EMAIL PRO
On Monday 25 November 2002 13:33, John Taylor-Johnston wrote:
> Sorry Jason ... No offense,
Don't apologise to me. Apologise to the list members if you have to.
> I learned my MySQL here :)
Jolly good.
> It's for a PHP
> script, after all.
And what has this got to do
On Monday 25 November 2002 14:20, Kyle Gibson wrote:
> Leif K-Brooks wrote:
> > I'm working on adding simple BBCode to my site. I'm currently using the
> > [i] tag for testing, with the following code:
> >
> > > function bbcode($text){
> > $text = ereg_replace('\\[i\\](.{1,})\\[/i\\]','\\1',$text
Did you tell php.ini to load this extension, and then restart your
webserver? (I am taking it that you're using IIS or PWS? -- Someone else
will have to field the question on whether or not GD/PHP works with
this.. I would imagine so, but I am not sure enough to put any money on
it :) )
Myrage
doubt, print it out (TM):
print_r($_POST);
The best way to do it (IMHO) is to:
foreach ($_POST['Consultants'] as $key => value) {
print "$key: $value";
}
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrat
ch requires (to my horror) Register_Globals=On.
>
> Short of two Apache/PHP servers, what is a logical way to structure things
> so that the 'wiki' runs 'insecure' but other/'my' PHP work runs more
> securely?
Set it on a per directory basis. If using Apache som
by something called ezmlm. It is something that runs in
conjunction with qmail. Google for more details.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I h
in a single operation:
$text = '[i]This[/i] is a [i]test[/i].';
$search_for_tags = array("/\[i\]/", "/\[\/i\]/");
$replace_with_tags = array("", "");
$text = preg_replace($search_for_tags, $replace_with_tags, $text);
print $text;
--
Jas
sponse if you actually copy and paste the error message
or whatever. If that's not possible at least give a brief description as to
what the problem is. Having to make people go through extra steps to help you
is not a very good idea.
--
Jason Wong -> Gremlins Associates -> w
1 - 100 of 6914 matches
Mail list logo