G'day Guys
Sorry, i should have explained it better. What i want to do is grab 2
different lots of text from the same page. Say the page had this text
10am
Some text
12pm
Different text
2pm
I want to be able to grab from say 10am to 12pm and store it in $texta and
then grab from 12pm to 2pm a
Sunil Jagarlamudi wrote:
> How to disable access to the entire site if the cookie
> is not set ?
>
> Can we disable access entirely with some kind of a
> script which checks before it allows access ?
Take a look at
http://www.zend.com/codex.php?id=458&single=1
There are many ways to do that.
if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit();
> -Original Message-
> From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 9:49 AM
> To: [EMAIL PROTECTED]; Sunil Jagarlamudi
> Subject: [PHP] Re: How to disable access to the site
>
>
> Sunil Jagarlamudi w
Andre Lacour wrote:
> if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit();
This may work, but it could result unwanted behaviour for broken
browsers that do not send cookie correctly. Some broken browsers do not
send cookie first time sometimes. We need to direct once to make sure.
This wor
On Mon, 27 Aug 2001 17:10, Ben Quinn wrote:
> G'day Guys
>
> Sorry, i should have explained it better. What i want to do is grab 2
> different lots of text from the same page. Say the page had this text
>
> 10am
> Some text
> 12pm
> Different text
> 2pm
>
> I want to be able to grab from say 10a
You could do this if your $GrabStart and $GrabStop are ALLWAYS the same
(Like:
###START###
10pm
Blah
###STOP###
###START###
12pm
Blahblah
###STOP###
)
$file = file("url.txt");
$str = join("\n", $file); // You can use whatever to join the rows
$GrabStart = "###START###";
$GrabEnd = "###STOP###";
Yasuo Ohgaki wrote:
> Andre Lacour wrote:
>
>> if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit();
>
>
>
> This may work, but it could result unwanted behaviour for broken
> browsers that do not send cookie correctly. Some broken browsers do not
> send cookie first time sometimes. We need
How to sort search results of php-mysql site by relevance?
<>< <>< <>< <>< God is our provider ><> ><> ><> ><>
http://www.body-builders.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
In article <3B8A1D6A.4295.2947D@localhost>, [EMAIL PROTECTED] (Yura)
wrote:
> How to sort search results of php-mysql site by relevance?
See the mysql manual's chapter on FULLTEXT indexes.
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Fanda wrote:
> Hi,
> can I use some php funciton to convert strings to charset iso-8859-2? Do
> exists some function to detect encoding of string?
Try multi-byte string module.
It can detect encoding and convert one from another.
Look for PHP manual for details. You might also interested in ico
Ralph Deffke wrote:
> does anybody know a resource where i can get apc for windows? or does
> anybody have experienced how to compile APC under wimdows and include it
AFAIK, it does not compile under Windows now. Help would be appreciated
by the developers, I think.
--
Yasuo Ohgaki
I would suggest looking for a real *Support Forum* or http://www.pdflib.com/
>Do anyone know, how i define the "width", "height" etc. parameters in
PDFlib
>functions in PHP? Is it in cm, pixels, inch? Or?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
Dear all
I'm writing a script which will greb the data from a user input form into a
text file (txt file), but the problem is that when the data had passed to
the txt file, there will be some thing like the and black square appear
inside the file. This is affecting to display the data from that t
Hi
Do anyone know, how i define the "width", "height" etc. parameters in PDFlib
functions in PHP? Is it in cm, pixels, inch? Or?
Anyone know?
I need to generate printingfiles, so I hope I can use cm or sometime like
that :o)
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
G'day David, Niklas
As usual i'm in way over my head so i'm going to be a real pain and ask for
more help
Niklas, unfortunately the start and stop points change constantly, i'm
hoping to get around this by using the substr() function - luckily the
format (in tables) stays the same
My main objec
On Saturday 25 August 2001 14:44, Saurabh Kapoor wrote:
> I am a C programmer, looking to migrate some code to PHP (Unusual, but
> my colleagues request it).
>
> Can someone tell me the size (in bytes) of the type int in PHP.
It's sizeof (int), i.e. the same size as an int in C on that platform.
oh yeah, that's true.
Ok, i made a dir 'testdir' with permissions 777.
Still i it gives the same error.
Warning: error opening /web/testdir/test.html in
-Maarten
- Original Message -
From: "Chris Lambert" <[EMAIL PROTECTED]>
To: "MBK" <[EMAIL PROTECTED]>
Cc: <[EMAIL PR
So sprach »Zeev Suraski« am 2001-08-27 um 09:40:40 +0300 :
> Regarding source code hiding, you can use the Zend Encoder. Pricing wise,
> the lowest you can get it for right now is $50/month, which may be too high
> for certain developers.
Uhm, really? I mean, if you don't make $50/month, the
Shell PHP scripts will start with the line
#!/path/to/php -q
Regards
Jon
--
Jon Farmer O?O¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: George E. Papadakis [ma
Note that I have problems with shellscripts written on Windows the SCP to Linux.
They don't run a t first time. So I've to open them with a editor(i prefer joe),
remove Ms (newlines) after -q to http://www.icygen.com
99%
- Original Message -
From: "Jon Farmer" <[EMAIL PROTECTED]>
To: "Ge
Hi folks
I would just like to highlight an issue which I feel has a negative effect
on the acceptance of PHP.
This is the difficulty of finding, downloading, compiling and installing the
various PHP libraries not included in the core distribution. Many quite
important libraries seem to be persoa
Good Morning
I am working with PHP 4.0.6, and I do not obtain to send given of the page
for the printer. I use function " PRINTER_OPEN() ", I make the manual in
accordance with, exactly thus it gives an error to me of indefinite
function. What it can be?
Fatal error: Call you undefined funct
From: Daniel Antonio de Lima <[EMAIL PROTECTED]>
Date: Tue, Aug 27, 2019 at 07:55:33AM -0300
Message-ID: <001d01d55cc5$f38cc7a0$[EMAIL PROTECTED]>
Subject: [PHP] Print..
> Good Morning
>
> I am working with PHP 4.0.6, and I do not obtain to send given of the page
> for the printer. I use fu
I'm not familiar with this module, which only works under Windows, but
an undefined function usually means an extension is not loaded or
available.
I notice in php.ini-dist that there is a line
extension=php_printer.dll
so you'll want to check that your php.ini file has that and it's not
commen
works only on windows and you must have the printer extension installed and
configured in your php.ini file
At 13:02 27/08/01, * R&zE: wrote:
>
>From: Daniel Antonio de Lima <[EMAIL PROTECTED]>
>Date: Tue, Aug 27, 2019 at 07:55:33AM -0300
>Message-ID: <001d01d55cc5$f38cc7a0$[EMAIL PROTECTED]>
> > if ($var){
> > $tmp = explode("<|>",$vars);
> > for ($i = 0; $i < sizeof($tmp); $i++){
> > $struct[$i] = array();
>
> You really don't need this line...
>
> > $tmp2 = explode("<||>",$tmp[$i]);
> > for ($j = 0; $j < sizeof($tmp2);$j++){
>
> Try assigning $tmp3 =
Geoff Caplan said:
> I would just like to highlight an issue which I feel has a negative effect
> on the acceptance of PHP.
> This is the difficulty of finding, downloading, compiling and installing the
> various PHP libraries not included in the core distribution.
Amen.
As a member of a bac
Try http://groups.yahoo.com/pdflib/
- Original Message -
From: "Criegern, Phillipp von (PDV)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 6:12 PM
Subject: [PHP] RE: [PHP-DEV] Question about PDF lib.
> I would sug
I hope someone has got solution for this:
I'm trying to write a script which will watermark a jpeg file with png logo,
and output the resulting jpeg to a file. Unfortunately, whatever I do, I'm
unable to get transparent color in png to disappear, by any means.
the png file is 8bit, jpeg is true
That file doesn't exist. Put it there again so I can take a look at it. And
pls notify me when it's there. :)
Niklas
-Original Message-
From: Ben Quinn [mailto:[EMAIL PROTECTED]]
Sent: 27. elokuuta 2001 11:41
To: Php-General
Cc: Niklas Lampén; [EMAIL PROTECTED]
Subject: Re: [PHP] Web fe
the function printer_open() or printer_write() doesn't exist in php.
I don't know where you saw those functions.
- Original Message -
From: "Daniel Antonio de Lima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2019 12:55 PM
Subject: [PHP] Print..
Good Morning..
>From the PHP manual (http://www.php.net/manual/en/ref.printer.php):
These functions are only available under Windows 9.x, ME, NT4 and 2000. They
have been added in PHP 4 (4.0.4).
Rudolf Visagie
[EMAIL PROTECTED]
-Original Message-
From: MBK [mailto:[EMAIL PROTECTED]]
Sent: 27 August 200
From: MBK <[EMAIL PROTECTED]>
Date: Mon, Aug 27, 2001 at 01:59:10PM +0200
Message-ID: <008e01c12eef$ae7be0a0$3d1c8418@mbkomp>
Subject: Re: [PHP] Print..
> the function printer_open() or printer_write() doesn't exist in php.
> I don't know where you saw those functions.
>
Hello! Did you
hi
check this out before posting: http://php.net/manual/en/ref.printer.php
windows specific functions
regards
At 13:59 27/08/01, MBK wrote:
>the function printer_open() or printer_write() doesn't exist in php.
>I don't know where you saw those functions.
>
>- Original Message -
>From: "Da
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.
For example, most times when I want a php script, either I go to
Hotscripts.com or Sourceforge.net.
Sf.net, by rebound, makes me rem
How about Mono from Ximian?
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
"Reductor" <[EMAIL PROTECTED]> wrote in message
008001c12df9$e96806e0$eb00a8c0@mum">news:008001c12df9$e96806e0$eb00a8c0@mum...
> Just looking over the achives of the .net show(was msdn show), and wi
Hi all,
Can anybody help me with this authentication problem?
Clients can log in using a html form on my site. When they log in their username and
password are checked in a mysql database. Then they are forwarded to a url, a
directory on my site also coming from the db. This directory should
Hi Wilbert,
what I have done in the past (probably not the best way) is to stick a
function call in the top of all pages in that directory which calls a
function that checks for a cookie to see that the person viewing has
actually logged in.
I hope that helps.
Abe
On Mon, 27 Aug 2001, Wilbert
as I make to print of the page for the printer without using the button of
the navigator, ito is, to print through a command php, could say which to me
the command or function that I must use .
Daniel
- Original Message -
From: MBK <[EMAIL PROTECTED]>
To: Daniel Antonio de Lima <[EMAIL
Mind giving some more infro on this :D ?!?
- Original Message -
From: "Julio Nobrega Trabalhando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 10:36 PM
Subject: [PHP] Re: Thinking about going to ASP
> How about Mono from Ximian?
>
> --
>
> Julio Nobrega
>
>
I've also been having problems with trying to pass parameters in the path,
using PHP as a CGI. I would hate to go into production with this site with
page.php?query=value&query2=value2 type of URL's, but I've not been able to
find a way to get page.php/value/value2 to work (throws Premature end o
Oops, my bad.
I always check bigmanual.html, also from php.net
couldn't find it in there.
- Original Message -
From: "hassan el forkani" <[EMAIL PROTECTED]>
To: "MBK" <[EMAIL PROTECTED]>; "Daniel Antonio de Lima"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 1
From: Daniel Antonio de Lima <[EMAIL PROTECTED]>
Date: Tue, Aug 27, 2019 at 10:03:31AM -0300
Message-ID: <00c001d55cd7$d37e6e20$[EMAIL PROTECTED]>
Subject: Re: [PHP] Print..
> as I make to print of the page for the printer without using the button of
> the navigator, ito is, to print through a
hello world\nI love you all!";
$re = "/(.+?)<\\/pre>/im";
preg_match_all($re, $mem, $match);
var_dump($match);
?>
and the output is:
array(2) {
[0]=>
array(0) {
}
[1]=>
array(0) {
}
}
if i remove the \n in the $mem var everything works okay.
--
PHP General Mailing List
> -Original Message-
> From: Seb Frost [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 26, 2001 6:49 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] What is it with _vti?
>
>
> I have these _vti_pvt _vti_cnf directories on my website.
> Why? I never put them there... can I delete them?
PFE32 and WS_FTP when in windows
VI or kwrite when under linux
Greg Beaver wrote:
>Hi,
>
>I'm curious what programs/platforms different people use to develop PHP.
>
>I don't have access to a good unix or linux server (need the hard drive
>space for large .wav files), so I develop in Microslop L
We've used rackspace, webservepro.com, xo, and had
machines placed at exodus.
Webservepro.com is the least
expensive, and they still maintain pretty good service (personal service
I mean). No default UPS - you gotta pay extra for that if it's that
important to you (over 2 years hosting - 2 hou
howdy,
this should be simple but i don't know it. i use the following mysql
table field as the Key for my tables:
"id int(10) unsigned NOT NULL auto_increment,"
now, when i have to clean up items in my tables, like when users have
sent off a .html form multiple times and i want to delete dupli
Hi,
Is there a smart way, that I have overseen, to update/download 2 (or more)
PHP-docs with only one POST/GET instruction ?
I do not want to use either javascript or cockies!
Michael Cronström
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I think that is the solution:
hello world\nI love you all!";
$re = "/(.+?)<\\/pre>/is";
preg_match_all($re, $mem, $match);
var_dump($match);
?>
The modifier which will work for you is 's', not 'm'. Look at the manual at :
http://www.php.net/manual/en/pcre.pattern.modifiers.php
This prod
Before you drop them, noodle around a little bit and learn how much extra
crap and duplication of your site FP drops on you. It's like a bloody seagull!
Miles
BTW - Don't drop them on the Windows machine where you do your FP work, the
poor program won't be able to function without all its redu
It there are not many gaps, do it by hand. Another algorithm is to make a script:
rename the $table."_new" to $table.
DO NOT FORGET TO CREATE AGAIN THE INDEXES ON THIS TABLE.
2)or create a empty table with the same structure. phpmyadmin is ideal for that. after
that 'INSERT INTO table_new select
The only FP work I do is open it up, lay out a form (for example) and then
cut and paste the html into my php doc in textpad.
Have deleted all and everything. All seems ok.
- seb
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: 27 August 2001 15:27
To: [EMAIL PR
> Everything is pretty much set to default vaules. I can
> leave the browser open and come back 12+ hours later
> and the session is still active. Why??
There is another setting which affects this, gc_probability. This setting
determines how often the garbage collection routine runs (that kills o
greetings.
Are there any ways to control exact printing output? Like exact
positioning of an object (pic, text or whatever) in a A4 sheet, for an
example?
Thanks in advance,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Several articles. Basically is an open-source answer to .NET.
http://www.newsforge.com/search.pl?query=mono
--
Julio Nobrega
A hora está chegando:
http://toca.sourceforge.net
"Reductor" <[EMAIL PROTECTED]> wrote in message
003901c12ef8$fd9a4ec0$eb00a8c0@mum">news:003901c12ef8$fd9a4ec0$eb00
I would like to also add in, my real job we have exodus as a host, we are going to be
moving from
exodus due to worries about their business and them going under ... just to let you
know they have
dont nothing to calm down our fears, while our $34/k a month doesnt make us a huge
client you
woul
Are there any free PHP mysql database admin programs out there?
Thanks,
Joseph
--
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]
Try phpMyAdmin
http://phpwizard.net/
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Joseph Bannon" <[EMAIL PROTECTED]>
To: "PHP (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 6:06 PM
Subject: [PHP] PHP mysql admin?
> Are there any
Does PHP currently support SOAP? If so, where is the documentation on it
(couldn't find it on the site)? If not, when will it be supported? Thanks!
Sean McCormack
Lead Web Developer, Liaison
voice: 512.345.0020 x 189
email: [EMAIL PROTECTED]
> Automating Catalog Content for Commerce...
http://w
Use PDFs or Word or something else. Straight HTML wasn't intended to be a
method of specifying exact locations for paper reproduction.
Using pdflib with PHP (you'll need to compile it in and possibly
purchase it
as well) you can do this. Using COM support under Windows/PHP you can
theoreticall
I know it's not specifically what you're looking for, but it may help
further the discussion.
We offer PHP training courses. While it's not 'certification' in the sense
that we're not a 'well-known, respected' authority, we provide a hands-on
environment where you learn a series of skills - from
Thanks. I'll give it a try.
Joseph
-Original Message-
Try phpMyAdmin
http://phpwizard.net/
- Original Message -
> Are there any free PHP mysql database admin programs out there?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
Sean McCormack wrote:
>
> Does PHP currently support SOAP? If so, where is the documentation on it
> (couldn't find it on the site)? If not, when will it be supported? Thanks!
>
> Sean McCormack
> Lead Web Developer, Liaison
> voice: 512.345.0020 x 189
> email: [EMAIL PROTECTED]
Do a search on
Hi all,
I have a newbie question, I hope somebody can help me out.
I have an HTML form (query.html) that has a drop down menu of all 50
states and 3 checkboxes of 3 years (1999, 2000 and 2001), I want users
to be able to select one state and any year(s) they want (they can
choose one or more yea
Hello.
I am reading in text files in a php-script and am getting path errors.
I have set the php-path in php.ini to
/home/web/public_html/cgi-bin/chanet/ and am trying to call a file in
/home/web/public_html/cgi-bin/chanet/daten/. I use the path
../../cgi-bin/chanet/daten/ to call the files (the
Checkout the following list of SOAP implementations:
http://www.soapware.org/directory/4/implementations
You should find at least two implementations for PHP there.
Josh Hoover
KnowledgeStorm, Inc.
[EMAIL PROTECTED]
Searching for a new IT solution for your company? Need to improve your
produ
Visit:
1)http://freshmeat.net/search/?site=Freshmeat&q=php+soap§ion=projects
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Sean McCormack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 6:32 PM
Subject: [PHP] PHP and S
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
indeed a cookie, then why does the session still work on pc's with cookies
di
Wanted: PHP developer to join a small but growing techie website. Basic PHP
and mySQL experience necessary. Email [EMAIL PROTECTED] for more
information
Note: this is a non-profit website
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
i use win98se, where could i get a .DLL or .SO file to
accelerate PHP like Zend opt??
thank you!!!
--
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
Sorry for the length of the link:
"Using PHP with Web databases"
http://www-105.ibm.com/developerworks/education.nsf/web-onlinecourse-bytitle/B363B3AB5700BDE486256AAF003AA401?OpenDocument
-- teodor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Hi,
I want to read a file on my web server in a .php script using fopen and
I don't want to set read permissions on this file for everyone. However it
seems that the PHP module has that same access to the filesystem that
everyone would have. I can only read this file if I set read permissions
If Apache/php runs under nobody user, than make all files read only by the group of
nobody, and no other users to be in this group.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Pascal Chouinard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
$v){
$str.=sprintf('|%20s',$v).;
}
echo $str."\n"
}
?>
Hope this make a little help.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Mouncef Belcaid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 7:08
Don't forget to
mysql_free_result($res) after the "while", if you have other PHP statements before the
end of the script.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Mouncef Belcaid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday,
yes, phpMyAdmin is the very best!
greetings,
gert mellak
==
eMail: [EMAIL PROTECTED]
http://www.mellak.com
Andrey Hristov <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
017a01c12f0c$3f013000$[EMAIL PROTECTED]
> Try phpMyAdmin
>
> http://phpwizard.net/
>
> Andrey Hristov
> IcyGE
I love PHP, but for the following reason it could be the death of it. All
the PHP intellectuals stand up, get together, and solve this problem, or at
least give us some reassurance. (I'm only a newbie after all). :)
-Original Message-
From: Dan Harrington [mailto:[EMAIL PROTECTED]]
Sent:
Guys, why isn't this working? :)
SELECT * FROM links WHERE name LIKE "%te%" OR description LIKE "%te%" OR url LIKE
"%te%" AND approved="1" LIMIT 5
I am using a PHP script to add items to the database and a small search file to grab
them. Thing is, I want the above to grab ONLY ones that have
hi!
I ever solve this problem with sessions... when a user does the login, I
have
session_start();
session_register("allowed");
$allowed = true;
and on the top of all the other sites, where just "special" users are
allowed to go in, there is a
include ("checkAllowed.php");
checkAllowed.php ju
So sprach »Joseph Bannon« am 2001-08-27 um 10:06:39 -0500 :
> Are there any free PHP mysql database admin programs out there?
yup, phpmyadmin. I'd recommend the newer versions from
http://phpmyadmin.sourceforge.net. It has some nice feature additions
compared to the original one.
Alexander Skw
This line seems a little odd:
$files_to_include[count($files_to_include)] = $file;
I would change it to:
$files_to_include[] = $file;
Could be a bit of a bug. I am able to run your script on my server, so the
error could also be coming from one of the files you a
The line:
echo "$r[ $i ]";
does not need quotation marks. You should change it to:
echo $r[ $i ];
I removed the quotation marks and your script ran fine on my server. If
this doesn't help post more information.
Robert Zwink
http://www.zwink.net/daid.net
-Original Message-
So sprach »Geoff Caplan« am 2001-08-27 um 11:26:09 +0100 :
> standard, and no central repository. This compares badly with platforms such
> as Perl and Java, who tackled this issue long ago.
Actually, I think you're right.
On the one hand, it's quite nice that there are so many librariries
which
It's postscript points, I believe... 72 points per inch.
So, an 8.5x11 page is 612x792 points large.
--Matt
-Original Message-
From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 3:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] Questi
I think that this depends on GPC setting. If first is get, and then cookie I think
there is no problem because $allowed from GET
will be overwritten by the session variable which is read from
session_892147jshfjksahfdjk8978 file because
$PHPSESSID==892147jshfjksahfdjk8978 . But is better to use
Yes, there is a problem.
--
SELECT *
FROM links
WHERE 1=1
and ( name LIKE "%te%"
OR description LIKE "%te%"
OR url LIKE "%te%" )
AND approved="1" LIMIT 5;
--
--- Jeff Lewis <[EMAIL PROTECTED]> wrote:
> Guys, why isn't this working? :)
>
> SELECT * FROM links WHERE name LIKE "%te%" OR descr
Well my first solution didn't really work the way I needed it too so here
goes again...
Data returned from server process looks like following...
Header
datadatadatadata[link]datadatadata{link}data[link]
datadata{link}data[link]datadatadata{link}data[link]
datadatadatadata[link]datadatadata{link
Hi,
Can somebody help me out?
My where clause is completely being ignored.
More specifically the <>. I tried to use != and that didn't work either.
However, when I substitute it with an = , It fuctions correctly.
Right now, the output is all the users.uid and all the users.username from
the tabl
Hello Jeremy,
you are using two tables, but you are not joining them.
What's you goal?
--- Jeremy Morano <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can somebody help me out?
> My where clause is completely being ignored.
> More specifically the <>. I tried to use != and that
> didn't work either.
> Ho
I don't know if this will help but why not to try
$sql = "SELECT distinct users.uid , users.username
FROM users LEFT JOIN picks USING(uid)
WHERE picks.users_uid <> users.uid
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Jeremy Morano" <[EMAIL P
Some time spent to try but now i think it works:
";
$a='datadatadatadata[link1]datadatadata{link2}data[link3]';
// $a='datadata{link1}data[link2]datadatadata{link3}data[link4]';
$pattern='/((\[)|\{)(.+?)(?(2)\]|\})/';
echo $a."\n";
echo $pattern."\n";
preg_match_all($pattern,$a,$matches,PREG
called with :
http://192.168.1.11/test2.php?allowed=5000
returns :
int(3306)
>From php.ini :
variables_order = "EGPCS" ; This directive describes the order in which PHP registers
; GET, POST, Cookie, Environment and Built-in variables (G, P,
; C, E & S respectively, often refe
On Mon, 27 Aug 2001, Andrey Hristov wrote:
> session_start();
> if (!session_is_registered("allowed")){
> $allowed=3306;
> session_register("allowed");
> }
> var_dump($allowed);
> ?>
>
> called with :
> http://192.168.1.11/test2.php?allowed=5000
>
> returns :
> int(3306)
Ok,
remeb
In article <030d01c12f2f$49ca7d20$0b01a8c0@ANDreY>,
[EMAIL PROTECTED] (Andrey Hristov) wrote:
> session_start();
> if (!session_is_registered("allowed")){
> $allowed=3306;
> session_register("allowed");
> }
> var_dump($allowed);
> ?>
>
> called with :
> http://192.168.1.11/test2.php?al
New version, but it's CGI :(
It's causing all sorts of problems.
Thanks for the help, but I've killed this method in favor of including a
file that includes the files :)
best,
jaxon
> -Original Message-
> From: Robert V. Zwink [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 2
Thanks a lot.
- Original Message -
From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]>
To: "Alex Sofronie" <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 6:22 PM
Subject: Re: [PHP] MySQL Database backup
> Alex,
>
> i'm using the crontab of linux to run a php script:
>
> in crontab: "w
HEllo,
I think this will better work. What Jeremy wants to do is
to OUTER joing the tables:
SELECT distinct users.uid , users.username
FROM users LEFT OUTER JOIN picks using(uid)
may do the trick.
If you say letf join and the use ids not equal in the
where, then I think it's same as saying:
wher
Hi
I am trying to auto generate some sql strings.
The resulting string should look like this:
update $table_name set var1='$var1', var2='$var2' . where
id=$id
I used a foreach loop to get the keys from a table and in each foreach
loop I tried the following.
foreach($myrow as $key=>$va
Hi All,
I need to get info from a flat file line by line. What I need to do is
get 3 separate lines and then a paragraph. Can someone point me to a
tutorial or info on the subject.
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
1 - 100 of 150 matches
Mail list logo