Thanks everyone. That's what I figured. Fortunately I know Flash, so I'll
just whip something up and integrate it with my current form.
"Justin French" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On Tuesday, August 12, 2003, at 11:26 AM,
I have created a little image manager. Mainly for personal usage but I have
a few friends that would like it as well. Anyway, the problem that I've run
into is that I can only select one file at a time using the form attribute
that I want to upload. Does anyone know of a way to
select multiple
Thanks a bunch. Problem solved.
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having a bit of difficulty getting a string to attach to itself from
an
> array. Here is the bit of code I'm working on.
>
> $wresult
I'm having a bit of difficulty getting a string to attach to itself from an
array. Here is the bit of code I'm working on.
$wresult = "";
foreach ($search_string as $word_result){
$wresult = $wresult & " " & $word_result;
}
echo ("$wresult");
Anyone see why when I run through each part of
I get all the content of file, so everything is in array 0. I need to
somehow break up the array by the comma.
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Micah Montoy <mailto:[EMAIL PROTECTED]>
on Tuesday, August 12, 2003 3:35 PM said:
You where right. I realized this a bit after I posted. I got it going once
I realized what I had forgotten.
thanks everyone for your input
"Liam Gibbs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > I get all the content of file, so everything is in array 0. I need to
> > som
I have this text file that I pull in and I need to transverse through the
file and assign each value in the file into an array. The text in the file
is separated by a comma. I was thinking of something along the lines of
explode but its only for strings and I couldn't get it to work with arrays.
No, one long file. I can separate it out any way though. Any ideas?
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Micah Montoy <mailto:[EMAIL PROTECTED]>
on Tuesday, August 12, 2003 3:35 PM said:
> I have this text file tha
I am trying to specify a single php file to contain all the variables and I
just call this file where necessary. What I am running into is that I want
to do this for all the built in functions (i.e. mssql_query) as well. I've
tried numerous attempts but can't get it to operate without wanting to
Anyone know of a way to load large groups of files using PHP at one time?
What I'm looking for is a way to select multiple files and then have them
written into a form. I can do it with individual files but not more than 1
file as I can't figure out a way to get the form Browse ability to allow
se
y = 'mssql_query';
$qryResults = 'mssql_result';
Any ideas of why it would be doing this? Everything works fine when I don't
try to use the variables.
thanks
"Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> From:
I am getting the error message
Notice: Uninitialized string offset: 7 in
c:\inetpub\wwwroot\webpage10\example\search\dsp_search.php on line 61
What it should be doing is grabbing each word specified in the search box
and compare this to the database keywords for each row in the column
keywords.
Anyone know of a way to use a variable that isn't defined until further down
the script at the top. I have a counter and once everything runs through
the script, the count is complete, I need to display this at the top above
the displayed results. I thought about and tried a function but I still
scratch this. I found an alternative.
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Anyone have an alternative to microtime that works for a windows system?
>
> thanks
>
>
--
PHP General Mailing List (http://www.php.ne
Anyone have an alternative to microtime that works for a windows system?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm having difficulty in trying to figure out a way to loop through a query
and extract the info from a single column into an array. Here is what I am
looking for. In the table, I have a column called keywords that has a
string of information that are separated with a comma. I am looking for a
w
Never mind. I found the error.
thanks
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I did my research. We'll, searched the net anyway without a solution. I
am
> getting the error:
>
> Fatal error: PDFlib error: function
I did my research. We'll, searched the net anyway without a solution. I am
getting the error:
Fatal error: PDFlib error: function 'PDF_set_info' must not be called in
'object' scope in
c:\inetpub\wwwroot\webpage10\example\utilities\pdf_maker\act_p_makePDF.php
on line 4
I read that this is becau
for me LOLjust thought
> I point out anything unusual...
>
>
>
> -Original Message-
> From: Micah Montoy [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2003 11:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] $_POST problem
>
>
> Nope. T
rds = trim({$_POST[keywords]})
>
> Hmmm. Something is up here... Never seen curly brackets used like
> this... But that would probably be normal for me LOLjust thought
> I point out anything unusual...
>
>
>
> -Original Message-
> From: Micah Montoy [mailt
IM: AAAK2
> Email: [EMAIL PROTECTED]
>
> Want reliable web hosting at affordable prices?
> www.modevia.com
>
> Web Dev/Design Community/Zine
> www.developercube.com
>
>
>
> - -Original Message-
> From: Micah Montoy [mailto:[EMAIL PROTECTED]
> Sent: Wednesday,
Anyone see what when I submit this, I can't do a $_POST on it? I check with
the DB first to see if there is a value and if so, I fill it, otherwise, it
will return a blank for the user to fill if they want.
"
size="53" maxlength="500">
On the page that it goes to when it is submitted, the post l
Anyone have an idea of how to get this to work? Its the onClick part that
wont work. I know if I pull it out of PHP it works just fine but I need it
part of the script as I have a loop that it runs under.
echo ("");
I considered and tried sending it to a js function but it doesn't like not
havi
Well, the for loop is now working but its not displaying what I want. I am
pulling data from a DB and for every new I would like to get the next
result and if it reaches more then 2 columns, to start a new row. This I am
not initally having a problem with. That is the looping. The problem I am
need to change for ($j=0: $j < 5; $j++) to
> for ($j=0; $j < 5; $j++)
>
> >>> "Micah Montoy" <[EMAIL PROTECTED]> 07/09/03 12:56PM >>>
> Anyone ever do a nested for loop?
>
> $i =0;
> $j =0;
> for ($x=0; $x < 50; $x++){
Anyone ever do a nested for loop?
$i =0;
$j =0;
for ($x=0; $x < 50; $x++){
echo ("1 to 50");
for ($j=0: $j < 5; $j++) {
echo ("less than 5");
}
}
I haven't seen a nested loop in PHP, so I'm not sure of the exact syntax.
thanks
--
PHP General Mailing List (htt
You may want to look into the fusebox methodology. It allows for single
referencing of a file and its valid on every file throughout the page
irregardless of what you add and or take away. More information can be
found at http://www.fusebox.org. It was orginially designed for ColdFusion
but they
nditionIsMet)
> {
>
> }
> else
> {
> ?>
>
>
>
>
>
>
>
> }
> ?>
>
>
> "Micah Montoy" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Is there any way to jump out of PHP script but continue loading the HTML
> on
> > the rest of p
Is there any way to jump out of PHP script but continue loading the HTML on
the rest of page?
For instance I have this conditional and if its true, I want to stop running
the rest of the script and I want the rest of the page to continue loading
that doesn't have any script.
thanks
--
PHP Gen
That worked like a charm.
thanks a lot
"Ulf Sundin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> try basename(). then just cut the extention with substr($string, 0, -4)
(-4
> if the extention is 4 characters i.e. .gif)
>
> Regards
> Ulf
>
&g
Anyone have a sure way of grabbing just the file name from a string that
looks like this:
C:/Documents and Settings/Bobo the Bugbear/My Documents/My Pictures/1.gif
I would like to pull off, just the name "1.gif" or even better just "1"
without the extension.
I've been working on:
$filevalue = s
OK. I think Imp the strange thing seeing things are and I don't think they
are. Anyway, disregard the last part about the Array. I had an echo
statement that I was using for testing buried in the code.
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
A couple more things and I'll stop bugging everyone. I'm trying to get the
file name of the string. If it includes the extension that's fine as well.
I thought the code below would do this but its not.
$filevalue = str_replace("", "/", $filevalue);
//get specific file name
$parts = explo
What may be causing this?
thanks
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> - Original Message -
> From: "Micah Montoy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 08, 2003 4:
I'm trying to understand how the code works within the preg_replace function
but the manual is just obscure as the examples are. Anyway, I am looking to
use it to replace "\\" in a string with "/" and I can not figure how how.
At first, I thought I could just do:
$filevalue = preg_replace("'\\',
I can't believe I totally overlooked that. Thanks. That solved the problem
completely.
"David Robley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > I have a select box that is filled with multiple values and when th
I have a select box that is filled with multiple values and when the user
clicks submit, it hightlights all the values in the select box and then
sends this to my PHP file.
I did a simple:
echo ($_POST["imgList"]);
to see what was happening and the only value being carried across is the
last val
;)");
$count++;
//end of loop
}
Now I am receiving the error message of:
Warning: Invalid argument supplied for foreach() in
c:\inetpub\wwwroot\webpage10\example\u_images\act_load_imgs.php on line 43
Anyone have an idea of what may be causing this?
thanks
"Lars Torben Wilson&qu
D]
> On Mon, Jul 07, 2003 at 03:28:27PM -0600, Micah Montoy wrote:
> >
> > if ($_POST["imgList"] = ""){
>
> You're *assigning* a variable in this condition.
>
> --
> Paul Chvostek <[EMAIL
Only if you are planning on using PHP & MySQL on Linux. If you are going
the windows direction, then you don't need too.
good luck
"Hiren Mehta" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do you suggests any pre-requisites before starting off with the books?
> Someone told me
gt;
> Echo your SELECT statement to make certain it reads the way it should.
> Test for number of rows returned, or an error - $result probably contains
> nothing, that is it's not pointing to an array.
>
> Miles
>
>
> At 01:23 PM 7/7/2003 -0600, Micah Montoy wrote:
>
Anyone see why this will not stop executing the script when any of the
conditions are true.
thanks
if ($_POST["imgList"] = ""){
die ("Missing information for uploading. - The Image
List is empty. Please go back and enter in at least one file.");
}
elseif ($_POST["cat_nameID"] && $_POST["new_cat
Anyone see what is wrong with this?
//get category info
$result = mssql_query("SELECT cat_id, cat_name FROM category WHERE cat_id =
'$cat_name'");
$catID = mssql_result($result,0,"cat_id"); //line 32
$catName = mssql_result($result,0,"cat_name"); //line 33
I'm getting the error:
Warning: mssql
I'm using the foreach to loop through a array that is passed from a form.
The form has a multiple select field and the field sends a list of selected
image locations (i.e. c:\\myimages\\rabbit.gif). All the fields are
selected by use of JavaScript before the form is submitted. Anyway, I am
gettin
I have this javascript that enables browsing and selecting of a file. This
file location and name are then transferred further down in the form as an
. Multiple files may be chosen as they are just added one below the
other. Anyway, when the form is submitted it is only retrieving the last
file
On the form that I am creating I allow the user to browse for a file. I
would like it that once the user selects the file, that it displays only the
file information in a on the same page. The idea is that the
user can keep browsing and selecting files and the file information
(location and name
46 matches
Mail list logo