Try this:
";
?>
"Matt Zur" <[EMAIL PROTECTED]> píse v diskusním príspevku
news:[EMAIL PROTECTED]
> Does anyone know of a simple program that will let me specify a file
> within a certain directory to load into a textarea field, let me make
> changes, then export/replace that file with the changed
If your using an array, how big is it, what's it's dimensions?
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com
- Original Message -
From: "Shawn McKenzie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
On Fri, 6 Jun 2003, Matt Zur wrote:
> Does anyone know of a simple program that will let me specify a file
> within a certain directory to load into a textarea field, let me make
> changes, then export/replace that file with the changed contents?
>
> I tried writing one myself in PHP, but I ran
HAH! I love it!
-Shawn
"Evan Nemerson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Clode? I like it. Really, who wants to say "closing php tag", "terminating
php
> tag", or whatever you say. Why not start calling it a clode? What does
> everyone else think?
>
> The only issue i
Does anyone know of a simple program that will let me specify a file
within a certain directory to load into a textarea field, let me make
changes, then export/replace that file with the changed contents?
I tried writing one myself in PHP, but I ran into a problem with quotes.
If I had tags in
[snip]
include("common_functions.php");
switch($action)
case "do this":
include("do_this_funcs.php");
.
function(s) called
break;
case "do that":
include("do_that_funcs.php");
.
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: 05 June 2003 13:36
>
> [snip]
> > If I did this, would it make a huge amount of difference?
>
> I'm almost certain it WOULD make a difference, but apart from the
> execution time, I can't think of anything worse
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I am looking into learning PHP, I have a good understanding of HTML, JS
and I know a little Perl. Firstly I know PHP is all server side and so a
damn sight different from the above, but will they help me at all?
Secondly where do I start? Are there any good on-line resources and or
books tha
Hello,
If anyone have expamples of displaying tree structure.
Say I have array $result[x][y] with folloowing data
XY["ID"]Y["OWNER"]
01 0
12 1
23 2
34 2
45 3
56 2
67
[snip]
On a similar note, does php 'look at' all the functions even if not
used? I can understand it reads them, but does it involve any parsing
time?
[/snip]
http://us3.php.net/manual/en/function.include.php has a wealth of
information, including important notes about security of included files.
My bad:
while (!feof($fp))
instead of what I wrote earlier.
- Original Message -
From: "Hugh Danaher" <[EMAIL PROTECTED]>
To: "Matt Palermo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 10:59 PM
Subject: Re: [PHP] delete lines from text file
> Matt,
> Try som
Matt,
Try something like:
I didn't check this before posting so there could be some syntax issues, but
the flow is what you need. Open a file for reading, read it line by line to
find a text phrase, accumulate the lines (less the one with the phrase) in a
new variable, close the file, open it aga
Is there a way to determine the amount of memory that a script is consuming
at a certain point? Maybe a function that would return this?
The reason is, I get this:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 46080 bytes) in /home/httpd/vhosts/aaa/httpdocs/bbb/c
Hi all,
I am looking into learning PHP, I have a good understanding of HTML, JS and
I know a little Perl. Firstly I know PHP is all server side and so a damn
sight different from the above, but will they help me at all?
Secondly where do I start? Are there any good on-line resources and or books
th
On a similar note, does php 'look at' all the functions even if not used? I
can understand it reads them, but does it involve any parsing time?
Bix.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
> If I did this, would it make a huge amount of difference?
I'm
I'm sure you are already aware of PEAR, if you havent
checked it out, you should
olinux
> > Hey everyone,
> >
> > I find myself building alot of admin control
> areas, or in otherwords, a
> > group of forms that lets an end user control data
> and appearances of his/her
> > site. What I am lo
> Just curious to know if anyone knows of a way of displaying a set of
> links on a page only when that page is loaded on my local development
> machine and not when it's loaded by the general internet public on my
> remote host's machine?
>
> I have several background content editing pages which
[snip]
> If I did this, would it make a huge amount of difference?
I'm almost certain it WOULD make a difference, but apart from the
execution time, I can't think of anything worse than scrolling through
2000 lines of code looking for the section I'm after.
Or, even if *I* could find my way aroun
Hi All,
Just curious to know if anyone knows of a way of displaying a set of
links on a page only when that page is loaded on my local development
machine and not when it's loaded by the general internet public on my
remote host's machine?
I have several background content editing pages which wou
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hello Everybody,
> I need a PHP program to convert Ascii values to
> Decimal values.
> May i get heLp from anybody?
> Thank You,
> - Chinmoy
I think you want floatval()
--
Quod subigo farinam
--
PHP General Mailing List (http://www.
> > > $gd_loaded = (extension_loaded('gd'))?1:0;
> >
> > Well, this also fails the simple-as-possible test: if the value returned
by
> > extension_loaded() can be used to drive the ?: operator, it must be
> > evaluable as a Boolean; this means you can use it directly for later use
in
> > an if() or
[snip]
Another issue I haven't read so far is that making your script work when
register_globals is off makes it to be more compatible since scripts
using GET and POST array should still work on systems that have
register_globals turned on.
[/snip]
So what you're asking for is a variable handle
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Will someone ban this f***ing spam...
>
> Anyone believing this is an idiot!
>
> regards,
> Dark Angel
>
>
> -Original Message-
If you have to respond about this sort of crap, please consider deleting
the original spam so w
Thats true, but its more overhead calling a function than compare a variable.
Thats why i want to calll the function only once.
- Svein
On Thursday 05 June 2003 14:03, Ford, Mike [LSS] wrote:
> > -Original Message-
> > From: Svein Larsen [mailto:[EMAIL PROTECTED]
> > Sent: 04 June 2003 16
Thanks for the idea. I didn't think that solution before, bacause in the
previous PHP-version it was impossible to upload empty files. Now
server makes empty file even, if there is no file to upload.
I still would like to know, where is the reason for the change of
function in the server. Is t
> I am looking for a way to replace "." (=dot) to "," in a string with
either
> ereg_replace or preg_match . I read the manual in PHP on Pattern matching
> for preg_match but could not immediately trace it.
> All help appreciated.
If that's all you need to do, use str_replace().
---John Holmes...
> -Original Message-
> From: Svein Larsen [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 16:22
>
> $gd_loaded = (extension_loaded('gd'))?1:0;
Well, this also fails the simple-as-possible test: if the value returned by
extension_loaded() can be used to drive the ?: operator, it must be
eva
> -Original Message-
> From: esctoday.com | wouter van vliet [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 16:11
>
> I'm working on quite a large website with a lot of php
> pages.. And a lot of
> includable functions (modules).. Sometimes one of those modules gets
> included twice accid
> -Original Message-
> From: Esteban Fernandez [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 16:09
>
> Also works... :)
>
> $array = get_loaded_extensions();
> for ($i=0;$i<=count($array);$i++) {
> if ("gd" == $array[$i]) $installed = true;
> else $installed = false;
> }
This w
Create the link like:
script.php?var=value&referer=
[EMAIL PROTECTED] wrote:
Hello friends!
i'm stuck with something i cannot resolve =(
i'm programming an statistic sistem, and for tracking the visitors of
a page, the systems works this way , a code in the user's page open a
page on my server an
LS,
I am looking for a way to replace "." (=dot) to "," in a string with either
ereg_replace or preg_match . I read the manual in PHP on Pattern matching
for preg_match but could not immediately trace it.
All help appreciated.
Wim
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
> -Original Message-
> From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 14:33
>
> > I've been getting a warning on one of my scripts since I
> upgraded from
> 4.1.2
> > to the most recent version of PHP. The warning is:
> >
> > Warning: setlocale(): Passing locale
> -Original Message-
> From: Ed Gorski [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 13:37
>
> You need to append the session name and id to the header
> location everytime
> you redirect that way. So your header redirect should read:
>
> header('Location:
> researchpapers2.php?'.sess
> -Original Message-
> From: Ryan A [mailto:[EMAIL PROTECTED]
> Sent: 03 June 2003 23:25
> I am getting values from a form's checkboxes
> (eg
>
>
> etc)
>
> When i get these values I want to enter them into the database but
> 1)I should enter only the first 5 (and ignore the rest) in
Hello Everybody,
I need a PHP program to convert Ascii values to
Decimal values.
May i get heLp from anybody?
Thank You,
- Chinmoy
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
PHP General Mailing L
try changing
$numbers = array($numbers);
to
$numbers = explode(",", $numbers);
HTH
Martin
-Original Message-
From: Richard Kurth [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 2:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] using a for loop but it is not working how com
I am having a problem with this script It pulls a list of numbers from
one field in the database (the numbers are in this format
(275,277,278,276) It needs to pull each number and run it through the
function dofunction and then move on to the next one in tell there are
no more to process. What am I
I know... It´s very weird... I can´t understand it. What you describe above
is exactly what is happening.
I can´t see if is created a temp file because the page isn't load after I
click in submit button.
I will try to look for max_body_request in my config files em change it ...
Cya!
Maurício V
on 05/06/03 7:25 PM, Bix ([EMAIL PROTECTED]) wrote:
> If I did this, would it make a huge amount of difference?
I'm almost certain it WOULD make a difference, but apart from the execution
time, I can't think of anything worse than scrolling through 2000 lines of
code looking for the section I'm a
mysql manual -> DATE_FORMAT() function. Simply do
SELECT DATE_FORMAT('format string', timestamp_column) ...
nabil wrote:
Please help me how to print a timestamp string retrived from the database,
and print it as -MM-DD
Nabil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
If you don't want users to write empty files to your server, why don't you
just stop them ? You can write something like this:
if ($HTTP_POST_FILES['file1']['size']!=0){
move_uploaded_file($HTTP_POST_FILES['file1']['tmp_name'],
$upload_dir.$HTTP_POST_FILES['file1']['name']);
}
else {
echo "WAR
hi there
We are currently using Ultimate Affiliate (a series of perl scripts) to run
an affiliate program. We are wanting to move over to a purely-php offering
mainly for integration etc. Does anyone have any recommendations for
affiliate scripts (either paid or open source) whihc are as good, o
> Can anyone teach me how to get the date
> and time from the web-server,it's not
> changed with the time of local machine.
> I found the date() cannot do this.
That's exactly what date() does... the date and time from the server. Maybe
you're using it wrong.
---John Holmes...
--
PHP General M
PS I have not yet checked http://www.phpclasses.org (waiting for log in
details to come through), though I've looked through recent threads.
-Original Message-
From: Dillon, John
Sent: 05 June 2003 11:59
To: [EMAIL PROTECTED]
Subject: Calendar showing availability of apartments/hotels
I
I'm looking for your recommendations for php scripts which will give me a
web based calendar for showing 'vacant', 'not available' or 'availability
unknown' states, based on days available for a particular apartment in the
database - eg for 'not available' perhaps the day is crossed out or in red
b
on 05/06/03 6:24 PM, Nabil Attar ([EMAIL PROTECTED]) wrote:
> mysql time stamp
well, there are a few different formats that can be returned, so rather than
me guessing which type, how about you tell us exactly what format you have
(by providing an example), and exactly what format you want to ech
On Thursday 05 June 2003 11:53 pm, Matt Palermo wrote:
> Can anyone help me figure out how to search for a string in a text file,
> then delete the whole line of text that it occurs in?
>
> For example: I have a text file which contains the following.
>
> //** text.txt **
> Keep this line.
I think you'll have to read the file manually (file() would prob be the best
bet) and manually find/delete the line and then rewrite the file.
Martin
-Original Message-
From: Matt Palermo [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] de
Can anyone help me figure out how to search for a string in a text file,
then delete the whole line of text that it occurs in?
For example: I have a text file which contains the following.
//** text.txt **
Keep this line.
Also keep this line.
Delete this line.
Keep this one too.
No
Hi all,
Can anyone teach me how to get the date and time from the web-server,it's not
changed with the time of local machine.
I found the date() cannot do this.
Thank you!
poetbox
[EMAIL PROTECTED]
2003-06-05
--
PHP General Ma
Dear Sirs,
anybody knows why
recode("windows-1251..utf-8", "F534A6C3-9174-11D5-903B-00D009784400")
works very strange with PHP >= 4.2.3 ?
Cheers,
Ilia Chipitsine
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> That's fine for that but I have several places that use if's and else's...
AFAIK, you can't do conditionals inside a here doc. But then you don't
have to build your entire output string in one here doc, either.
Hmm. Maybe you're trying to build templates?
--
Joel Rees <[EMAIL PROTECTED]>
--
just some thoughts to your script:
i don't know (yet) the pear db functions and the database you use. so i
assume you already got some logic to transform your dates into valid
sql-dates (eg. mysql: mmdd or -mm-dd). that is important for valid
results from your sql-statements as the dates m
I am developing a cms with multiple zones and user management etc
My file is currently 1200 lines long and consist of 450 lines of case
statements and then the rest are functions.
I'm getting parse times from 0.2 to 0.8 seconds for the different pages
depending on complexity.
The script is d
Its working, thanks!
http://lightning.prohosting.com/~relsom/variables.shtml
--
Louie
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 10:07 AM
To: Miranda, Joel Louie M
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Php handling apache's error dire
On Wed, 2003-06-04 at 17:18, [EMAIL PROTECTED] wrote:
> You have the problem right. What do you mean by a "server push"? Sounds
> interesting...
>
> Anyway I have to display something. Since its a login, the user needs their
> interface. I think I'll have to introduce another page... I'd love
Please see the attached file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My problem is this:
I have a site that has 3 levels of access.
1,2,3
when i upload files to say $unixtimestamp/image1.jpg anyone can list the images in
this directory $unixtimestamp/. I would like to hide the images out side the doc root
... is this possable .. so i can load something l
On Thu, 2003-06-05 at 01:09, [EMAIL PROTECTED] wrote:
> One thing that hasn't been mentioned explicitly about register_globals
> turned to off is the readablity of the code and thus the reuse of code.
> When you use GET, POST, etc... everybody reading your script knows exactly
> where the data i
you can work with a timestamp.
mktime() changes your date into a number you can sort, compare, ...
ciao SVEN
"Shaun" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi,
>
> I have two dates retrieved from a database stored as variables: $mindate
and
> $maxdate, how can i compar
does anyone know of a class that is able to extrapolate a list of IPs given an
address in cidr notation. I have used the Net::Netmask module in perl, so I
was just wondering if there was a PHP equivalent.
Thanks
Rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Hi,
I have two dates retrieved from a database stored as variables: $mindate and
$maxdate, how can i compare the two with PHP so i can loop and increment
i.e.
while($mindate < $maxdate){
//do some stuff
$mindate++;
}
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
One thing that hasn't been mentioned explicitly about register_globals
turned to off is the readablity of the code and thus the reuse of code.
When you use GET, POST, etc... everybody reading your script knows exactly
where the data is coming from and can make a fairly good assumption to its
us
A unix timestamp, or mysql timestamp?
for unix, see http://au.php.net/date
justin
on 05/06/03 5:38 PM, nabil ([EMAIL PROTECTED]) wrote:
> Please help me how to print a timestamp string retrived from the database,
> and print it as -MM-DD
>
> Nabil
>
>
--
PHP General Mailing List (h
I'm using:
- Apache 2.0.40 server (linux)
- PHP 4.2.2
I use file uploads in my code, but there occured small problems with the
server update(from Apache 1.3.??, PHP 4.1.2). is_uploaded_file()- and
move_uploaded_file()-functions don't work correctly any more. Or
actually the file upload system do
Please help me how to print a timestamp string retrived from the database,
and print it as -MM-DD
Nabil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on Wed, Jun 4, 2003, Daniel J. Rychlik wrote:
>I was looking for a function that will take you to a html page. For
instance.
>
>I have a function that checks for !empty values in $_POST; What I would
>like to do is if the field is empty then
>
>go back to the form. I have a function
>
>functi
On Thursday 05 June 2003 07:01, Daniel J. Rychlik wrote:
> Well, it works if I use the full path instead of relative So obviously
> its an apache permissions issue.
It has nothing to do with apache. The specs require that the location is
absolute.
--
Jason Wong -> Gremlins Associates -> ww
I've been stuck on this one all morning. Can't seem to figure it out.
I have 2 tables, one with affiliate sales and another with affiliate
clickthroughs. I have to query both tables, so that I can get
clickthrough dates, hits, and then query affiliate sales table to get
number of orders for each d
Hello friends!
i'm stuck with something i cannot resolve =(
i'm programming an statistic sistem, and for tracking the visitors of
a page, the systems works this way , a code in the user's page open a
page on my server and a script generates a image using the gd library(
showing an ok if everythin
Hi,
Thursday, June 5, 2003, 12:20:50 PM, you wrote:
L> I'm trying to find a function, similar to vb's 'mid' function that you can
L> return X amounts of characters at position Y from string Z. And I can't seem
L> to find one.
L> Any help?
L> I'm sure it's simple... so a little helper would be gra
I'm trying to find a function, similar to vb's 'mid' function that you can
return X amounts of characters at position Y from string Z. And I can't seem
to find one.
Any help?
I'm sure it's simple... so a little helper would be grand!
Cheers, Liam
--
PHP General Mailing List (http://www.php.net
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi,
>
> First, let me say many thanks to those who responded to my cron tab
> question - it's working well now. And now for my next trick ;)
>
> I'm looking for more of an opinion here. I'm doing an alphabetical listing
> of members
Felipe,
I'm replying in spanish so you can understand better.
El problema que tienes es que la variable $nueva_base esta vacia. Si
deseas especificar el nombre con esa variable debes asignarle algun
valor antes de llamarla, si lo que quieres es crear una base de datos
que se llame nueva_base,
on 05/06/03 8:05 AM, Monty ([EMAIL PROTECTED]) wrote:
> Hi Justin,
>
> I hear what you're saying about refusing people without cookies turned off,
> and I really tried to make it work on my site, but, keep running into lots
> of problems. I do have enable-trans-sid turned on, but, get inconsisten
I'm using this snippet to turn line breaks into tags:
preg_replace("/(\015\012)|(\015)|(\012)/","\n",$page['CONTENT']);
It works fine, but I'd like it to ignore text between
tags.
andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ya!
I read the book and learned it from "Programming PHP" wroted by Rasmus ,page on
285,that said :
"It's important to understand that PHP itself is
neither secure nor insecure. The security of your
web applications is entirely determined by the
code you write. "
for example:
//initialize y
Thanks! :)
"Bobby Patel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> try this
> $string = ereg_replace ('\r\n|\n|\r', '', $string);
> OR
> $string = nl2br($string);
>
> NOTE: for me the first case will remove the newline, whereas the second
will
> keep them (It might be becuase
try this
$string = ereg_replace ('\r\n|\n|\r', '', $string);
OR
$string = nl2br($string);
NOTE: for me the first case will remove the newline, whereas the second will
keep them (It might be becuase of my old php version [4.06]?)
"Zavaboy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
This has absolutley nothing to do with PHP, and is a client-side issue.
Michael A Smith wrote:
Hey,
So I've got this form that passes POST variables. However, they keep
getting passed as get variables. Example:
Get's sent to it as:
url.php?action=something
What's going on here? This is a n
You have the problem right. What do you mean by a "server push"? Sounds
interesting...
Anyway I have to display something. Since its a login, the user needs their
interface. I think I'll have to introduce another page... I'd love to
avoid that though...
/T
on 6/4/03 18:10, Lars Torben Wils
I am working on creating a thumbnail script but the obsticle is that
'convert ' doesn't create a file from the script. I am doing a system call
with the following
Where thumb.gif is the name of the new file to be created.
After I run this script, no file is created, however if I run it from the
Hey,
So I've got this form that passes POST variables. However, they keep
getting passed as get variables. Example:
Get's sent to it as:
url.php?action=something
What's going on here? This is a new installation of PHP 4.3.1, Apache
1.3...
-Michael
--
PHP General Mailing List (http://ww
Ok, I don't get it... I put a string to one line ( $string =
str_replace("\n", "", $string); ) but when I put it in a text file I see
breaks right before . For example:
I have a text area and type:
1
22
333
then, I take that string and replace \n with .
$string = str_replace("\n", "", $string);
Hi everyone,
first, sorry to all if my english is so poor.
second, i have the follow question: when i create a existing MySQL DBase,
what happend??
how can i avoid this problem??
i attached my create_table code. Thanks for all
Creación de una Base de Datos
Creando Base de Datos
$nueva_bas
On Wed, 2003-06-04 at 14:43, [EMAIL PROTECTED] wrote:
> All ye noble Knights of PHP:
>
> Got an interesting problem,
>
> I am creating a login routine for my PHP website. Each page is an extension
> of the root page object. I am creating a loginpage.php which is an object
> with a constructor:
Well, it works if I use the full path instead of relative So obviously
its an apache permissions issue.
- Original Message -
From: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 5:36 PM
Subject: [PHP] header function problem
I am u
I am using a header function to take a user back to a form if they have mistyped or
entered in data that is not desirable.
I have multiple functions that Ive written but the one that pertains to this situation
is listed
function check_data () {
if (!empty($value)) {
go_ba
All ye noble Knights of PHP:
Got an interesting problem,
I am creating a login routine for my PHP website. Each page is an extension
of the root page object. I am creating a loginpage.php which is an object
with a constructor:
class Login extends Page
{
function Login($file)
{
if(isset($f
> When i get these values I want to enter them into the database but
> 1)I should enter only the first 5 (and ignore the rest) into the database
> 2)it has to enter 1 record for every every "id" picked
> eg:
> if id[1], id[2],id[3] and id[4] were picked it should enter this as 4
> differient record
Hi all!
I would like to ask your advice on a script that I wrote. As you can surely
see from my script below, I really need help as I am totally new to PHP.
Regular expressions are my worst nightmare because I don't have a
background in software programming: I'm just kidding around here! Please
po
perhaps, a foreach loop and use the empty () function. Thats how I did it.
- Original Message -
From: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 5:24 PM
Subject: [PHP] insert loop logic
> Hi,
> Can you tell me whats the best way of doing this plea
Hi,
Can you tell me whats the best way of doing this please?
I am getting values from a form's checkboxes
(eg
etc)
When i get these values I want to enter them into the database but
1)I should enter only the first 5 (and ignore the rest) into the database
2)it has to enter 1 record for every ev
June 4, 2003
RELEASE ANNOUNCEMENT
phpDocumentor 1.2.0 STABLE is released at http://www.phpdoc.org
the phpDocumentor development team is pleased to announce the release of
version 1.2.0 STABLE. This is a stable released and is ready for use in
production systems.
phpDocumentor is an automatic do
Hi Justin,
I hear what you're saying about refusing people without cookies turned off,
and I really tried to make it work on my site, but, keep running into lots
of problems. I do have enable-trans-sid turned on, but, get inconsistent
results. For example, when someone logs out I return them to th
Sounds good to me...
On Wed, 2003-06-04 at 12:49, Evan Nemerson wrote:
> Well since you seem to be in favor of confining usage to PHP, what about
> "phode"- that way there's no association with the bullshit notices on
> commercial advertisements that mean nothing since the address is always
> ei
On Wed, 2003-06-04 at 10:43, Rouvas Stathis wrote:
> Armand Turpel wrote:
> >
> > > On Wed, 4 Jun 2003, Jay Blanchard wrote:
> > > > [snip]
> > > > Have register globals set to ON is one way of leaving your script open
> > > > to being exploitable.
> > > > [/snip]
> > > >
> > > > Please explain th
When I tested it, I recieved a Forbidden 403 page from apache.
Intresting... Any Ideas. I know its a permissions issue, but I thought
that I was simply calling the page because an error was found..
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
On Wed, 2003-06-04 at 12:51, Øystein Håland wrote:
> I'm sorry Dan, but it don.t make any difference. Here's almost the complete
> code:
The easiest way to fix it is to enclose the $_SERVER['PHP_SELF'] in
curly braces when you embed it into a string. See the manual:
http://www.php.net/manual/en/l
1 - 100 of 203 matches
Mail list logo