Mail+Attach issue has been answered lots of times.
You might want to check www.phpbuilder.com you must be able to find a topic
there.
"Mark Lo" <[EMAIL PROTECTED]> wrote in message
000701c13042$9d0352a0$7c7ba8c0@mark">news:000701c13042$9d0352a0$7c7ba8c0@mark...
> Hi,
>
> I would like to kno
You have to write your own function for this.
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I want a function or macro to return executable code yielding syntax
> preprocessing of binary trees. Because the Macro Processor seems to be
> somewhat messy I thou
Fast and dirty:
function readnlines($filename, $count)
{
return array_slice(file($filename), 0, $count);
}
//elias
"Tauntz" <[EMAIL PROTECTED]> wrote in message
003801c12fb2$685b90c0$0f00a8c0@tauntz">news:003801c12fb2$685b90c0$0f00a8c0@tauntz...
hi !
I have a simmple question :)..
Lets say
would like to build/compile php as a dso !
Linux version is Suse 7.2
apache is version 1.3.19 already compiled with mod.so.c
but I don't seem to have an apache/bin and I can't find apxs which should be
there ???
Is this a Suse problem or what ??
do I have to de-install apache and re-install a nor
On Wed, 29 Aug 2001 02:14:10 +1000, "Jason Brooke" <[EMAIL PROTECTED]> wrote:
>Another way you might be able to do it is find an environment variable that
>is only present when the cgi's are executed by the virtual() call,
Could not find any ...
>use the apache SetEnvIf directive combined with
Hing Lung Motor Mfy, New Offer Aug-2001
http://www.hinglungmotor.com.hk [EMAIL PROTECTED] [EMAIL PROTECTED]
Fax: 852-24817148
NO: HL101-D-D8xH6 VIBRATER MOTOR
SIZE: 20 x 15.5 x H25 MM
PRICE: US$ 0.13/PCNO: HL307 MOTOR
SIZE: D12 x 19.5 MM
PRICE: US$ 0.38/PC
NO: HL1011-DC SCOOTER
... I just thought I would see if anyone else can reproduce it!
Ok. The problem is in the following snippet of code. ( Note : this exmaple
is extremely contrived, and is the essence of a much more complicated
situation involving a function call from a class method... )
"AA" , "B" => "BB", "C"=>
I could never get MIME classes and the like to work, so I rolled
my own, so to speak. It was posted here a while ago, but I have
a copy on my web server @ home:
http://planetkiller.shadow.net.au/mime-php.txt
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
You're probably going to need a mime class - Manuel Lemos makes a good one,
then send as a mime attachment.
http://freshmeat.net/projects/mimemessageclass/
Some sample code below that I use (and a mime class).
Example.php
from = "$emailfrom";
$mymessage->to = "$emailto";
$mymessage->subject =
Some of us live in countries where these proxy servers are banned.
I cannot access anonymiser, safesurf or any of the other open proxies.
sometimes accessing cnn is useful, so I wrote some quick and very nasty code
to retrieve and view webpages - also encrypts the url as well - China
sometimes ba
--On Tuesday, August 28, 2001 11:42 PM -0300 Manuel Lemos <[EMAIL PROTECTED]>
wrote:
> These guys resort to these marketing tricks to promote Python as hell,
> and the PHP people just sits and waits doing almost nothing in
> comparision to promote PHP as hard as they can even when they lives
> d
> These guys resort to these marketing tricks to promote Python as hell,
> and the PHP people just sits and waits doing almost nothing in
> comparision to promote PHP as hard as they can even when they lives
> depend on the acceptance of PHP as a wide spread language!
Manuel, please, give this ti
Hi,
I would like to know how to use the mailto function to attach a
specific file.
Thank you
Mark
--
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: [
Hello
A quick question here: is it possible to have your script write to file with
the user's as owner and not as 'nobody' or 'www' as owner (which is what it
usually does). For example in perl one can use cgiwrap to write to file as
the user to whom the script belongs. Any way of doing this in p
Is mysql on the remote server? if so then i doubt very much that they would let
you have root access to the DB... so you need to change your connect line to
resemble the remote server and if it's a web hosting company that your using as
a remote server ask for a user name you can use
>Mailing-
Hello,
James wrote:
>
> We have several GUI applications that we are preparing to convert to
> web-based applications, based primarily on PHP. The applications are based
> on Informix On-Line (on a SCO Unix server) and MS SQL (on NT). Since we
> will be doing a port, in any case, I am wonderin
Hello,
Julio Nobrega Trabalhando wrote:
>
> Hi Manuel,
>
> Great post. I enjoyed the part where you said it would be a good idea to
> do some 'competition' with php programmers, sponsored by some company.
Actually, what I was suggested was not invented. It seems some body with
great intere
Hi geeks,
I have a strage problem over here. I developed a site which runs fine at my home.
When i hosted it on to the remote server it is giving an error saying cant connect
to mysql. the error is like this
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in
Hello Zeev,
Zeev Suraski wrote:
>
> At 23:02 26-08-01, Manuel Lemos wrote:
> >I don't think we have the same understanding of what is marketing. For
> >me, marketing is being proactive in terms of promoting something before
> >the potential market. Seeing people advocating PHP or analysts coveri
I can't get the php to convert audio data to nicely formed binary wav
format. For instance, in perl you simply do a
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
and you're done with it.
In php, there are two problems:
1. no existence of a handy builtin hex2bin() function (thoug
We have several GUI applications that we are preparing to convert to
web-based applications, based primarily on PHP. The applications are based
on Informix On-Line (on a SCO Unix server) and MS SQL (on NT). Since we
will be doing a port, in any case, I am wondering your thoughts on whether
MySQL
On Wed, 29 Aug 2001 08:07, freshNet wrote:
> I am trying to send data from a textarea into a blob and then when
> retrieving the data populating a row in a html table with the text
> wrapping as per the wrap in the textarea.
>
> I keep getting the record in one long line of text that goes off the
http://www.anonymiser.com
> -Original Message-
> From: daniel james [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 12:23 PM
> To: Jeff Lewis; [EMAIL PROTECTED]
> Subject: Re: [PHP] Pulling webpages - may be a weird question :)
>
>
> try readfile('http://www.somesite.com/')
> use:
> preg_match('/\Wgood\W/',$var);
> or
> preg_match('/\bgood\b/',$var);
Or, you could just try strstr($haystack, $needle) ...
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
--
PHP General Mailing List (http://www.php.net/)
To unsubs
At 03:41 PM 8/28/01 , scott [gts] wrote:
>my understanding is that numeric is a broad term for
>number values (any value with only numbers and a
>decimal point) like 1, 5.6, 332, 0.5532, for example.
>
>integers are a sub-set of numerics, so any integer is
>a numeric value, but any numeric value i
Hi,
use:
preg_match('/\Wgood\W/',$var);
or
preg_match('/\bgood\b/',$var);
I don't know exactly.
- Original Message -
From: Brandon Orther <[EMAIL PROTECTED]>
To: PHP User Group <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 12:02 AM
Subject: [PHP] Check if a word is in my
UNSUBSCRIBE
--
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]
if (($var!=0) && ($var*1!=0) && is_int($var*1))
{
echo "is int";
$var=$var*1;
}
else
{
echo "is not int";
$var=1;
}
Works for me because I need an integer greater than 0. Try it out and let
me know any problems with it.
- seb
-Original Message-
From: Phi
I have a medium sized db... with about 300 feilds and 15k rows.
I need to create a search that will submit user input to seach the db from
about 30 different feilds with some of those wildcards.
i.e bedrooms, bathrooms, price, pool, city, etc
Would using an array for the results page be the
Hi,
There is a few scripts on Zend pages.
I'm sure, this one of them will be very helpful:
http://www.zend.com/zend/tut/authentication.php
- Original Message -
From: Rene Fournier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 9:24 PM
Subject: [PHP] htaccess
If the lines terminate in "\n", I'd use fgets($fp,1000) in a loop, and loop
as many times as needed.
$fp=fopen("filename","r") or die ("couldn't open filename");
for ($count=1;$count<=10,$count++)
{
$line=fgets($fp,1000); // the 1000 represents the number of bytes to
go to unless it fin
Wow, I'll try it! I don't think someone will put extra info into the cell,
but you never know.
Thanks,
Hugh
- Original Message -
From: James Holloway <[EMAIL PROTECTED]>
To: Hugh Danaher <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 7:11 AM
Subject: Re: Need help on putting variable
Hi,
try to change the line in that loop to this one:
$sql .= $key.' = '.$$key.', ';
- Original Message -
From: P.Agenbag <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 7:54 PM
Subject: [PHP] Putting variables in a string
> I am trying to make a string that w
You can use sprintf() to determine if a number is numeric or not.
/*
Return TRUE if numeric and FALSE if not.
*/
function is_numeric_php3($var)
{
if( !isset($var) )
return FALSE;
if( $var==0 )
return TRUE;
if( sprintf("%f"
Hello,
you should check the latest version of the manual:
http://www.php.net/manual/en/language.types.integer.php
more precisely and specifically the "integer overflow" section.
I think, you should use the arbitrary precision integer extension.
http://www.php.net/manual/en/ref.gmp.php
hth
---
> > Exactly. When you do ./configure --with-foo=shared; make
> > then modules/foo.so will appear magically and you can dl() that or load it
> > using "extension=foo.so" in your php.ini. You don't have to recompile
> > PHP.
> >
> > -Rasmus
>
> I am afraid that is only theory. I tried that for the
Gentlemen, thank you for correcting me with the space ont the end. Ill
try and make it a habit to echo out the query.
All is well in the land of PHP, till next time.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Hey, please, I'm using the function mail() in one of
my scripts, but when I use it, one exclamation point
appears from nowhere in the email body. And it appears
in different places, it moves around in the email
body. It is very strange. And everytime, every email I
send, it appears, no exception.
Hi it may sound funny, but you may want to add a space at
the end of lines before ".
I mean
$query = "SELECT mpn_job.ID, job, assigned_to, status_date,
category ";
$query .= "FROM mpn_job, mpn_job_category WHERE CID =
mpn_job_category.ID ";
$query .= "AND category =
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> $query = "SELECT mpn_job.ID, job, assigned_to, status_date, category";
> $query .= "FROM mpn_job, mpn_job_category WHERE CID =
> mpn_job_category.ID";
> $query .=
my understanding is that numeric is a broad term for
number values (any value with only numbers and a
decimal point) like 1, 5.6, 332, 0.5532, for example.
integers are a sub-set of numerics, so any integer is
a numeric value, but any numeric value is not
necessarily an integer.
$num=123 is an
well. sure, is_numeric() will work, but the point of the
exercise is to try and determine if a number is numeric
without actually calling is_numeric() or regexps.
personally, i think that regexps are swiss-army knives,
they can do almost anything -- i use them all the time,
although it took me a
"Vincent - D. Ertner" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi phpers,
>
> I'm looking for a PHP Developer ... what is probably the
> best way to go for it?
General procedure is to give a rough sketch of what you want to accomplish,
what development
Ahhh, in that context, with is_integer(), i think
you're partially right. however, i looked it up, and
is_numeric() will work fine.
http://www.php.net/manual/en/function.is-numeric.php
btw-- as for the regexps, none for me, thanks ;)
those things give me the heebie-jeebies.
--- "scott [gts]"
use regexps. that's what their specialty is ;-)
// case insensitive
if ( preg_match("/$text/i", $string) ) {
print "$text is in $string";
}
// case sensitive
if ( preg_match("/$text/", $string) ) {
print "$text is in $string";
}
> -Original Message-
> From: daniel james
Hi phpers,
I'm looking for a PHP Developer ... what is probably the
best way to go for it?
Cheers,
Vince
'''
ô¿ô
-
--
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 administr
$query = "SELECT mpn_job.ID, job, assigned_to, status_date, category";
$query .= "FROM mpn_job, mpn_job_category WHERE CID =
mpn_job_category.ID";
$query .= "AND category = '$category'";
$result = mysql_query($query);
$row = mysql_fetch_row($result);
foreach
although it's a bit klunky (and not entirely correct) to do
things this way, but a simple fopen(); will tell you if
the URL is retrievable or not.
(although i dont think that fopen() handles redirects or any
of those esoteric HTTP features)
but if you want to make sure that a link is there, with
I am trying to send data from a textarea into a blob and then when
retrieving the data populating a row in a html table with the text wrapping
as per the wrap in the textarea.
I keep getting the record in one long line of text that goes off the screen
(ie the horizontal scrollbars show).
Any hel
i think he's asking for a numeric test, not an integer test.
your example looks like it should fail "3.50" (for example),
even though "3.50" is a perfectly valid numeric value.
personally, i think you should just use regexps. ;-)
i tried to write a little is_num() type function, but i kept
gett
Hi
try shell_exec() --- it seems to work better for some things
HTH
Terry Reynolds wrote:
> Hi
>
> I am having major probs trying to exec a command in PHP.
> All i want to do is fill a table from a tab delimited file from within PHP.
> I have set up a file called fillit which consists of:
> mys
Hi Philip,
By definition, any string that does not contain
alpha-characters is numeric. I mean, '123' is an
integer, if only because it isn't 'onetwothree', you
know?
Because if I do this:
$num1 = '123';
$num2 = '456';
$total = $num1 + $num2;
print($total);
the total is going to be 579. You
>From what I heard, the acronym originally stood for Personal Home Page, but
it kind of changed (unofficially?) to Hypertext Preprocessor.
I could be wrong
-Original Message-
From: Martín Marqués [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 3:08 PM
To: John Meyer; [EMAIL PR
I believe that it was called Personal Home Page during version 2, and if I'm
not mistaken, there was a contest (sorta) around the time 3 was released to
find a new name.
On Tuesday 28 August 2001 03:08 pm, you wrote:
> On Mar 28 Ago 2001 19:52, John Meyer wrote:
> > At 05:15 PM 8/28/01 +0228, y
Hi Daniel,
No, I mean if it's numeric, not neccesarily an integer. As the following
is numeric and not an integer but rather, a string :
$num = '123';
Anyone have an authoritative answer on this? Like, something that would
go in the manual as the official php3 is_numeric check?
Regards,
if you're just looking for the 1st occurrence of the
string, it's--
$check = "good";
$var = "This is a good...";
if (!strstr($var, $check)) {
print("$check not found");
}
also, i think strstr() is case-insensitive, so it
won't be able to differentiate between 'Good' and
'good', and will NOT ret
On Mar 28 Ago 2001 19:52, John Meyer wrote:
> At 05:15 PM 8/28/01 +0228, you wrote:
> >It's actually a recursive acronym, like GNU:
> >
> > From the manual:
> >
> >"PHP, which stands for 'PHP: Hypertext Preprocessor', is an HTML-embedded
> >scripting language."
> >
> >J
>
> Am I making things up,
Your $categoryarry is a 2d array, try :
print_r($categoryarry);
But, I think you want to do :
$categories = array('Sasheen','Tom','Fred');
Now, if you do this :
while(list($key,$value) = each($categories)) {
print "$key : $value\n";
}
You'll get :
0 : Sasheen
1 : Tom
2
see :
http://www.php.net/strstr
http://www.php.net/stristr
Regards,
Philip
On Tue, 28 Aug 2001, Brandon Orther wrote:
> Hello,
>
> I have a variable with a string in it. I want to check if in that
> string a certain word is in it. Example
>
> $var = "This is a good sentence";
>
>
Is there any function that will allow me to check to see if a link is valid?
did you try stat()'ing the file?
as long as you have read permission to the file,
you should be able to run a stat() on the file
with no problems
> -Original Message-
> From: Jay Paulson [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] Last Modified question..
>
> I have a problem... I want
do you mean, as in,
if !is_integer($var) {
print("$var is not an integer");
}
--- Philip Olson <[EMAIL PROTECTED]> wrote:
> hi friends,
>
> Can someone post here "the" most efficient method to
> validate a variable
> as numeric? I see a ton of hacks/ways in the manual
> user comments under
> i
Hello,
I have a variable with a string in it. I want to check if in that
string a certain word is in it. Example
$var = "This is a good sentence";
$check = look("good", $var);
and $check would equal 1 since "good" is in that string
does anyone know how to do this?
Well, you could change just to look at this.
Use php's functions to change, check the last modified, and change it
back. Should take a few micro-seconds ;-) and it only uses php.
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
"Jay Paulson" <[EMAIL PROTECTED]> wrote in
At 05:15 PM 8/28/01 +0228, you wrote:
>It's actually a recursive acronym, like GNU:
>
> From the manual:
>
>"PHP, which stands for 'PHP: Hypertext Preprocessor', is an HTML-embedded
>scripting language."
>
>J
Am I making things up, or Did it stand for Perl Hypertext Preprocessor at
one time?
hi friends,
Can someone post here "the" most efficient method to validate a variable
as numeric? I see a ton of hacks/ways in the manual user comments under
is_int, is_integer and is_numeric and would like to see just one or two
good solid ones. And please, no regular expressions :)
Regards,
P
I am using PHP 4.0.6 and when I run the following code I get nothing back
except the error code 27 and a message saying
SSL: couldn't create a context
I can run the same thing from the command line and it works perfectly
does anyone have any ideas on this?
Thanks in advance for any help,
Steve Do
I have a problem... I want to check the last modified time that a file was
changed/updated. Actually, it's an employee database that I'm working on
and I thought about just checking the last modified date on the file that
the information was stored on. However, I get a permission denied error an
Hi,
Don't know if this is the best place to ask, but I thought I would give
it a try.
I was just wondering if anyone knows of any databases which deal with
data duplication (at a low level). Say I have two (or ten) identical
records, does anyone know of any databases which would only keep on
It's actually a recursive acronym, like GNU:
>From the manual:
"PHP, which stands for 'PHP: Hypertext Preprocessor', is an HTML-embedded
scripting language."
J
Jon wrote:
> Hmm although the answer was "Personal Home Page Tools" and is now
> "Hypertext Preprocessor" when people ask me, I say
It has outer joins:
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#JOI
N
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Martín Marqués [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Rasmus Lerdorf wrote:
> > That's not allowing me to simply dl() an SO file, because I don't have the
> > SO file to start with - that's what I was trying to get at. If I have
> > to reconfigure
> > everything, there's not much point, I don't think. Unless I'm missing
> > something
> > ob
On Mar 28 Ago 2001 17:29, Jeremy Morano wrote:
> an somebody please fix up my query.
>
>
>
>
> $connection = @mysql_connect("l", "c", "c") or die("Couldn't connect.");
>
> $db = @mysql_select_db($db_name, $connection) or die("Couldn't select
> database.");
>
>
>
> $sql = "SELECT distinct users.uid
Prezados,
Estou recebendo mensagem de erro ODBC32.DLL
O que está errado ?
Obrigado...
an somebody please fix up my query.
$connection = @mysql_connect("l", "c", "c") or die("Couldn't connect.");
$db = @mysql_select_db($db_name, $connection) or die("Couldn't select
database.");
$sql = "SELECT distinct users.uid , users.username
FROM users LEFT OUTER JOIN picks using(
>Case 2. Without any form of auth, I read the text file and do
>mysql_connect($the_db_host,$the_db_username,$the_db_pass);
> mysql_select_db($the_db_name);
> mysql_query("select * from table");
>
>and the server response is:
>Error 2002: Can't connect to local MySQL server through
A couple of points here... First, 0 is obviously wrong for
3221225472 & 1073741824
But I don't know how you got 2147483648 either.
I get 1073741824 as
3221225472 = 1100
1073741824 = 0100
1100 &
0100
this should do it for you.
$categoryarry = array(array("","none"),array("1","John"),array("2","Jim"));
foreach($categoryarray as $value) {
if($value[0] == $srch_cat) {
$cat_option .= "$value[1]\n";
} else {
$cat_option .= "$value[1]\n";
}
}
- Original Message -
From: Tom Be
I have some code I use to create pulldown menus. It's as follows;
$categoryarry = array("","1","2","3","4","5");
while (list($key,$value) = each($categoryarry)) {
if ($value == $srch_cat) {
$cat_option .= "$value\n";
} else {
$cat_option .= "$value\n";
}
}
It works fine when the pu
Please, someone, help me...
What I want to do: Have a user prompted for an ID/password, both of which
(if valid), get passed to a PHP script, which then uses the ID/password to
selectively display certain fields of a table. (For example, if the user
logs in as "Sales", he would only see the sal
Viva,
no ficheiro INSTALL da distribuição do php tens instruções
passo-a-passo. Basta segui-las, mas para quem não tem prática pode
parecer estranho. Aconselho a ler o ficheiro várias vezes ;)
http://php.net/manual/pt_BR/installation.php
é outra hipotese.. nem tudo está em português.
Boa so
Hello, all.
What is the difference between:
Case 1: I auth with header('WWW-Auth...') and validate the user from a
plain file. Next, i do something like
mysql_connect($the_db_host,$the_db_username,$the_db_pass);
mysql_select_db($the_db_name);
mysql_query("select * from table");
---
hi everybody!
i have an account at strato (german provider) who
hosts my php-scripts.
now i want to make a dir with mkdir("../tmp/$id", 0777)
it doesn't work at all eventhough the rights of tmp are set
to 777.
the script also doesn't alert anything, not a failed or anything..
does an
Instalei o servidor apache e agora estou configurando o php alguém sabe de algum lugar
que tenha a instalação passo-a-passo?
Obrigado...
Hi
I am having major probs trying to exec a command in PHP.
All i want to do is fill a table from a tab delimited file from within PHP.
I have set up a file called fillit which consists of:
mysqlimport -u user -ppassword database list.txt
This works from the command line perfectly.
I made this ex
Hello,
I have one question. How can PHP work with longint (in C we call
them "unsigned long") variables?
F.e., I want to do next thing:
65536 & 4096 = 0 (this is right)
65536 & 65536 = 65536 (again, everything is okay)
196608 & 6553
--- Steve Edberg <[EMAIL PROTECTED]> wrote:
> My guess is that your register_globals config option
> is off:
Your are quite right it is off. Right at the bebinning
of php.ini it says so. Blame on me i missed it.
> You should be able to access the values you want via
>
> $HTTP_POST_VARS['name']
try readfile('http://www.somesite.com/');
it creates a mirror; it might bypass the firewall,
depending on how the blocking software is keyed to
activate.
-dj
--- Jeff Lewis <[EMAIL PROTECTED]> wrote:
> I was sitting here at work (working of course!)
> thinking about how some sites are blocked et
> Exactly. When you do ./configure --with-foo=shared; make
> then modules/foo.so will appear magically and you can dl() that or load it
> using "extension=foo.so" in your php.ini. You don't have to recompile
This is very good news! I must have mis-rad the manual on this part!! Is
there any way
I was sitting here at work (working of course!) thinking about how some sites are
blocked etc from viewing... Is it possible with PHP to do something like this:
Have a page where I can create kind of a middle man. I mean the PHP can be hosted on
my server, it goes to the site I'd want to view
My guess is that your register_globals config option is off:
http://php.he.net/manual/en/configuration.php#ini.register-globals
(I believe that recent versions of PHP have it off by default). You
should be able to access the values you want via
$HTTP_POST_VARS['name']
and
>Hi .
>You are years old.
>
>This action.php is supposed to print out values one
>enters to the form fields. Right?
>
>So, my problem is that it doesn't. Instead, it prints
>Hi.You are years old.
Try:
Have fun,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
I just used the url to pass it since no matter what I did I couldn¹t seem to
get it to work when cookies were turned off on my mac. I've read the
session url on the php site from top to bottom and the transparent sessions
are even enabled on the server, but yet to no avail on the mac :(
> on 8/2
> That's not allowing me to simply dl() an SO file, because I don't have the
> SO file to start with - that's what I was trying to get at. If I have
> to reconfigure
> everything, there's not much point, I don't think. Unless I'm missing
> something
> obvious. I'd like to be able to simply have
I am trying to make a string that will contain variables.
The resulting string will be a sql query string and must look something
like
" update $table_name set key='$key' , next='$next' where id = $id"
Since the variable name is the same as the key name, I tried to generate
this string with a
on 8/27/01 10:31 AM, Richard Baskett at [EMAIL PROTECTED] wrote:
> Ok on a pc when I have cookies turned off I am still able to access my
> session variables, but on a mac I can not. Is there a difference between
> the way session variables are stored on each platform? And if a session is
> ind
But that's not the problem. I know str_replace can handle what you just
wrote. My problem is replacing TWO tags at the same time. Take a look
at my script and you'll know what I mean. Can anyone help me with this?
-Original Message-
From: J Friesen [mailto:[EMAIL PROTECTED]]
Sent: Tuesda
On Tue, 28 Aug 2001 11:35:33 -0400, Michael Kimsal
([EMAIL PROTECTED]) wrote:
>So require them to have cookies turned on. If it's YOUR system, you
>can require whatever you want. If this is something for your
>company,
>presumably
>it's a business tool of some sort, and you can then require them
Hi everybody,
i'm a newie in php, but i have a general understanding
of it.
Recently, i've installed PHP as a static module on my
Apache-1.3.19 and tried an example i read in PHP
tutorial.
Assume you have a page with a form like this on it:
Your name:
You age:
and action.php like this
Hi
If that's the code you're running, it's got several
problems--
1st, the function is mysql_query()
2nd, the query is built like this:
$connection = mysql_connect('host', 'user', 'pass');
$db = mysql_select_db('db', $connection);
$query = "SELECT * FROM tablename WHERE primary_key =
'$primary_key'
1 - 100 of 209 matches
Mail list logo