regarding the following problem.
Basically, I ask the user to type a few sentences, in
input type=text name=name and on the next page I show everything
s/he typed asking Are you sure you want to submit this...
Once clicked YES all data is being taken to the next page for
FINAL submission to mysql
:10 PM
To: S; [EMAIL PROTECTED]
Subject: RE: [PHP] forms and inputs
Hi continuing with the same issue I just found another bug in my code.
Basically I have a script myfile.php, based on codition it goes through
submit process STEP 1 through 4. It takes along the values it has collected
via:
form
. For example I want the users can see 30% of
upload completed, or the MByte just uploaded.
I had some difficulties to write to the list, so I send the mail (with some
modifies in the address) several times;
I apologyze if many mails are sended to the list.
Thanks for help...!
S.
In th file
Thanks for informations,
I'll try to work on a different approach, maybe analyzing the dimension of the
temporary file during upload (if it is possible identify the temporary file
and monitoring it with another script).
Thanks for your help,
S.
Il 11:55, giovedì 11 luglio 2002, val petruchek
Maybe it's a permission problem: if you read the installation procedure of
MySQL, you can find that some file system permission modifies are required
(you must modify the permissions of 2 or 3 file (or directories));
Have you chenged theese permission?
S.
Il 08:52, giovedì 25 luglio 2002
Just a small (and hopefully easy) question.
Is there a PHP equivalent of index.html? I want to be able to go straight
to a PHP script without the user specifying the filename.
Thanks, Steve.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
HI Gurus,
I am getting this error. I saw few posting for this error and found someone suggesting
"-lz"
option in Makefile in LIBS option.
However, I didn't found this line in apache Makefile.
Also I tried other methods including reloading zlib, reconf mysql ..but in vain.
Please help.
I did -
This worked for me as well, and helped me with a problem I was having!
How would you show what option was selected in a drop down box. I have a
form the user fills out, this goes to a confirmation page to ensure the data
enetered is correct. I have a drop down box for states, and I cant seem to
I thought about doing it this way, but repeating this 50 times seems a bit
ineffecient, perhaps i am looking for a shortcut that does not exist? I had
hoped I was missing something obivious.
Thanks
Steve
- Original Message -
From: "Peter Houchin" [EMAIL PROTECTED]
To: "S
Thanks, that did it.
Steve
- Original Message -
From: "David Robley" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 7:58 PM
Subject: Re: [PHP] setting Check box
On Wed, 28 Mar 2001 10:18, S. Efurd wrote:
This worked for me as well, and
I had been using blob for a lot of mysql text fields, even email
address as well as other data. all of a sudden, it seems, instead of
seeing and editting these blob values in phpmyadmin (i currently have
2.2.2) tables all i see in the fields is [BLOB] and I am ubnable to
edit the fields.
Does
2001 16:52, schreef Paul S.:
I had been using blob for a lot of mysql text fields, even email
address as well as other data. all of a sudden, it seems, instead of
seeing and editting these blob values in phpmyadmin (i currently have
2.2.2) tables all i see in the fields is [BLOB] and I am
When reloading php software to new directories deleting the old dir is
often difficult because there is a dot file (often with a majic quotes
directrive) so directories aren't empty. I have to telnet to my main
account and use command line ftp to delete the (still invisible)
offending dot files.
Dear all,
One more measure thing to stop getting the source code with .inc
is to deny the files which has inc extension in Apache httpd.conf itself
with DIRECTORY configuration.
with regards,
Sukumar .S
On Thu, 17 Jan 2002, Radu Filip wrote:
Date: Thu, 17 Jan 2002 02:10:01 +0200 (EET
application which process the form would get the values. I think i
understood the question well...
with regards,
Sukumar .S
On Mon, 21 Jan 2002, Tim Ward wrote:
Date: Mon, 21 Jan 2002 10:20:31 -
From: Tim Ward [EMAIL PROTECTED]
To: [iso-8859-1] Mårten Andersson [EMAIL PROTECTED
Hi,
Use intval(2.05);
I hope this will do the needful for you.
with regards,
Sukumar .S
On Mon, 21 Jan 2002, Jerry wrote:
Date: Mon, 21 Jan 2002 13:35:34 -
From: Jerry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Integer in PHP
Hi,
I'm new in PHP, coming from
Hi,
I'm using sessions extremely to do that.
with regards
Sukumar .S
On Tue, 22 Jan 2002, Floyd Baker wrote:
Date: Tue, 22 Jan 2002 01:17:18 -0500
From: Floyd Baker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Passing. Which method to use?
Hi once again.
What's
Dear Adam,
Are you using 'realm' authentication setup?
with regards
Sukumar .S
On Tue, 29 Jan 2002, Adam wrote:
Date: Tue, 29 Jan 2002 14:47:42 -0600
From: Adam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Help! (How are sessions intended to work?)
My Setup Specs
I thought that a simple php file email.php as follows:
?php
header(Location:mailto:[EMAIL PROTECTED];);
?
might open a compose window and circumvent those spam robots (the robots
that search web pages for email addresses for spam lists).
1) If this worked (a href=./email.php) then WOULD spam
I'm missing?
Thanks :)
-- code---
if ($id) {
$result = mysql_query(SELECT * FROM entries WHERE id=$id,$db);
$myrow = mysql_fetch_array($result);
printf(table border=1tr\n);
printf(trtd%s/td/tr, $myrow[title]);
printf(trtd%s | , $myrow[id]);
printf(%s/td/tr, $myrow[posted
You have to add an extra tag into the form tag (method=post), it should
read as follows:
(form name=\login\ action=\$PHP_SELF\ method=post
David Orn Johannsson [EMAIL PROTECTED] wrote in message
003001c1d418$7126b3f0$6500640a@gandalf">news:003001c1d418$7126b3f0$6500640a@gandalf...
Can I some
Hello List,
I want to use WDDX in PHP but I don't have access to the WDDX module.
Does anyone know if there is WDDX serializer/deserializer written in
PHP?
I've been working on one for about a day now, and it works pretty sweet.
I'm relatively new to PHP and don't trust using it in commercial
Thank you for the feedback. Sablotron is running
fine now. Just had to do some modifications
with my *.xsl file.
Here is what I have going now with the
implementation:
http://213.84.71.105/
On Tue, Jun 04, 2002 at 10:57:45AM +1000, Tom Rogers wrote:
hi
I am using 4.2.1 and it works fine, I
I am very new to PHP, Sablotron, XSLT, and MySql.
Right now I have created a web page that is the
result of a transformation (through php) of an
xsl and xml file.
What I would like to do is run a PHP script so
that the result is displayed within a table on my
web page. How do I do this? Here is
() // array parameters
) ) {
printf( Sablotron Error (%s): br /strong%s/strong,
xslt_errno($_parser), xslt_error($_parser) );
}
xslt_free($_parser);
echo $result;
?
On Mon, Jun 10, 2002 at 02:23:21PM +0800, James wrote:
It's quite easy to display
Can a php script be put within a stylesheet and
work properly? If so, how?
For instance, this script put inside an XSL
stylesheet file:
?php
$myvar = Hello World;
echo $myvar;
?
Then it is transformed into html via Sablotron.
--
Bill
I am looking for an example or an explanation
of how to set up a stylesheet so it will
enable a user to query content in an XML file.
For instance. Have an XML file with names and addresses
and the user would be able to search for a name and
get back a list of matches.
This would need to work
This works pretty well to append content to
an XML file. However, I need to keep the
closing tag where it belongs: at the end of
the file. This only appends to the end and
doesn't work.
I use ...
$myecho = Hello World;
$file_name = file.xml;
$file_pointer = fopen($file_name, a);
Yes, that worked. Nice and effective solution.
Thank you.
On Tue, Jun 25, 2002 at 09:51:21AM -0400, Erik Price wrote:
snip
If you know for a fact that the ending tag for each file is consistent
and always that same tag, here's an idea. Determine or specify the
length of the ending tag
Is there a mailing list just dedicated to gdlib
or any places that show a gallery with examples?
I would be interested in seeing examples
of images that are complex/artistic and beyond
simple rectangles and boxes.
--
Bill
Amsterdam, NL
--
PHP General Mailing List (http://www.php.net/)
To
Maybe I am just doing it incorrectly but I am unable
to get anything displayed with imageellipse in
gdlib2.0.
Can anyone give me a simple php script to test it
with? I am using php with Sablotron.
Thank you.
--
Bill
Amsterdam, NL
--
PHP General Mailing List (http://www.php.net/)
To
Perhaps this relates to the original question as an additional
feature.
What would be the best way to offer SVG content from the
main opening page? Since SVG requires a browser that has
the approprite plugin or a dedicated browser, is it better
to create a hyperlink or maybe have the SVG
I am able to do this:
xsl:for-each select=alot of stuff
form name=myform action = http:path to somewhere.php
method=post
input type=submit name=insert value=Boston//form
/xsl:for-each
But would like to do something like this:
xsl:for-each
I am experimenting with using an XML file as a
database. One of the things I do is provide
a way of adding records to the database by an
html form.
This seems to work out well so far unless one
of the fields in a record contains an html
reference. The result is a Sablotron parse error.
What is
This works OK with creating buttons but is not what I want.
POST/INPUT
xsl:for-each select=. . .
xsl:sort/
form
xsl:attribute name=namemyform/xsl:attribute
xsl:attribute name=actionlist.php/xsl:attribute
Please disregard the previous posting I made. I figured it
out.
On Mon, Jul 15, 2002 at 10:52:23AM +0200, William S. wrote:
This works OK with creating buttons but is not what I want.
POST/INPUT
xsl:for-each select=. . .
xsl:sort/
form
) ) {
printf( Sablotron Error (%s): br /strong%s/strong,
xslt_errno($_parser), xslt_error($_parser) );
}
ob_end_clean();
xslt_free($_parser);
echo $result;
?
Starting program: /usr/sbin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
__libc_free (mem=0x2) at malloc.c
What is your PHP Version ?
Try putting the
global $HTTP_SERVER_VARS;
print_r($HTTP_SERVER_VARS);
in your custom function and check out what is it printing...
-S. Sukumar
I'm trying to access some settings in the $HTTP_SERVER_VARS[] array, but,
within a custom function
I'm trying to access data sent to PHP script via POST. But I can't seem
to find any documentation on how to do this. Only $HTTP_POST_VARS, but
that's not what I want.
Anyone know how?
Thanks
Stuart Schoneveld
www.xs4all.nl/~stuartmx
--
PHP General Mailing List (http://www.php.net/)
To
Is Sablotron broken in 4.2.1 because none
of the transformations have worked that
I have tried.
I am using:
php 4.2.1
apache_1.3.24
expat-1.95.2
my files are:
'wget http://213.84.71.105/news.xml'
'wget http://213.84.71.105/news.xsl'
'wget http://213.84.71.105/news.php'
, you can just give trust
for localhost and try whether you are able to connect to postgresql or
not.
-S. Sukumar
I am trying to connect to postgre_sql database using
pg_pconnect(). When I try to run it i get the
following error
Warning: Unable to connect to PostgreSQL server: FATAL
1: IDENT
I design a website on a PC, and upload it to UNIX. Of course, there are
always one or two variables that I have to keep track of as to
whetherteh server is UNIX or PC. There MUST be a simple way to test
if (the OS is Windows) {
$siteurl = http:// www.website.com/ ;
$mysqlpasswordfilelocation =
My UNIX apache server that I host from seems to be preset to execute PHP
code within html docs. That is, a php require statement within a .html
file is included, executed, and sent to the browser.
Is this unusual? or standard? I ask because I would hope not to become
dependent on including php
Hi,
we recently purchased the whole PDFlib+PDI package, however I've been
having trouble installing it.
Many of the different installation instructions i've found have told me
contradictory things.
I have tried using both the binary distribution aswell as the source.
After many rounds of
I heard refs on using the COM interface to access MS Word files.
Is this a procedure an interface that only works on Windows systems (as
that is where Word runs)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
,
Blake S.
--
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]
Very strange situation, PHP Version 4.0.3 on one of my production web
servers has started to loose different functionality?? The OS is
Apache/1.3.12 (Unix) (Red Hat/Linux 6.2) PHP/4.0.3 mod_perl/1.21, PHP was
compiled as a module with apxs. The strange thing is, some virtual host
directories have
I have found the problem with my previous post and PHP functions no longer
working. It seems the code:
include(http://www.domain.com/path/to/file.txt;);
no longer works? If I type in a complete directory path then it works great,
but no Internet include, any one know why?
Thanks
--
PHP
Hi All,
I saw similar error questions posted on phpbuilder etc but didn get exact answer about
cause
of this error.
I have RedHat 6.2 with Apache 1.3.17, MySQL 3.23.33 and Php 4.0.4pl1.
I am getting the above error mentioned in subject while trying to start Apache. Any
idea ?
Thanks,
SJ
I have a database of numbers:
TOTAL HITS: 1000
PAGE 1: 500
PAGE 2: 250
PAGE 3: 250
How can I query these numbers and display back a percentage number? For
instance with the numbers above:
PAGE 1: 50%
PAGE 2: 25%
PAGE 3: 25%
Or is their a process by which to store numbers for easily getting
Basically I have array variables, lets say:
---
$folder[0] = "basic";
$folder[1] = "standard";
$folder[2] = "knowledge";
Fruther down in the code:
---
$totalsub_basic = "10";
$totalsub_standard = "24";
sorry if this question sound stupid.
i need a good, simple and efficient function to display lets say photo of
the day.
i have a mysql table contain data about 1000 rows. i want to display any of
the photos randomly
and it is fixed for one day.
anyone know how to write the function that return a
i am wondering whether this can be done. i know it can.
is it possible to make one website with the ability to host multiple
website.
it is something like website generator. eg: www.shopify.org
let say for example i have a website www.example.org.
i can point a domain name (www.example1.org) to
On Feb 4, 2008 3:33 AM, Feris Thia C. [EMAIL PROTECTED] wrote:
Yes you can.
Just mirror the additional domains and in your PHP app check the
$_SERVER[HTTP_HOST] variable.
Hope this helps !
Regards,
Feris
http://top-10.bigspacehosting.com
On Feb 3, 2008 2:20 PM, jeffry s [EMAIL
can you tell me more about mod_rewrite?
On Feb 4, 2008 10:52 AM, Richard Lynch [EMAIL PROTECTED] wrote:
On Sun, February 3, 2008 1:20 am, jeffry s wrote:
i am wondering whether this can be done. i know it can.
is it possible to make one website with the ability to host multiple
website
i have text file and a table created with
create table word(
id int not null auto_increment primary key,
word varchar(50),
definition text
)
the text contain list of words but not really in specific format
word, some text definition
word, some text definition, some text definition, etc
i want
thank you all.
it is a great help..
On Tue, Feb 26, 2008 at 1:15 AM, Shawn McKenzie [EMAIL PROTECTED]
wrote:
Shawn McKenzie wrote:
jeffry s wrote:
i have text file and a table created with
create table word(
id int not null auto_increment primary key,
word varchar(50),
definition
i wonder how kannel.org work?
do i need the specific device. i need the sim card form the phone company
provider right?
On Thu, Feb 21, 2008 at 4:18 PM, Per Jessen [EMAIL PROTECTED] wrote:
Paul Scott wrote:
What you need to do is ask yourself whether you are going to do high
volume SMS or
some friend of mine ague about this matter, this morning. they say, saving
image in
database is more professional. I am not really agree with that,since i am
just a novice programmer. i am asking
senior php programmer what you opinion about this?
which one is better. save in database or in
thanks Richard ..
sorry dev.. i don't know this subject is quite sensitive here :(
I think I'm gonna dive into the archives then. To see for myself what
left such a scars upon that subject.
i guess, i have to prepare my oxygen tank to dive into the archives.
i am quite curious to find out what
i am using my laptop with PHP 4+ and mysql 5+, everything start to be weird
after i implement my costume sessions (storing in database).
i only use one database connection for the whole website.
what i mean is, the session and every query connect to mysqlserver using the
same user.
I am not sure
Hi. I came across your contact info at php.zend.com and was hoping you could
help me out with this question.
I recently installed Rubberwall10, a free software that protects from
hotlinking and although I managed to installed the software correctly at my
site, I came across the fact that when
i made a mistake when i say i can solve this problem to a friend.
finally i realize it is not as simple as i appear to be.
what he ask me to do is write a simple script that, given a word.. the
script will generate a list of words combinaton
from the each character in in that word. i am tired
hi,
i am newbie to web programming. i have a basic doubt in using forms.
Is it advisable to use multiple forms performing various functions in a
single web page.
what are the pros and cons of using that.
Please forgive me if this is not the right mailing list to post this
question. But help me
On Tue, Mar 18, 2008 at 9:22 PM, Aschwin Wesselius [EMAIL PROTECTED]
wrote:
Per Jessen wrote:
Yes, that's a very typical setup. When the form is processed, you send
a 303 redirect to the Thank you page. That way, if the user hits
the back arrow, he's taken back to the form URL, not the
On Wed, Mar 19, 2008 at 10:57 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Wed, Mar 19, 2008 at 10:53 AM, tedd [EMAIL PROTECTED] wrote:
At 10:35 AM -0400 3/19/08, Nathan Nobbe wrote:
On Wed, Mar 19, 2008 at 9:42 AM, Andrew Ballard [EMAIL PROTECTED]
wrote:
That works; I'm
i know it is forbidden to sell open source software.
let say i have costumer want me to modified an open source php script.
i have the right to charge him the service to modified the software.
but this costumer ask me to do one thing against the gpl software.
he want me to remove all the link
On Thu, Mar 20, 2008 at 1:02 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Wed, Mar 19, 2008 at 12:55 PM, Colin Guthrie [EMAIL PROTECTED]
wrote:
IANAL so apologies if I've gotten anything wrong here.
Yes, we know you're anal. ;-P
In all seriousness, looks like you got it all
On Thu, Mar 20, 2008 at 1:19 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Wed, Mar 19, 2008 at 1:13 PM, jeffry s [EMAIL PROTECTED] wrote:
forgive me for my stupidness. i am quite confuse with law thing
and gpl, gplv2 and gplv3 or gnu proven hard for me to understand.
anyone can point me
On Thu, Mar 20, 2008 at 7:35 AM, George J [EMAIL PROTECTED]
wrote:
Hi,
I'm trying to resolve an issue with a pagination routine. Sounds like
we're
working on a similar routine. I have a query returning products from a
database and then display the results in a defined number of products per
Hey all,
Heres what i am trying to do:
When someone sends a message from my site, i take their ip address and make a
file with their ip address in a directory called hash-directory, the file
looks like this: 169.34.534.243.txt
I want to make sure they cant send too many messages because of
On Thu, Mar 27, 2008 at 7:28 AM, Al [EMAIL PROTECTED] wrote:
Depends on the server and it's load. I've strung together some rather
large html strings and they
aways take far less time than the transient time on the internet. I used
to use OB extensively until
one day I took the time to
On Sun, Mar 30, 2008 at 2:07 PM, TG [EMAIL PROTECTED] wrote:
Is \n included literally because you're using single quotes for the
variable?
$textdata = 'This is a test\nThis is the second line';
vs...
$textarea = This is a test\nThis is the second line;
I would guess a lot of the pages
On Mon, Mar 31, 2008 at 12:40 AM, Paul Scott [EMAIL PROTECTED] wrote:
On Sun, 2008-03-30 at 12:29 -0400, tedd wrote:
At 9:26 PM -0700 3/29/08, Mary Anderson wrote:
Hi all,
I have a php script which produces text which is to be displayed
in a textarea. I have the wrap for the text
=document.mainform.no_of_friends.options[document.mainform.no_of_friends.selectedIndex].value;
if(nr5){nr=5;} // max number of recipients
var msg = ;
for (var x = 1; x = nr; x++)
{
msg += 'table width=50% border=0 cellspacing=2 cellpadding=2' +
'tr' +
'td nowrap=nowrap'+ x +'. Recipient\'s name:/td
link/s and just click the submit button
Cheers!
R
You rock. That's why Blockbuster's offering you one month of Blockbuster Total
Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
-general@lists.php.net
Sent: Tuesday, April 8, 2008 11:18:36 PM
Subject: Re: [PHP] dynamic boxes problem... JS and PHP
On Tue, Apr 8, 2008 at 3:51 PM, Ryan S [EMAIL PROTECTED] wrote:
Hi Guys,
[snip]
Andrew:
Thanks for replying!
[snip]
Also, FWIW, I doubt it has anything to do with your problem
, Ryan S [EMAIL PROTECTED] wrote:
Hey!
Thanks Andrew, will look into those points that you sent me.
First thing to change will be the DOCTYPE I think, as i didht type that but
must have copied code into a pre-made page...
One thing I learned when screwing around with AJAX
, Ryan S [EMAIL PROTECTED] wrote:
Hey!
Thanks Andrew, will look into those points that you sent me.
First thing to change will be the DOCTYPE I think, as i didht type that but
must have copied code into a pre-made page...
One thing I learned when screwing around with AJAX is that it,
like
Hey Pete,
**
First, you should reply to the list - that way more people could see the links
you posted and help out.
**
Oops, my mistake, I thought I did that. Will add a snip at the bottom of this
email.
**
It looks like there may be a problem with the form tags - when I look at this
code I
Hey!
Thanks to you and everyone else who replied, I have fixed the problem by
remaking the tables...
This is not really anything to do with PHP, of course... :)
:) True, in the end it was not. But in the beginning I couldnt figure out for
the love of god why my PHP script was not getting
Hey Jim,
Yep, That was the problem fixed that and now everything works.
***
While we are on the topic of the form../form tags, just a side note.
It
is invalid HTML syntax to have any tag between your
tableILLEGALtrILLEGALtd
ok here
/tdILLEGAL/trILLEGAL/table
As a note: the only
Hey Bill,
Thanks for the tips, makes sense and will try to follow them.
Cheers!
R
*
Ryan,
Four observations:
1. Don't try to solve your problem by changing the DOCTYPE. Bad HTML is
bad HTML. Changing the DOCTYPE may reduce the severity of the problem,
but it won't solve it.
2.
Hello!
I have been using XAMPP for quite some time now (thanks to the recommendations
from this list) without any real complaints...
and the only reason I am writing here is because i am sure a lot of you guys
run the same thing considering the amount of people who recommended it to me
when
You could try their forums:
http://www.apachefriends.org/f/?language=english
Thanks!
Just after I posted i started searching on google and found them, have joined
and posted... no reply as yet... just the waiting game now i guess.
Main prob is I cant even get phpmyadmin running to copy the
:/xampp)
copied over all the files needed from the htdocs to c:/xampp2's htdocs
in the MySql folder, go into the data folder and just copy the files with the
DB names that you created, leave all other files alone, paste these files into
the c:/xampp2/mysql/data folder... do not overwrite anything
/*
Top posting from my cell...
1. Format hard drive
2. Install redhat fc8 or Ubuntu 8.04
3. Load the new MySQL installation with your backup file
If you really have to stay with windoze, remove and re-install apache. Look at
the system log files as they SHOULD tell you what was causing the
Hey!
Heres what i have to do, upload pics and each pic can be a part of x number of
categores
for example:
A picture of a rose can be for birthday, as well as anniversary, or miss you,
or love etc
exactly the same as how in wordpress an article can be in multiple categories
like tech, current
/*
Top posting from my cell...
1. Format hard drive
2. Install redhat fc8 or Ubuntu 8.04
3. Load the new MySQL installation with your backup file
If you really have to stay with windoze, remove and re-install
apache. Look at the system log files as they SHOULD tell you what
was
Cant afford a new comp or a new OS and as for your last statement:
http://www.sophos.com.au/pressoffice/news/articles/2006/02/macosxleap.html
_almost_ no virii for the Mac :)
/*
None that have effected my computers here at work, or at home. No anti-
virus, no firewall's ;)
Oh and I'll
Hey!
Thanks for replying guys!
clip
1. Fully normalised, where you have three tables - one for your
articles, one for your categories and a link table.
This is the route that I would suggest, it's the most flexible and
fastest to query.
/clip
Anyone happen to have a little PHP code
Hey,
Am not really used to using the JOIN in SQL so am a bit confused as to what
kind of data I need to enter into this table:
image_category_mapping table:
- image_id
- category_id
for all of this to work... mind explaining a bit?
Thanks!
Ryan
Hey all!
To say I suck at regex is an understatement so really need any help I can get
on this, I have a page of text with different html tags in them, but each
block of text has a p or a class=something tag... anybody have any
regex that will catch each of these paragraphs and put then
clip
To say I suck at regex is an understatement so really need any help I can
get on this, I have a page of text with different html tags in them, but each
block of text has a p or a class=something tag... anybody have any
regex that will catch each of these paragraphs and put then
Hey,
clip
$tag_regex=array(
'/\p(\s*)\(.*?)\\/p\ /si' = $1,
'/\(\s*)(*.?)class\=(*.?)\(.*?)\\/(*.?)\/si' = $3
);
$paragraphs=preg_replace(array_keys($tag_regex),array_values($tag_regex),$page);
I am not sure what tag is that you mean on class=something, but in this
RE .. it should
clip
preg_match_all('|p[^]*(.*)/p|Ui', $myText, $myArray);
/clip
Hey!
Thanks for replying.
Your preg_match_all works like a charm, but for some reason catches only 8 out
of 9 paragraphs... its really weird. I have upped the test page to
http://www.ezee.se/tests/para_regex2.php.txt so you
clip
http://www.ezee.se/tests/para_regex2.php.txt
Yep, sorry... Just add the s
preg_match_all('|p[^]*(.*)/p|Uis', $myText, $myArray);
/clip
Swett! It works!
If you _do get time_, would love to know the actual meaning of
|p[^]*(.*)/p|Uis
because although I do appreciate the help
Hey,
Have just started screwing around with wordpress and I must say... it has a lot
of really really nice bits and pieces... two of my favourites are widgets and
plugins... not a hundred percent certain exactly what the diff is though! :)
Anyway, was thinking it would be a great way to
Hey guys,
Just make a egreeting app and need people to just test the AJAXy upload that i
have on the form, if you have any problems please tell me.. if it goes smooth
please tell me... as usual, any comments and suggestions too would be
appreciated.
This is the form:
--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
- Original Message
From: Daniel Brown [EMAIL PROTECTED]
To: Ryan S [EMAIL PROTECTED]
Cc: php php php-general@lists.php.net
Sent: Tuesday, May 20
1 - 100 of 996 matches
Mail list logo