Hello,
I am curious about creating a script that would bring me results of a search
organized not by the actual name of the domain but the lenght of each part
of a domain.
This is an example:
Domains that finish in .com/.net/.org with the lenght of one character:
a.com
a.net
a.org
b.com
b.net
Parse error: parse error in
/local/Web/sites/phpweb/include/shared-manual.inc on line 265
Fatal error: Call to undefined function: sendmanualheaders() in
/local/Web/sites/phpweb/manual/en/getting-started.php on line 3
HELPPP!!
:)
Rom
--
PHP General Mailing List (http://www.php.net/)
Hello!
Anyone had tried to submit the contents (I mean the source code) of an
IFRAME, so it can be available for PHP?
Thank you,
Rom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hello!
The following give me: unterminated string constant (this is a javascript
error)
when I execute the following:
while ($row = mysql_fetch_array ($data_query_action)) {
$data_data = $row[data_data];
}
echo script language=\javascript\\n var
Hello!
I am in an server with Apache and PHP. I want PHP to authenticate in other
server (Novell with Netscape). Like this:
SSL (PAGE 1 SERVER 1) SSL (PAGE 2 SERVER 2)
SERVER 1: Apache and PHP
SERVER 2: Novell with Netscape
PAGE 1: PHP script page
PAGE 2: PHP script page
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
Hello,
I create an auth system using NDS as a LDAP server. Works fine. The problem
is with the session handling (from my part probabilly)...
I am using the PHP session functions. Again, works fine. register the
sessions, the variables. But I am beeing unable to destroy the session. To
destroy
Hello!
If a user drop a text like this in a textarea:
---
the U.S. Army's 3rd Infantry Division, 15th Regiment, A Company, seized a
44-car train in a tunnel 60 miles south of Salzburg, Austria. It contained
an incalculable fortune in fine art, bullion, jewelry, furs, coins, stamp
collections,
Hello!
Just a quick ot question:
From a php script I open a frameset this divides the browser window in two
rows. How do I do to get rid of the frameset without closing the window?
TIA
Rom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello!
This is the scenario:
(a) I have an interface that will be the main interface with the user
(b) I have a mail server (Mirapoint) that has a web interface
(c) The web interface for the Mirapoint server is inside frames
This is the problem:
(a) let's say that I log in as a user from
Hello!
This is the scenario:
(a) I have an interface that will be the main interface with the user
(b) I have a mail server (Mirapoint) that has a web interface
(c) The web interface for the Mirapoint server is inside frames
This is the problem:
(a) let's say that I log in as a user from
:
Explanation of the project: 3 days - april, 25th to april, 27th)
Development: 2 weeks (april,28th to may, 13th)
Payment:
Depends on developer experience. Per project type of payment (not per hour).
Project Leader:
Romulo Roberto Pereira
Senior Internet Specialist
Phone: 305.444.7433
E-mail
Hello,
I was wondering if anybody have developed something related to dynamic web
pages building and administration. I need to store the content of the site
in the database and later as the user navigate, mount the content using
templates. This part is easy, since PHP is very powerfull in this
Even better,
$id[] = $myrow["id"];
then count them:
for ($i=0;$i count($id);$i++) {
..
}
Rom
-Original Message-
From: Chris Fry [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:00 AM
To: Mark Maggelet
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] baffled ::
even better:
use foreach!
$id = $myrow["id"];
..
foreach ($id as $loop) {
..
}
-Original Message-
From: Chris Fry [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:00 AM
To: Mark Maggelet
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] baffled ::
This loop will
I made a mistake:
$id = $myrow["id"];
should read:
$id[] = $myrow["id"];
-Original Message-
From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] baffled ::
even better:
use foreac
users writing to
the page.
But for administration used by only trusted people, it's actually pretty
simple to put together. For use by people who aren't trusted...
--
Plutarck
Should be working on something...
..but forgot what it was.
""Romulo Roberto Pereira"" [EMAI
Hello!
Any comments in PHP for Zope? I don't know much thought... Some people told
me that Zope is good a while ago... And I saw that know they have a PHP
layer... How good is this?
Thank you,
Rom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
ooops - sorry about the other e-mail... I am sleeping here... heheheeh
Hello!
Any comments in PHP for Zope? I don't know much though... Some people told
me that Zope is good a while ago... And I saw that now they have a PHP
layer... How good is zope?
Thank you,
Rom
--
PHP General Mailing
Hello!
I am constructing an intranet site. The site is all secure, I mean, all the
pages are under a directory that needs a password to get in. These are
facts:
A) The user information is on a LDAP;
B) The user should entry the pair login/password only once;
C) Any access to the site without
He is on windows 98...
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Todd Cary [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 22, 2001 1:42 PM
Subject: Re: [PHP] $HTTP_SERVER_VARS has only 1 value
Are you running PHP as a CGI?
On Mon, 22 Jan 2001,
I am sorry about this - I figured out already - was nothing to do with the
convertion...
Rom
- Original Message -
From: Romulo Roberto Pereira [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Monday, January 22, 2001 5:15 PM
Subject: [PHP] MSSQL field type money bring a string
Hey!
After bringing and fetching the results, the data from a money field is treated like
strings. There is a function or a command to make it treat the variables as numbers?
Because I want to sum them.
Thank you,
Rom
Hello!
First - some ISP block you from get files from their server by a httpd
request (that is what php does... I think!). To be sure if this is set or
not, in the other ISP (not the one that the images are) write a simple html
like this:
htmlheadtitleloading images between
$buffer += $skiplen+1024;
};
$imgPos += $skiplen;
break;
}; file://endif check marker type
}; file://endif loop through JPG chunks
}; file://endif chk for valid file types
# got the pic dimensions, close the
Hey!
Is it possible to get the names of the variables allocated in the memory?
thank you,
Rom
There you go:
?php
// DB connection
$dbconnection = mysql_connect ("IP ADDRESS OR HOST+DOMAIN NAME","USERNAME -
DEFULT is root","") or die ("Couldn't connect to Database.");
// Select DB
$database = mysql_select_db ("NAME OF THE DATABASE", $dbconnection) or die
("Couldn't select Database.");
try this; I am working on the last word... ereg replace is not finding the
REGEX "\.$" - anyone has a clue?
?
$bannedwords = array ("dadada", "dedede", "dididi");
$string = "Dadada in this world dadaDA is not permitedadada because this
very deDede peoplededede that appears in our DIDIDi world
Hello!
I have one script that has a bunch of checkboxes in a form, all them with
different names. As you know the form only submit the ones that are
checked. I would like to know witch ones the user checked (they will come in
the path as variables I suppose) because I need to make a sum of the
it is possible to use isset inside a echo?
like this:
$checked = "CHECKED";
$nothing = "";
echo "input type=checkbox name=cb[0] value=$value[0]
".isset(cb[0])?$checked:$nothing."";
Rom
hello!
I have a form and in this form I have 48 checkboxes. is there a way that my program
could remember which ones were selected?
looks like this::
form
input type=checkbox name=cb[0] value=1
input type=checkbox name=cb[1] value=1
input type=checkbox name=cb[2] value=1
input type=checkbox
- - - - - - - - - - - - - - - - - - - - - -
"LINUX is obsolete" -- Andy Tanenbaum, January 29th, 1992
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://www.JEEP-FOR-SALE.com/ -- I need a buyer
Get your own Free, Private email at http://www.smackdow
Hey!
A little bit of definition:
- a week start on sunday and ends on saturday;
- a year has 365/7 ~= 52 weeks;
How do I discover what months have 5 weeks and what have 4?
Rom
you need to seed the rand with srand() before the rand() command...
cheers,
Rom
- Original Message -
From: Joel Dossey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 1:39 PM
Subject: [PHP] Netscape rand() not random
Hello,
I have been toying with php for a
I didn't know that - very intersting! thank you Egon, this reaaly
helps...
Rom
- Original Message -
From: Egon Schmid (@work) [EMAIL PROTECTED]
To: Karl J. Stubsjoen [EMAIL PROTECTED]
Cc: PHP Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 1:51 PM
Subject: Re: [PHP]
I think that these are your answer:
Memory use explanation in MYSQL DB:
http://www.mysql.com/doc/m/y/myisamchk_memory.html
Memory used by MYSQL DB:
http://www.mysql.com/doc/M/e/Memory_use.html
MYSQL DB Status:
http://www.mysql.com/doc/S/H/SHOW_STATUS.html
Problems with HARD DISKS and MYSQL
and I need to determine how much space they are using in
the database.
Any ideas on how to do this in PHP???
Please email me directly with a response. Thank you
- Original Message -
From: Romulo Roberto Pereira [EMAIL PROTECTED]
To: [ rswfire ] [EMAIL PROTECTED]; [EMAIL
what you can do also is using a HTTP header to redirect the user
automatically to the index.php:
the head of index.html could look like this:
html
head
titleUntitled Document/title
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
meta http-equiv="refresh"
Hello!
Two scripts: first.php and second.php
I am a little bit confused... since I session_start() in first.php, I will need to
session_start() in second.php also?
first.php
?
session_start();
session_register ("data01");
header("Location: second.php")
?
thank you,
Rom
just discover - session by cookie sucks
using db session handling it is better!
Rom
- Original Message -
From: Romulo Roberto Pereira [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 1:39 AM
Subject: [PHP] fast question about session_start
Hello
you could use nl2br command on the string that holds the data...
check this for further info...
http://www.php.net/nl2br
Have fun,
Rom
- Original Message -
From: david klein [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:12 AM
Subject: [PHP] How to handle
Why don't you do a function with an ereg inside?
I don't think that exist a command like that...
Rom
- Original Message -
From: Elliot L. Tobin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: [PHP] regexps
Is there a way to call one regexp on
I just posted this in php-win - this script installs everything
automatically...
My guess is that Mr.Mortemarquete is doing something wrong, because he has
IIS AND APACHE in the same server...
I found this link and think that is useful:
http://www.firepages.com.au/phpdev.htm
Have fun,
Rom
Hey! adding to the question above: as a cgi version what are the authentications
methods available?
I have a big string. How can I do to find some text inside and modify that
text? I was thinking about ereg_replace(). But it is capable to handle big
chuncks of text? If yes, it will notbe too heavy for theserver? Any other
ideas?
Thank you,
Rom
--
PHP General Mailing List
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
?
...
Database stuff
...
include header.inc;
PRINT THE CONTENT OF THE QUERY IN THE DATABASE (that is
This is a nice idea but would not be more efficient if I substitute the
entire block like this:
this is what I have in the database:
!-- TEXT --ANY TEXT!-- TEXT --
this is what I want:
!-- TEXT --ANY TEXTnbsp;a href="edittext.php?pageid=X"img
src="images/edit_buttom.gif"/a!-- TEXT --
what
Hey people!
What is wrong with this code?
$buffer = split("([0-9] --)",$pagedata);
$x = count ($buffer);
echo $x;
for ($i=0;$i$x;$i++) {
ereg("([0-9] --)", $buffer[$i], $text);
ereg_replace (" --","", $text[1]);
echo $text[1];
}
Since $pagedata has 8 appearences of the REGEX I am
Hello!
I am having a problem when people copy and paste text inside a TEXTAREA in a form that
contains double quotes ' " ' .
The first file is a simple form. The second one is a php script that treats the data
from the user and stores in a MySQL table. Onyone has any ideas? I need to use
49 matches
Mail list logo