Tyrone Mills pressed the little lettered thingies in this order...
How about using something like puTTY or SecureCRT?
Just a side note. I also like SecureCRT, but it isn't free (which was
the original request) unless you install an alternative license. It's
worth the $99 to me, but the
On Mon, 14 May 2001 23:29:03 -0800, Christopher Ostmo
([EMAIL PROTECTED]) wrote:
Tyrone Mills pressed the little lettered thingies in this order...
How about using something like puTTY or SecureCRT?
Just a side note. I also like SecureCRT, but it isn't free (which
was
the original request)
Hi,
does anybody know which extension I need to connect to a MSSQL DB, and
wher
I could get it?
go to www.php4win.de they offer a .exe with lots of extensions.
hope it helps
Johannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I'd say the first one, but if you'd use $myvar as a constant only, try this:
define(MYVAR,3);
Might be even more efficient ;-)
btw. You can call this value like this:
echo MYVAR;
Zef
Noah Spitzer-Williams [EMAIL PROTECTED] schreef in berichtnieuws
9dpjiu$5nu$[EMAIL PROTECTED]
Which of the two
On Tue, 15 May 2001 10:38, Maree Talbot wrote:
Is it possible in PHP, to open a remote file with fopen() and begin
sending the contents of the file to the client before the entire file
has been read from the remote source?
If so, how? I've been unable to get it to work so far, probably
Greetings PHP friends,
I'm compiling a list of PHP related propaganda, please send any that you
know of. Positive, Negative, Neutral ... all is welcome! ;-) Thus far :
Stats :
I am trying to pull all the e-mail out of the database and put them
in a format like this [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
this is what I have now but I don't seam to be going in the right
direction. Could somebody give me a hint
$sql = SELECT email FROM customers;
Hello.
you can try passing the name of the variable? i.e.:
function makeJSArray($array_name) {
global $$array_name
$array = $$array_name;
...
...
}
otherwise, I don't think you can logically access the name. Consider this:
$a=array(...);
$b = a;
makeJSArray( $b
Hello,
I am trying to get values assigned to variables, by taking these data from a
textfile.
my txt file looks like that:
variable1 // value1
variable2 // value2
etc...
The point here is that I want to be able to get BOTH the variable name and
its corresponding value..
I tried things like:
Hi Richard,
Richard I am trying to pull all the e-mail out of the database and put them
Richard in a format like this [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
Richard this is what I have now but I don't seam to be going in the right
Richard direction. Could somebody give me a
Hi Richard,
I *always* get this word wrong, but here goes You need to
concantenate (grimace), which means (simply) add to to the variable,
using .=
Modify your code slightly:
?
$recipient = ;
$result = @mysql_query($sql);
$num_rows = mysql_num_rows($result);
while($myrow =
How do i do this?
I have tried using the array_push function without sucess and when i try
this :
$stack[]['id'] = $menuArray[$rowID]['id'];
$stack[]['parentId'] = $menuArray[$rowID]['parentId'];
$stack[]['name'] = $menuArray[$rowID]['name'];A
obviously the array's internal pointer will
Hello Jason.
I had similar problems on windows. I found out that somewhere in my script
there was a fopen() and a consequent file read, which behaves different on
Unix than on windows when used on binary files. I could solve this by using
the b-switch with fopen(), forcing binary file (see docs
Hi,
i try to install PHP4 under Suse Linux 7.1
When i use the configure command i get the following error message:
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
this is the command i used:
./configure
I think you want
$recipient .= $myrow[email] . ,;
although that does leave a comma at the end. You can just knock the last
character off the end or , more elegantly,
$recipient = array();
while ($myrow = mysql_fetch_array($result)) $recipient[] =
$myrow[email];
sure it won't like that!
patch the while{} body and make it look like:
$recipient .= $myrow[email] . ,;
but better initialize the $recipient to before the while loop
and after the while loop do remove the last trailing ,
-elias
http://www.eassoft.cjb.net
Richard Kurth [EMAIL PROTECTED]
yes, almost same for MS platforms with batch files:
converall.bat:
for %%a in (*.php;*.php3) DO asp2php %%a
eof
-elias
http://www.eassoft.cjb.net
Brandon Orther [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I found asp2php to be a great tool. Does
Just wondering...
That the first newsgroup i ever joinedand I noticed that it hold almost
100,000 message w/o deleting old one and keeping new ones...
How much can it hold? How much it's owner will allow it to hold messages?
Just wondering again... ;)
-elias
--
PHP General Mailing List
From what I could see you want variable variables
$value = $line[0];
$variable = $line[1];
$$variable = $value;
// Tobias
Alain [EMAIL PROTECTED] wrote in message
9dqrh1$23a$[EMAIL PROTECTED]">news:9dqrh1$23a$[EMAIL PROTECTED]...
Hello,
I am trying to get values assigned to variables, by
This should do what you want...
$dir = dir1/dir2/dir3/dir4;
$dir_array = explode(/,$dir);
$full_path = ;
foreach($dir_array as $current_dir) {
$full_path .= /$current_dir;
if (!is_dir($DOCUMENT_ROOT . $full_path)) {
mkdir($DOCUMENT_ROOT./ .$full_path,0700);
}
}
adamw
-
Any easy way to make the file pointer go up one line in a text file?
(I am thinking of using ftell(), then working out the length of the line,
and then fseek()?)
Thanks :-)
swadie
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd
So now my code looks like:
---
$configuration_data = file(configuration.txt);
for($index=0; $index count($configuration_data); $index++)
{
$line = explode( // ,$configuration_data[$index]);
$value = $line[0];
$variable = $line[1];
$$variable = $value;
echo
$string = preg_replace(/[\\\*\+\-;]/s,,$string);
I think, you might have to escape the ; too
Zef
elias [EMAIL PROTECTED] schreef in berichtnieuws
9dr733$knl$[EMAIL PROTECTED]
Hello,
Maybe RegExps are still my point of weakness...but I still like them as
much
as I like the Self-Reference
Hi
is anyone using phplib with php4?
yes
I seem to be unable to get it working on a win98 machine with php4.0.5
with apache or PWS?
I have been using it with php3 before successfully
Please help
I am missing something obvious?
I would suggest searching the phplib archives. Using
Andy,
Go Mac OS X - and roll your own install.
I notice you are using ODBC in another post - there is a HOWTO at
www.iodbc.org for compiling PHP, Apache, and iODBC (ODBC Driver Manager)
under Mac OS X.
Let me know if you run into problems.
Best regards,
Andrew Hill
Director of Technology
Andy,
What information are you trying to get? If nr and name are fields that
you want values for, then odbc_fetch_row() or odbc_fetch_into() should work
fine. If you are looking for column information, check out odbc_field_name()
and odbc_field_num()
http://www.php.net/manual/en/ref.odbc.php
Create another table in your database called category with columns, id
and title, each record in category table should be something like:
1 Iran
2 Florida
3 Family
4 Friends
Then add a column to you picture table called category_id, store the id of
each category in the
This is not a Newsgroup. It is a Mailing List. That means ALL the
emails are stored on your computer.
So, the answer to both your questions is however much you want to keep.
Jason Lotito
www.NewbieNetwork.net
-Original Message-
From: Paulo Rocha [mailto:[EMAIL PROTECTED]]
Sent:
On 5/15/2001 9:27 AM this was written:
Is there a way of capturing the entire url contianed in the location bar
within a variable?
$location = getenv(HTTP_HOST) . getenv(REQUEST_URI);
Or if your system handles it do this:
$location = $HTTP_HOST . $REQUEST_URI;
This will concatinate the
Dear sir,
I am new to php.kindly recommend me tutorials tp get started.
thanks
asif
--
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]
$variable = http://;. $HTTP_HOST. $REQUEST_URI;
Is there a way of capturing the entire url contianed in the location bar
within a variable?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
http://hotwired.lycos.com/webmonkey/programming/php/index.html
and, for general use:
http://www.php.net/manual
And this one can be usefull too.
http://marc.theaimsgroup.com/?l=php-general
http://marc.theaimsgroup.com/?l=php-generalw=2r=1s=tutorialsq=b
Kees
- Original Message -
From:
have a look at :
http://www.hotscripts.com/PHP/
and www.devshed.com
and zend.com
sunny
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2001 14:45
To: [EMAIL PROTECTED]
Subject: [PHP] Re: WELCOME to [EMAIL PROTECTED]
Dear sir,
I am new to
A hidden form element to store the value of the second select box?
Use javascript to update a hidden form element in the original form, that
way when you submit the form you will have the newly selected element.
Sounds kind of strange though. What if you on change Combo 1 submitted the
whole
At 10:09 AM 5/15/01 +0800, Jude Chen wrote:
Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve
service name) in E:\website\yktest\web\includes\db\dbenv.php on line 4
But I have the correct TNS, through which I can connect to Oracle using
SQL*PLUS, configured on the machine,
Is it possible to declare some kind of super global variable in PHP, which
would be avaliable to all later PHP scripts/processes?
I suppose I could use a database or filesystem. But in this case of mine I
need to store and retrieve some values very fast and consuming as little
resourses as
Hi,
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
you have to go into YaST an install a programm called lex. It might be
that you also need flex. Just install lex and see if you get more errors.
hope it helps
Does anyone have an example of compressing file uploads or files in general?
Basically some big files are being uploaded and I want to be able to zip/tar
them to cut down on disc usage.
I've tried playing with the zlib functions but haven't had much/any success
at adding files into archives.
The
Sigitas Paulavicius wrote:
Is it possible to declare some kind of super global variable in
PHP, which would be avaliable to all later PHP scripts/processes?
As long as you use one server only (no load-balancing), you can use
shared memory.
http://php.net/shmop
Try phpbuilder.com or google to
You are on the right track but doing something wrong:
You are correctly assigning a string to an array:
//Main Menu Array
$main_menu[0] = Menu 1; //Represents the name of the menu
But then you are taking that string one character at a time and replacing it
with invalid data:
//Menu 1 Array
Is there a way to detect the presence of HTML tags?
I don't want them stripped out, I just want to know if a string contains
them.
I'm rolling my own mailing program and want it to detect the HTML if
present and send it appropriately.
kind regards,
bill hollett
--
PHP General Mailing List
Please copy me on responses. TIA.
I am trying to do some IP address arithmetic using php, but am running into problems
because the biggest number that php can handle is 32 bits signed. No good for IP
addresses.
Try the following:
echo 2473473024 127; // gives 0 - correct
echo
Jason Lotito,
This mailing list is also a newsgroup you can access it via newserver hosted
by php group. My guess is that elias is accesses the mailing list via the
news-server.
From http://www.php.net/support.php
Mailing Lists
There are many PHP-related mailing lists available. Most of them
Anyone knows how to determine how many levels has an array?
TIA
Rom
-Original Message-
From: Robert V. Zwink [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 10:30 AM
To: Brandon Orther; PHP User Group
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Multi Dimensional Arrays?
You are
I am trying to configure PHP4 to be used with Netscape Enterprise
3.6 with NSAPI, LDAP,
and SYBASE-CT on a Solaris 2.7 machine.
The error from the NES admin tool is
pclose() failed. (2: unknown early startup error)
Error
On Tuesday 15 May 2001 16:18, Matt Davis wrote:
I am trying to install PHP 4.05 CGI onto my WIN 98 machine which is
running PWS once have followed all the instructions but when I try to run a
php script I get a HTTP 500 error.
I have checked that my registry entry is pointing to the right
On Mon, 14 May 2001 17:49:08 -0400, Hoover, Josh
[EMAIL PROTECTED] wrote:
Andy,
I believe you can run PHP on Mac OS with the use of WebTen by Tenon
(http://www.tenon.com/products/webten/). MySQL does not run on Mac OS. You
can run both PHP 4 and MySQL on Mac OS X. Since it sounds like
At 20:32 14/5/2001 -0500, Ben Gollmer wrote:
If you have an account on a remote host, you can always do something like
this:
?php
include(http://www.remotehost.com/~myaccount/mailfunction.inc;);
mymail($to, $mailbody);
?
where mailfunction.inc has the mymail function defined
On Tuesday 15 May 2001 16:39, bill wrote:
Is there a way to detect the presence of HTML tags?
I don't want them stripped out, I just want to know if a string
contains them.
I'm rolling my own mailing program and want it to detect the HTML if
present and send it appropriately.
if (strstr
even though i dont use PWS, the only time i seem to
get 500 errors is when i mistype the a filename
and the server cannot find the file so that's
probably where your problem lies.
triple check that PHP is working and installed correctly.
then triple check that the server works OK (try to
At 22:40 14/5/2001 -0700, Ethan Schroeder wrote:
I don't know how you can find sendmail on that system if you don't have
telnet access. Try writing a script that does an exec(which sendmail) and
see if it tells you. I doubt it will, though. Otherwise try different
sendmail locations:
Hi Bill
?
if (preg_match(/([\])([^\]{1,})*([\])/i, $string)) {
echo Houston, we have a problem.;
}
?
James.
bill [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is there a way to detect the presence of HTML tags?
I don't want them stripped out, I just
As others metioned, you feel free to use Putty.
If it doesn't fit your needs, I 've a fairly old SSH extension to Teraterm Pro, i can
post it to you.
But it takes a little time to find it.
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001.
Yes, I thought similarly. But so far, neither works.
$string=blah x4 blah;
if (strlen($string) != strlen(strip_tags($string))){
echo html;
} else {
echo text;
}
The above still echos html.
kind regards,
bill
Jack Dempsey wrote:
$text = 50 100 + 240;
not html...
would want
$HTTP_HOST ?
Not sure - don't feel like setting up a wildcard... :)
Joe Stump wrote:
Say i have a server foobar.com and in my httpd.conf i have *.foobar.com as
a ServerAlias in my virtualhost is there a common PHP var that will give me
the domain someone actually types in?
$SERVER_NAME
you can get a really great SSH program
(free for non-commercial use) at http://ssh.com/
i use a registered copy here at work, but i
downloaded a free copy for use at home...
it's the best client i've found so far.
even supports SFTP.
-Original Message-
From: Gyozo Papp [mailto:[EMAIL
If you're on unix, and don't mind a system call you could do:
system(/bin/mkdir -p $dir);
From the man page for mkdir.
-p Create intermediate directories as required. If this option is
not specified, the full path prefix of each operand must already exist.
Intermediate directories are
- Original Message -
From: Philip Hallstrom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, May 15, 2001 7:01 PM
Subject: Re: [PHP] Recursively create directories
foreach($dir_array as $current_dir) {
if(! is_dir($DOCUMENT_ROOT./.$current_dir) ) {
Hi,
I'm still pretty new to PHP, and would like help on a solution for a
problem I have.
I have a website that has 6 different sections. (about, news, buying,
selling, community, and relocation) Each of the sections has it's own
subfolder in the root directory of the website. (/about,
This is how I fixed that same issue
in the head of my page
snip
if (ereg (new, $PHP_SELF)) {
$header = img src=location/of/header/image;
$title = www.website.com - What's New; }
elseif (ereg (products, $PHP_SELF)) {
$header = img src=location/of/header/image;
On Tuesday 15 May 2001 18:25, Jack Dempsey wrote:
$text = 50 100 + 240;
not html...
would want regex's i would think, or the striptags version someone
sent before...
Well, then preg_match ('/[a-z]/i', $text) should work.
Is there a way to detect the presence of HTML tags?
I'm
Hi,
I'm rewriting some web pages trying to replace a lot of JavaScript with
PHP (before including some mySQL for even more dynamic content); however,
I am having a little difficulty in one area...
Currently, if a page is displayed in the main window for the site, then
a menu is displayed on the
Hi,
I've got a one simple question. How I can check directory exist or not ?
Plz, help me :) TIA !
--
regards, - scream - scream(at)w.pl
ICQ#46072336 ||| GG#480681
Artificial Reins Productions
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi There,
?
$dir_to_check = /this/dir;
if (!is_dir($dir_to_check)) {
echo No directory here;
} else {
echo Bingo.;
}
?
James.
Scream [EMAIL PROTECTED] wrote in message
9drq8v$ngb$[EMAIL PROTECTED]">news:9drq8v$ngb$[EMAIL PROTECTED]...
Hi,
I've got a one simple question. How I can
Hello,
while I was reading the post from 'elias', a fairly old question came in my mind which
I've not get any answer yet.
Maybe you can do it.
There is a function quotemeta() which escapes all special regexp character such as:
. \ + * ? [ ^ ] ( $ )
with a '\' except one the '|' pipe.
Greetings fellow devs!
I am new to PHP (having tried my hand at running ASP/SQL here at the house.
No, I didnt chose ASP, it just happened to be the software I had when I
decided to mess with dynamic content.
My problem is probably really simple. I am learning to use PHP via online
documents
Greetings fellow devs!
I am new to PHP (having tried my hand at running ASP/SQL here at the house.
No, I didnt chose ASP, it just happened to be the software I had when I
decided to mess with dynamic content.
My problem is probably really simple. I am learning to use PHP via online
documents
Marc:
should not close php
? will
can you paste in the script so i can see what you mean?
-jack
Marc Johnson wrote:
Greetings fellow devs!
I am new to PHP (having tried my hand at running ASP/SQL here at the house.
No, I didnt chose ASP, it just happened to be the software I had when
mysqldump --opt -u username -p password databasename filename.sql
Try mysqldump --help for additional options, or the MySQL manual.
Robert Zwink
-Original Message-
From: TopFive [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 5:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Hi all,
I have a setup where I populate one table as a temporary holding place for data. When
the user's session is complete, I want to transfer all that data to a similar,
permanent table.
The strangeness is this - most of the time the data is all transferred fine, but
sometimes only a few
this is something I never needed todo, but it works.
?php
// www.miningsurplus.com/counter.php
session_id('0a99a548c57c06306e408cf44b2d5d10');
session_start();
if (!isset($HTTP_SESSION_VARS['counter']))
{
$counter = 0;
session_register('counter');
}
this will remove the www plus the top level domain
?php
$site = 'www.somesite.home.com';
$site = str_replace('www.', '', $site);
$site = explode('.', $site);
$site = array_pop($site);
$site = implode('.', $site);
// somesite.home
?
this will remove the first host and the top level
this will ensure that the variable is a POST var vs a GET var too...
function test()
{
global $HTTP_POST_VARS;
echo $HTTP_POST_VARS['login'];
}
--
Chris Lee
[EMAIL PROTECTED]
Miguel Ribeiro [EMAIL PROTECTED] wrote in message
9dpgkk$mdb$[EMAIL PROTECTED]">news:9dpgkk$mdb$[EMAIL
In article 00c301c0dd69$a64de040$6a45c5d5@jaguar,
[EMAIL PROTECTED] (Gyozo Papp) wrote:
There is a function quotemeta() which escapes all special regexp character
such as:
. \ + * ? [ ^ ] ( $ )
with a '\' except one the '|' pipe.
Forget quotemeta(). Use preg_quote() instead.
--
CC
Paulo Rocha [EMAIL PROTECTED] wrote:
I am also curious to know how much disk space is php.general taking.
well i can say i have 35 MB mails in 2 months in around 10200 mails,
so you can do the math yourself :)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To
Ok, now it's time to get familiar with preg?
If this stands, can you give me a link to a good tutorial with tons of examples
beside the PHP manual?
The most effective way to learn is to see how it works, I think.
- Original Message -
From: CC Zona [EMAIL PROTECTED]
To: [EMAIL
web browsers can only request data (GET / HTTP/1.1) data can not be pushed to them
(except Netscape, dont go there). you can send all the data you want to an IP but the
browser only opens connections, it doesnt accept connections, the data will be
rejected.
if you were to write an app in VB
Yes. But I want to change the name of the key, not the value. Plus I want to
be able to do this without creating an extra key/value pair for each
conversion I do.
oktay
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 4:22 PM
To: Altunergil,
I mean that it seems to me most of the mailers use preg funtions instead of simple
ereg functions.
Up to now I used only the latter ones.
I still know where I can find documantation, I just go further and ask some link to
learn more about
PCRE functions.
I'm sorry if you misunderstand it.
Hello everybody,
Lastnight, I was building a site. Multiple SQL queries were being made on
every page. Everything worked nice and smooth. I downloaded and applied
the patch for MS01-026 which effects IIS 4.0 and 5.0. I rebooted after
applying the hotfix, and after that, NONE of my php
I have never seen this problem (and this isn't my first install)...
I am using:
RedHat 7.1
php4.0.4pl1
qmail 1.03
I thought the problem was the fact that I didn't have sendmail installed at
all
(had the qmail sendmail wrapper in place though; ln -s
/var/qmail/bin/sendmail
Michael Geier wrote:
RedHat 7.1
php4.0.4pl1
Installed from source?
regards
Wagner
--
Some guy hit my fender, and I told him, 'Be fruitful and multiply,'
but not in those words.
- Woody Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
We are doing it here, although I am not involved in the server setup so I
can't give you much help. I guess the main thing is setting up the session
storage mechanism. If you use session files, then the load balancer needs to
add a cookie so that requests in multi-page applications always go to
Hello,
I just installed 4.0.5 on IIS and it is telling me that crypt is not
supported in this build. Does anyone know why?
Thanks For Da Help
Brandon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
thx ^_^
--
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]
Is there no way to access the $x within the inner function:
function outer()
{
$x = 50;
function inner()
{
echo $x;
}
inner();
}
Global in the inner function does not work. I do not want to have $x global
for all.
Hannes Schmiderer
--
PHP General Mailing List
Hi
I'm having trouble using php to ftp a file from a form.
I've scoured the lists and documentation but the answer elludes me.
I put in a MAX_FILE_SIZE variable, looked in the php.ini at the tmp_dir
(left blank to default to the system temp dir), chmod to 1777 of that
temp dir. What am I not
reset($array);
while(list($key,$value)=each($array)){
$array[strtoupper($key)]=$value;
unset $array[$key];
}
On Tue, 15 May 2001 16:19:41 -0400, Altunergil, Oktay
([EMAIL PROTECTED]) wrote:
Yes. But I want to change the name of the key, not the value. Plus I
want to
be able to do
i had compile problems for PHP + GD on a linux box.
my best guess is that GD requires X11 support to
work properly, and in turn blows up the PHP
compile when GD cannot find the 'X11' library
since the box is a server, bells and whistles like
Xwindows are not installed
figured i'd
why don't you pass $x as an argument?
- Original Message -
From: Johannes Schmiderer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001. május 15. 23:41
Subject: [PHP] nested functions
Is there no way to access the $x within the inner function:
function outer()
{
$x = 50;
I do not believe this is the reason that you are having problems. I have
compiled GD on many Redhat machines without X11
Brandon
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 2:44 PM
To: php
Subject: [PHP] PHP and GD on a Redhat linux box
Just to add a couple details. On the first page request, PHP sets the
constant SID as well as the cookie. If the user has cookies disabled, then
SID is also set on all following page requests. If cookies are enabled, then
the cookie PHPSESSID (if you stick with the default name) exists on all
when i checked the 'debug.log' file after it broke,
it said :
gcc -o conftest -g -O2 [...snip ] -lXpm -L/usr/X11R6/lib/ -lX11 15
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
perhaps you had the X11 libraries even though
you didnt have the actual server binaries.
or do
This is a simple yet fundamental programming question I am hoping somebody will
have the patience to explain...
I have a mysql database with the email field as the key. Before inserting an
new record to it I want to check if there is already a record with that e-mail.
This I can do fine. But
See http://www.php.net/manual/en/function.mysql-num-rows.php
Kirk
-Original Message-
From: midget2000x [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 3:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] coding for 'no match found'
This is a simple yet fundamental programming
What can I delete on my server to do a fresh install? I'm trying to upgrade
php and it's not working.
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
Hello:
The next release of Visual PHP Studio is out!!!.
I have reserved the domain visualphpstudio.com and I have moved the web site
to a new host to avoid some problems with the old one. The most exciting
feature on this release is the ability to work with HTML Forms, a new
palette contains
$st1 = abc;
$st2 = abc;
strcmp($st1, $st2);// 0 if equal, -1 or 1 if not equal (depending on
which one is larger)
Bass¨Ð¦õªv [EMAIL PROTECTED] wrote in message
9ds76j$9mv$[EMAIL PROTECTED]">news:9ds76j$9mv$[EMAIL PROTECTED]...
thx ^_^
--
PHP General Mailing List (http://www.php.net/)
On Tue, 15 May 2001 10:23:39 -0700, Jerry Lake [EMAIL PROTECTED]
wrote:
This is how I fixed that same issue
in the head of my page
snip
if (ereg (new, $PHP_SELF)) {
$header = img src=location/of/header/image;
$title = www.website.com - What's New; }
elseif (ereg (products,
CURL is realy cool, lets me do easy socket stuff, especially with
ssl, which leads me to my question:
How on God's green earth do I send more then simple requests to a SSL
server? Here's my basic request...
POST /apps.here/xml/Rate HTTP/1.1
Content-Type: application/xml
Content-Length: 1074
1 - 100 of 140 matches
Mail list logo