Eugene, your reply-to address is set
-Original Message-
From: Mark Rees
Sent: 15 April 2005 09:08
To: 'Eugene Voznesensky'
Subject: RE: [PHP] Reverse plural forms to singular for search
That sounds like a nightmare! Assuming you are talking about English,
you might be able to
Your best bet is to check that the data has not already been inserted
rather than try to fiddle with the post:
Don't know what db you are using but something like
IF NOT EXISTS (SELECT X FROM Y WHERE Z=1)
INSERT INTO Y VALUES X
Cheers
Mark
-Original Message-
From: Nieko Maatjes [mailto
It depends to some extent on who has access to the machine where you
wish to store the documents, and how sensitive the documents are. When
you are storing very sensitive documents with severe access restrictions
it can make sense to use the DB for storage. You have to be careful when
writing the d
Couple of options: a CRON job/scheduled job which invokes a SQL command
deleting all but the 10 most recent records, or do the same every time
you insert a record.
As to exactly how you decide which are the most recent 10 records to do
this deletion, that is a little more complex.
Something lik
Why not try selecting both the short and the full values of loc1 from
the database? Then you can display them both in the html output.
Select loc1, left(loc1,3) as locx, etc
Have I missed your point here?
Mark
-Original Message-
From: Sugimoto [mailto:[EMAIL PROTECTED]
Sent: 20 April
You might consider using JavaScript to set the cookie, as that will
execute on the client and therefore use the client's time to make any
calculations regarding expiry. This may or may not suit your purpose.
Mark
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 20 A
Be very careful with timezones. If you have dedicated servers with full
control over each one, you can simplify this by setting them all to the
same timezone. If not, you have a lot of work to do.
Mark
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 08:
Yes, I once did this for all the states in Brazil. It took me a few
hours to trace the states, but it looked beautiful when it was finished.
This will already have been done for the states many times - you could
probably borrow someone else's work and scale it up or down a bit if it
doesn't fit.
M
:34
To: Mark Rees
Subject: Re: [PHP] image maps in PHP
Mark Rees wrote:
> Yes, I once did this for all the states in Brazil. It took me a few
> hours to trace the states, but it looked beautiful when it was
> finished. This will already have been done for the states many times -
&g
Use a counter when iterating through the results
When counter % (modulus) 3=0 then write a new row
Mark
-Original Message-
From: Simon Allison [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 15:00
To: php-general@lists.php.net
Subject: [PHP] Repeat Accross, then down
Say for a photo alb
Look into the INFORMATION SCHEMA views in SQL Books Online for a
starting point.
Mark
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 15:51
To: PHP General
Subject: [PHP] MSSqlServer table/field information
Is there a way to programatically get inform
One rather brute force way to get round this is to append a unique (per-session
at least) id to the querystring of each page, which means that the page will be
requested from the server rather than the cache. I believe this works in Opera
as well as other browsers.
There is more to cache-contro
Hello I have some questions:
1.How I can make a optional argument in function that if I dont mention
it in my code does not make problem?
Start here
http://www.php.net/manual/en/functions.arguments.php#functions.variable-
arg-list
2.How I can see apache or IIS headers? Thanks
http://www.google
Perhaps it might help to think about this from the point of view of what
you are trying to prevent. Is the most important thing to make sure that
your data integrity is intact?
For example,
- you allow users to add a record on page 1
- on page 2, check that the record does not already exist, if
-Original Message-
From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]
Sent: 03 May 2005 17:49
To: php-general@lists.php.net
Subject: [PHP] Check for doubleposts
Hi,
what is the easiest way to check if a person i registered twice in a
mysql-table. Lets assume that I only check if the l
Does this help?
Select
*
From
Projects
Order By
Relate,Title
If not, please provide more details on the output you want to see and
the structure of your table
Mark
-Original Message-
From: Ahmed Abdel-Aliem [mailto:[EMAIL PROTECTED]
Sent: 02 May 2005 21:49
To: php-general@lists.php
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal information. Wh
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 10:16
To: php-general@lists.php.net
Subject: [PHP] insert not working
$query = "INSERT INTO sheet1 (title, fname, sname, job_title,
organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_in
I strongly recommend that you convert the db column to the datetime datatype if
at all possible. However if you do wish to do it this way, read:
http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html
And if you can't get it to work, bear in mind that STR_TO_DATE() is available
as of MyS
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 08 May 2005 11:56
To: php-general@lists.php.net
Subject: [PHP] I'm having a blond moment with a while loop???
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sort
-Original Message-
From: Francesco Casalena [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 10:18
To: php-general@lists.php.net
Subject: [PHP] need manual reload on Mac client
Hi,
I've a strange problem on this scenario:
-SERVER MacOs X server w/
Apache's httpd2, MySql Max, PHP5
-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 15:40
To: php-general@lists.php.net
Subject: [PHP] Accessible HTML - OT
Hiya!
I have just come back from the client visit and one of the issues that
arose was over the use of accessible markup, more specifical
In addition to the valid suggestions thus far, another option which may
suit your purpose is to display an image from webserver2 in the page on
webserver1. You can put a JavaScript redirection in the image's onload
event.
-Original Message-
From: Brent Baisley [mailto:[EMAIL PROTECTED]
Se
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 11 May 2005 07:17
To: php-general@lists.php.net
Subject: [PHP] SQL Date guru in the house?
Hi All,
I have a small problem.
I have a project in which someone has got three integer fields for
holding the date
Hi All,
with wanting to show both product types(Switch, Router etc) and
Makers(Cisco, Avaya, etc) on the one page in select boxes, I was
wondering, do you use 2 seperate queries to the database or do you inner
join to get all in 1..? I have set up different tables with related id's
etc. So, to
Richard Lynch wrote:
>You could do all this...
>
>Or you could just move the files outside your web tree and change your
>include path. [shrug]
>
>
This is probably true, but I was thinking of a virtual hosting
environment where its easier to maintain the code when its all in a
sub-director
You could try sending all the data to the client at once then achieving
the delay effect with JavaScript perhaps? That way, you are not reliant
on external factors like connection speed.
On Thu, May 12, 2005 8:38 pm, James Williams said:
> I just tried a couple of output_buffering on a test script
-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: 16 May 2005 15:26
To: php
Subject: [PHP] Add to array problem
I'm having a little problem adding to an array. Each time I add to an
array it wipes what was previously added. I'm using array_push().
$items=array();
Looking at
I expect (indeed I sincerely hope) that customer_username AND
customer_password columns are character datatypes. So it would be a good
idea to put single quotes around the values you are trying to select
from them.
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: 18
You might find this interesting if you are working with hierarchies in
SQL
http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=72430
3
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 19 May 2005 07:35
To: Charles Kline
Cc: php-general@lists.php.net
S
Something along these lines should get you started
Tclothes (holds all the possible variations of size, colour and style)
Id PK
Styleid FK to Tstyle
Sizeid FK to Tsize
Colourid FK to Tcolour
Tstyle
Styleid PK
StyleDescription VARCHAR
Tsize
Sizeid PK
SizeDescription VARCHAR
Tcolour
Colourid PK
C
This is a beginner's guide to SQL syntax, please review it
http://www.webdevelopersnotes.com/tutorials/sql/mysql_guide_querying_mys
ql_tables.php3?PHPSESSID=fb6c7c7a548b6a271a75d623ce04cc9c
The answer to your question (which someone has already given in a
previous reply to you) is
SELECT `User_n
(posted again with another syntax error corrected)
This is a beginner's guide to SQL syntax, please review it
http://www.webdevelopersnotes.com/tutorials/sql/mysql_guide_querying_mys
ql_tables.php3?PHPSESSID=fb6c7c7a548b6a271a75d623ce04cc9c
The answer to your question (which someone has already g
The dropdown list is on the client (browser). Javascript runs on the
client. PHP runs on the server.
You have 2 options
- one is to do as Richard says and use javascript to change the contents
of one select box when an option is selected in another.
- the other is to refresh the page when the
Hello
This code gives me a 407 Proxy Authentication Required message. Can anyone
see what is missing? The username and password are definitely correct, as
are the proxy IP and port.
Win2k. php 5.0.4
$ch=curl_init();
curl_setopt ($ch, CURLOPT_URL, 'http://www.google.com/');
curl_setopt($ch, CURL
where does that fit in?
The readme files in the package I did download don't really help either:
http://curl.haxx.se/dlwiz/?type=*&os=Win32&flav=-&ver=2000%2FXP
Please help if you can
Mark
""Mark Rees"" <[EMAIL PROTECTED]> wrote in message
n
"Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > What are the options to get code to run on the server (every XX
> > minutes), without any user interaction, etc.
>
> If you are running on a unix like system (linux, freebsd, solaris, etc.)
> cron can do this for you
""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
$query= "DELETE FROM sheet1 WHERE id=$id";
You have an error in your SQL syntax; check the manual that corresponds
to
your MySQL server version for the right syntax to use near '' at line 1
[/snip]
try...
$query
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello all,
I have some questions and I hope someone could answer them
1. Is there a way to find out how many users currently browsing pages
at my web site?
2. If I write down the IP of a user that log on my web site, ca
""adolfas"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have a line:
>
> $sql="select u.*, p.name_lt as pareiga from nese_users u left join
> nese_pareigos p on p.id=u.pareiga order by data desc";
>
> As I understand there are 2 tables: nese_users and nese_pareigos
> I n
""david forums"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> well I see two way.
>
> First is to make a php script without end, which will run continuously.
I don't recommend this way at all. Why take up all that energy
>
> second way is to add refresh html tag, in your page, or
"Skippy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How do you people best deal with text meant for i18n via gettext, which is
> either large or contains HTML tags, or both?
>
> The GNU gettext manual, in section 3.2, recommends to split long texts at
> paragraph level, or in th
""Grosz, Steve (IPG IT)"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
..
Is setting up PHP easier on Windows 2000 server rather than Win2003?
I'm having nothing but problems getting PHP files to show up in IE on
the Win2003 server, I get nothing but 404 - file not found errors.
Can
Hello
Sorry for the OT request.
Does anyone know of anywhere I can get my website picked apart from a
usability point of view? I'm thinking of general first impressions rather
than an in-depth review of functionality.
Thanks
Mark
--
www.itsagoodprice.com - top-brand electronics for less.
--
""Alessandro Rosa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a problem to record session data and I would you
> help me. I suppose there's something I missed in the general
> configurations during the last install, but I can't realize it.
Review the settings in php.ini.
"Linda H" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I added the following to the top of my script:
>
> echo phpinfo();
> ?>
>
> Got all sorts of environment and path info. Not anything about MySQL, but
I
> didn't see anything that looked obviously wrong, though I don't under
""Joey"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> OK I understand the difference between a get & a post but if I just have a
> URL/link which is calling a function like so:
>
> abc.com/display_information?customer_number=$value
>
> It passes to the display_information the custo
""Ross"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a query
>
> $query = "SELECT * FROM sheet1 WHERE '$filter' LIKE '$search_field%'"
>
Simply requery the database for each search. For example, this orders the
results by surname from a-z
$query = "SELECT * FROM sheet1
"Linda H" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> For those who didn't join this thread at the beginning, I'm running MySQL
> 4.0.21, Apache 2.0.52 and PHP 5.0.2 on a Windows XP system.
>
> I installed in the sequence - MySQL, then Apache, then PHP. MySQL was
> running when th
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> babu wrote:
> > Hi,
> >
> > could someone please check where the sytax error is in these statements.
> >
> > $sqlstmt= "EXEC sp_addlogin ".$adduser." , ".$addpass;
> > $sqlstmt1= "EXEC sp_adduser @loginame= ".$adduser." ,
An alternative (and more user-friendly) approach is to have the form's
action as itself (i.e. the form on contact.php submits to contact.php). You
can then identify which fields are incomplete and highlight them in the
form. This will make it easier for users to see what they have done wrong
and ma
"eoghan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 20 Jul 2005, at 02:22, Linda H wrote:
>
> > fahreheit is here:
> >
> > > $fahr = $_GET['fahrenheit'];
> > if (is_null($fahr)){ echo 'fahr is null';}
> > $>
> >
> > The error was on the line: $fahr = $_GET['fahrenheit'];
>
>
"Steven" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> I am looking for a simple way to check if the server is connected to the
> Internet, they use a dialup to get Internet connection, and I need to
> email reports out, but want to check to see if the user remembered to
> c
>Hello Mark
>An alternative (and more user-friendly) approach is to have the form's
>action as itself (i.e. the form on contact.php submits to contact.php). You
>can then identify which fields are incomplete and highlight them in the
>form. This will make it easier for users to see what they have
"Jesús Alain Rodríguez Santos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have someting like this:
>
> $test = mysql_query("SELECT MAX(dato) AS datos FROM tabla WHERE campo_mes
> = '$mes'");
> $test_m = mysql_fetch_array($test);
> $test_mes = $test_m['datos'];
>
> print $test_m
Are you familiar with Joe Celko's tree theory? It might help you understand
more about the problem.
http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=235427
--
Hello,
Consider this:
tbl_project(id, name, parent)
1 6
/ \ / \
2 3 7 8
/\
4 5
if tbl_project.parent
"André Medeiros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> One thing I didn't quite explain myself well... I'm building this to
> register objects on a permission system.
>
> The SQL weight is heavy as it is, and I want to save queries as much as
> possible. Making two queries t
Yes, it is quite possible that you have more than one php.ini file. Check
this and delete as appropriate.
""Shaw, Chris - Accenture"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
...
Have you tried doing a search for the text "php5" in the php.ini file that
sits in your c:\windows f
"André Medeiros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 2005-07-27 at 07:51 -0400, Jack Jackson wrote:
> > Hi,
> > I have searched the archives and seen links to tutorials at phpclasses
> > (which seem to be down) and not found an answer to my question:
> > I have a l
"André Medeiros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 2005-07-27 at 15:27 +0100, Steve Turnbull wrote:
> > Hi
> >
> > I want to see that a user is submiting a form field in the correct
manner.
> > So I decided to use preg_match to verify their input.
> >
> > The pat
"Taksam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Anybody used OpenAMF+PHP? ( http://www.amfphp.org/ )
>
> It is an open-source Flash Remoting gateway. I already used it with Java
and works OK. Just wanted to know if somebody here used it with PHP and
would like to know if th
Jack Jackson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Somehow my intent has been turned around here and I apologise.
>
> I do not want to use *any* client side validation. I only want to do
> server side validation and server side storage.
>
> My intent was to remove the clien
Jack Jackson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Somehow my intent has been turned around here and I apologise.
>
> I do not want to use *any* client side validation. I only want to do
> server side validation and server side storage.
>
> My intent was to remove the clien
Jack Jackson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Somehow my intent has been turned around here and I apologise.
>
> I do not want to use *any* client side validation. I only want to do
> server side validation and server side storage.
>
> My intent was to remove the clien
"André Medeiros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The point of sessions is that when you close your browser, you loose it.
> I'm affraid that if you want sessions that last two weeks, you'll have
> to make your own session handler :) but yeah, it's possible, and it
> be
> i know how to break up db results into two tables but im having a hard
> problem with this:
>
> db structure
>
> ---
> | id | cid | title
> ---
> | 1 | 2 | hardware
> | 2 | 3 | software
> | 3 | 3 | software
> | 4 | 2 | hardware
>
>
> how can i have hardware on colu
>
> g.gill wrote:
> >>From what I understand the simplest solution here would be to check to
see
> > if you have $_POST['cb'] in the first place. That would indicate if
> > checkbox was selected or not. After, you have posted the form just do
the
> > following test.
> >
> > $check_box_exits = ((i
On 8/1/05, Jack Jackson <[EMAIL PROTECTED]> wrote:
>
> Jochem Maas wrote:
>
> >
> > wtf are you smoking Jack? every checkbox that was checked will exist in
the
> > $_POST array set with the value you gave it (I alway set a chekcboxes
> > value to 1
> > because the values mere existance in the subm
> >
> > can anyone give me an idea on how to return info. from a forl
> > pulldown menu
> >
> > and return that to an email address.
> >
>
> A most basic question begs a most basic answer:
>
> if (!$_POST['submit']){ // Display form
> ?>
>
>
> Dropdown Value to Email
>
>
>
>
>
> Purchase
>
"Jack Jackson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all. This has been an interesting week.
>
> Now the form works, and I am able to error check, if no errors look into
> user answer table and delete from that all q_ids matching the ones just
> picked, insert this page o
"Tom Chubb" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
This may be slightly OT, but I've modified a gallery script that I had
written for me which reads directories and echos the dir name as a
gallery.
Unfortunately, it doesn't look very nice with say picsofsomething so I
renamed t
""George Pitcher"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John,
>
> Thanks for the input. I just knew I hadn't covered everything. My server
is
> currently set up as NT4/IIS. I suppose I could look to switching to Apache
> though.
Far be it from me to discrouage you from swi
"Jesús Alain Rodríguez Santos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, I have in a php page one ($variable = 85), I woud like to change the
> value from this variable online, without any data base, for example ussing
> a form where I can put the new value and it change the
"Bing Du" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I need to access both MySQL and SQL server 2000 in a PHP script on RHEL
> 3. In phpinfo(), I noticed 'supported databases' shows 'MySQL ODBC
> PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8)'. And
> 'Config
Apologies if this turns out to be a cross-post. I sent it to the list @
evolt, but have seen no traffic on that list for two days now.
---
Hello
I am using PHP v5 to write an intranet. The site is hosted on a windows 2000
server running Apache. I want to i
> Hello
>
> I am using PHP v5 to write an intranet. The site is hosted on a windows
2000
> server running Apache. I want to incorporate some form of Windows
> authentication to allow or deny access to given resources based on
usernames
> and group membership.
>
> I am trying to accomplish this usin
""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
Is it possible to catch all parser errors (notices), and as that happens
redirecting to a 'sorry-page-not-available-at-this-moment' page, whilst
storing the error (or notice) message somewhere else (e.g. emailing i
""George Pitcher"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am sending emails out from php using a variety of 'From addresses',
> depending on who is logged on. I would like bounced messages to go
directly
> to the sender, but they are not. I suspect that this is beca
>How long does it take to fail?
>I get the answer immidiatly (0-1sec.)...
Are you sure you are connecting? As in, do you only try to bind if you have
a successful connection?
Have you checked ldap_error?
Are you doing an anonymous bind, or using a username and password? Try each
and see what hap
> >> I'm betting you'll have the SAME ISSUE, and that the problem has
> >> NOTHING to do with PHP whatsoever.
> >
> > And you'd win that bet. I thought that would be the proof I'd need to
> > show that it wasn't PHP, but management has some notion that PHP might
> > have somehow tainted IIS.
>
> Go
""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
doesn't work CSS acts the same way with a long unbroken string.
[/snip]
Well, you have no way of determining how many pixels wide something can
be with PHP. You might have to use JavaScript to break up the string
"Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys.
>
> Does anyone know of any open source software written in PHP to create
> HTML news letters (head, side and bottom graphics). as well as being
> able to send the newsletters.
PHPlist from www.tincan.co.uk
>
"Santosh Jambhlikar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> then can i output the SMD5 of my password in php.
>
>
> Jeff Loiselle wrote:
>
> > Santosh Jambhlikar wrote:
> >
> >> Hi ,
> >>
> >> I have a ldap server the user password are stored in that. my php
> >> ldasearch r
http://uk2.php.net/manual/en/function.mssql-query.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi all.
>
> I havent found an answer after looking at the manual. I'm trying to find
> out if it possible to find the path of the file on the clients pc once
> a form has been submitted with the file upload form.
No, this would be a security risk. If all your users are on an intranet,
you may
file again
because
> the upload field will be blank.
>
If that's the problem, you might find it easier to solve by going for two
separate forms - one to enter all the details, and the second just to upload
the file.
>
> Quoting Mark Rees <[EMAIL PROTECTED]>:
>
> &g
"Martin S" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In this code, I'm not getting the value of $list passed to the Mailman
page.
> I've checked this umpteen times by now, but fail to see the error. I've
$list is not to be found in this code sample. $lista is though.
> beate
> In fact, this is a poor example since the difference gets larger with
longer
> string and more arguments. When you use dots, the interpreter has to
> actually concatenate the string, looking for memory to do so and freeing
it
> up afterwards. This takes time. With commas, each argument is sent
> Auugh!! Why would you want to do this? You're flying in the face of
> relational database theory and practice. Position of a record in the table
> is, or should be irrelevant.
Agreed - "position" is a notional concept. The data is stored physically in
some sort of order, but what order that is
> Ross wrote:
> > do somehthing
> >
> > this seems to work but can someone explain the syntax to me what does a
'?'
> > and a ',' do in PHP?
> >
> > I thought you joined strings with a full stop '.' (a period if you are
from
> > the US).
>
There was a long thread on this only yesterday, under the
""Seth Rainsdon"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
when I try to access anything.php it tells me HTTP 400 bad request I have no
clue how to fix this
Seth
Nor do we, yet.
Which OS?
Which web server?
What have you tried so far?
Has it just broken, or did it never work?
-
Dan Rossi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> client cookie expires hence no more session ...
>
> On 07/09/2005, at 1:57 AM, Jordan Miller wrote:
>
> > Hi Dan,
> >
> > Couldn't you store an expiration time directly in the $_SESSION
> > variable, rather than relying on co
""Murray @ PlanetThoughtful"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Hi all,
> >
> >
> > I want to write regular expression for checking the string format
entered
> > by user.
> >
> > the allowed formats are
> >
> > examples:
> > 10
> > 10,
> > 10,12-10
> > 12-10
> >
> > th
> > Still learning, so sorry if this sounds really simply noobish. But as I
> > understand things currently this should work. But doesn't. I've been
> > looking over tutorials but just don't see whatever the problem is.
> >
> > I created a simple table with the following fields (in order)
> > tc
>
> I want to adjust the round() -function a little...
>
> If I put round(6,0) there will be an output of 6
> If I put round(6,32) there will be an output of 6,3
>
> I want it to have 6,0 instead of just 6... I guess there is an easy
solution
> to this? Suggestions?
Have a look at this.
http://uk
""Ryan A"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> My client has a dating site and now he wants to mail all his members,
> he does not want to use any of the already installed mailing lists but
wants
> us to make one
> for him, he's on a dedicated server.
>
> Presently h
> I've looked through php.net and scoured Google for a solution to an
> issue I'm having with PHP and LDAP but have so far found nothing. I'm
> trying to build an intranet site that uses the company LDAP (Active
> Directory really) service but I can't seem to get around the
> "Operations error" and
> >> On my server I'm running:
> >> Fedora Core 4
> >> Apache 2
> >> PHP 5 compiled with OpenLDAP
> >> To shed more light on the topic, bug #30670 [ http://bugs.php.net/
> >> bug.php?id=30670&edit=0 ] seems to fit my situation perfectly. As
> >> some of the posts on that bug suggest, I've tried us
> I tried to use the final array values in a insert statement, but the
values are not inserted.
> the code is
>
> foreach ($final as $subnum){
> $res = $db->query("INSERT INTO
substrate_protocoll(substrate_type,substrate_num,operator,location,solvent,u
ltrasonic,duration,cdate,ctime,comment)
>
VA
On Wednesday 14 September 2005 07:36 pm, Jesús Alain Rodríguez Santos wrote:
> I have a table colum in mysql with two fields: day and month. I
> would like to know if it's possible to make a query where I can
> determine if exist days before to a selected day, for example:
> if I have in my table:
1 - 100 of 128 matches
Mail list logo