|
suthing wrote:
I just want to get the row index in the result of a query.
If you're using one of the mysql_fetch_* routines, just keep a running counter as you fetch each row.
I apologize if this doesn't answer your question; the question still seems a bit vague.
- Mike
|
|
|
|
|
Is it possible if i wanna append xml data and upload picture at a same time using the same form?
The problem i'm facing now is, when i add the 'multipart/form-data', i can't append the xml data
I know there's one solution, using 2 FORM but the project i'm doing now is designed to be put them both (file type for upload and textarea for append) together
Besides, i have no idea how to encode or decode the posted data
|
|
|
|
|
anybody any ideas how to stream media? (sthing like a webradio)
any articles on this topic?
thanks in advance,
bernhard
"I'm from the South Bronx, and I don't care what you say: those cows look dangerous." U.S. Secretary of State Colin Powell at George Bush's ranch in Texas
|
|
|
|
|
You might find some info here[^]
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
or in other words Web-Based WYSIWYG HTML editor?
Does such a beast exist?
I've found this: [^] but is is a VERY basic layout..
Anyone seen anything like this in their travels?
~Mike Stanbrook
|
|
|
|
|
ASP.NET Web Matrix[^]?
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Thanks, but not quite what I am looking for.
Picture this scenario. You are hosting a website for a client. Nothing too fancy. They have the capability to visit the administration url for their site, giving them a web page that allows them to modify the layout/content of their hosted pages.
Something along the lines of the "PageBuilder" offered by (GeoCities[^]) is what I am interested in.
~Mike Stanbrook
|
|
|
|
|
|
do WAP diddy WAP do.
Anyway, I'm mulling over creating some WAP-enabled surfing on my site. I haven't really done much beyond think about it, to be honest. Has anyone created WAP content before? Is it a big can o'worms I'd be opening? Or essentially a matter of creating a couple web pages on a server that can handle the protocol?
Thanks.
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
I think you will find it to be easy enough. There are some things to consider first. Remember that the user must download the content to their phone so you want to be sure that you are not giving them a huge mess of info that will take 2 minutes to load.. lol
But seriously with the newer browsers and screens there is a lot that you can do.
this should get you started.
http://www.w3schools.com/wap/wml_examples.asp
good luck
Will
|
|
|
|
|
Thanks, I'll take a look.
"Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao Tzu BW
|
|
|
|
|
now this is a REAL BIG problem
i'm using window XP (hope this is not the reason)
i cant create a file in my computer but it works on my school server
**********************************************
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set OutputXMLFile = fso.CreateTextFile("c:\xx.htm",true)
**********************************************
everytime i run this method my IE hang(???)
so, is it my IIS configuration problem or else
|
|
|
|
|
Might not be the problem but its a common mistake to forget to set permissions..
Are you sure that you have permission to create a file?
To be honest, It should come up with an error, not crash...
Hope you sort yourself out...
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
I had the same problem with XP
check this[^] .. it may help you
|
|
|
|
|
I'm using Norton Antivirus
so i just turn off the 'script-blocking'
hope it helps u too
|
|
|
|
|
can anyone tell me how to find out if user input from prompt, is an integer or a string?
|
|
|
|
|
Try something like this:
if(isNaN("test"))
alert("not a number");
HTH
Cheers,
Simon
sig :: "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
article :: animation mechanics in SVG picture :: my first abstract photo
|
|
|
|
|
|
Please tell me wat's wrong with the code below
I'd try both way in the asp file to delete the childnode in xml but it couldn't work
*** News.xml ***
-------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited with XML Spy v4.2 -->
<News>
<Article>
<Head>Test 1</Head>
<Des>Testing 123</Des>
<Date>1/9/2003</Date>
</Article>
<Article>
<Head>Test 2</Head>
<Des>Testing 321</Des>
<Date>1/9/2003</Date>
</Article>
</News>
-------------------------------------------------
*** file.asp ***
-------------------------------------------------
<%
If Request.QueryString("Action")="Delete" Then
Dim strID
Dim objXML
Dim subArticle
Dim objLst
Dim subLst
strID = CInt(Request.Form("selectAnnouncement"))
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.Load(Server.MapPath("News.xml"))
**** 01 ****
Set objLst = objXML.getElementsByTagName("Article")
Set subLst = objLst.item(strID)
objXML.documentElement.removeChild subLst
**** 02 ****
'Set subArticle = objXML.documentElement.childNodes(strID)
'objXML.documentElement.removeChild (subArticle)
Set childNode = Nothing
End If
%>
-------------------------------------------------
|
|
|
|
|
I don't test your code, but it sounds good... except that you do not save the document at the end of your fonction!
|
|
|
|
|
yup, i didnt save the document, thanks alot
|
|
|
|
|
I want to add a Hit Counter component to my web site ,I can add and use it when it is located in my IIS but when I upload it, it does not work,in the tag of this component ,there is a path to my file: F:\wwwroot\.....\filefolder,I can't change this value because front page does not save it and change it to its default value each time I click save,I think I have to change it to something like www.mysite.com.Anybody know how can I use this component?
Mazy
No sig. available now.
|
|
|
|
|
Having a little problem with use strict
I have the following in my script:
<br />
my @CONFIGURE = &read_config;<br />
...<br />
<br />
for($var)<br />
{<br />
/add/ and do(&comment_add(\@CONFIGURE); last;};<br />
...<br />
}<br />
<br />
sub comment_add<br />
{<br />
my $CFG = @_;<br />
my $displayfile = $CFG{'entriespath'} . $q->param("Entry") . '.blg'; **problem line
...<br />
}<br />
but get the following error:
"%CFG" requires explicit package name
I don't understand how that package is undefined.
Can someone clarify what I'm screwing up for me, please? Thanks.
let the whole world look in who cares who sees anything
BW
|
|
|
|
|
Nevermind....
let the whole world look in who cares who sees anything
BW
|
|
|
|
|
I know it is possible to print in javascript by using "window.print();" what I would like to know is, is it possible to open the print dialog and automatically set it to a certain setting.
what I'm trying to do is open the print dialog set to landscape - since the page looks better that way, but I would like the user to not have to select landscape (since I cant expect them to know that it looks better that way).
if anyone can help me with this it would be greatly appreciated.
|
|
|
|