|
Please register the component.
|
|
|
|
|
how to connect function of one php file in another php file
end
|
|
|
|
|
Hi
I need a good PHP editor for windows and/or linux
any recommendations are appreciated.
|
|
|
|
|
Hi
I am developing a software in ASP and In VB6.0 for which i need the serial number of the hard disk. I searched thru the net and i was getting the programs which tell me the Volume Number of the drive (ie c: , d: etc).[only in VB not is ASP] According to my information, this volume number changes whenever that volume is formatted. Can anybody help in getting the Hard Disk serial number which is manufacturer defined and which will not change
thx in advance
|
|
|
|
|
in ASP simply you can't
unless you use custom components made in other languages like VC++.
|
|
|
|
|
Hi all,
can anybody tell me abt a tool which will help me to download without caring firewalls.
thanks in advance
Thomas.
ThomasKennedyBose
|
|
|
|
|
On one or two servers on which I work I've found that two forward slashes (//) work as a comment in VBScript ASP pages whereas on other servers this generates an error and I can only use a single quote or a 'rem'.
Does anyone know what set of circumstances makes this use of two forward slashes allowable?
Thanks for any clues - Phil Meades
|
|
|
|
|
Forward slashes can be used as comments in javascript. In VbScript as u said, rem or single quotes will work.
Om Prakash
|
|
|
|
|
Actually what I said was that on a couple of servers that I've used forward slashes *also* work in VBScript. The spec of my machine is XP Professional, IIS 5.1, asp.dll version 5.1.2600.1106. Also with .Net framework and Visual Studio .Net installed.
Here's the code of a sample page that just works fine on my machine but not on some others that I've used:
<%@ Language = "VBScript" %>
<%
//This is a comment
'and so is this..
rem and this
Response.Write "Hello there.."
%>
|
|
|
|
|
I came up with an idea for a client side validation framework (Javascript) which would allow a programmer to quickly and easily validate any number of input elements.
What I want to know is does something similar already exist?
1) So I don't reinvent the wheel
2) So I can steal any good ideas
Cheers
How do I print my voice mail?
|
|
|
|
|
|
wicked...
That is slick
Cheers
How do I print my voice mail?
|
|
|
|
|
Hello,
i programmed a php based website for our company. Yesterday i was shocked to see that some polish hackers changed my index.php, but nothing else was touched. On their side they posted an article about this hack where they re talking about a php bug??
I took all php files from the server because i don't know wheres the security leak.
here is the code of index.php:
<br />
<br />
<?php<br />
<br />
include "header.inc.php";<br />
<br />
global $PHP_SELF;<br />
<br />
?><br />
<!--- main content ---><br />
<br />
<br />
<br />
<br />
<tr><td align=left><br />
<table width=800 cellspacing="0" cellpadding="0" border="1"><br />
<tr><br />
<td colspan="2" height="5"><img src="im/spacer.gif" height="5" width="1"></td><br />
</tr><br />
<tr><br />
<td colspan="2" height="40"><br />
<table width=800 height=100% cellspacing="0" cellpadding="0" border="0"><br />
<tr><br />
<td align="left"><?php echo"<a href=\"$PHP_SELF?lang=$lang&id=home.php\">";?><img src="im/3dswlogo.gif" border=0></a></td><br />
<td align="right"><?php echo "<img src=\"im/$description\">"; ?></td><br />
</tr><br />
</table><br />
</td></tr><br />
<tr><br />
<td colspan="2" height="40"><?php echo "<a class=linkgrey href=\"$PHP_SELF?id=home.php&lang=de\">deutsch</a><span class=linkgrey> / </span><a class=linkgrey href=\"$PHP_SELF?id=home.php&lang=en\">english</a> ";?></td><br />
</tr><br />
</table><br />
</td></tr><br />
<br />
<br />
<tr><br />
<td height="1" background="im/dot.gif"></td><br />
</tr><br />
<br />
<br />
<tr><td align=left><br />
<table width=800 cellspacing="0" cellpadding="0" border="1"><br />
<tr><br />
<td align=left height="20"><img src="im/phone.gif"> </td><br />
<td align="right" height="20"><?php echo"<a class=navi href=\"$PHP_SELF?lang=$lang&id=home.php\">$home";?></a> | <?php echo"<a class=navi href=\"$PHP_SELF?lang=$lang&id=kontakt.php\">$kontakt";?></a> | <?php echo"<a class=navi href=\"$PHP_SELF?lang=$lang&id=impressum.php\">$impressum";?></a> </td><br />
</tr><br />
</table><br />
</td></tr><br />
<br />
<br />
<tr><br />
<td height="1" background="im/dot.gif"></td><br />
</tr><br />
<br />
<br />
<tr><td align=left><br />
<table width=800 cellspacing="0" cellpadding="0" border="0"><br />
<tr><br />
<td colspan="2" height="40"><img src="im/spacer.gif" height="40" width="1"></td><br />
</tr><br />
<br />
<br />
<br />
<br />
<br />
<br />
<tr valign=top><br />
<br />
<td><br />
<br />
<table width=179 cellspacing="0" cellpadding="0" border="0" align=top"><br />
<tr><td align=right><br />
<?php<br />
echo" <map name=\"navi\">";<br />
echo" <area shape=\"RECT\" coords=\"71,257,71,257\">";<br />
echo" <area shape=\"RECT\" coords=\"147,30,147,30\">";<br />
echo" <area href=\"$PHP_SELF?lang=$lang&id=dienstleistungen.php\" coords=\"-5,6,151,78\">";<br />
echo" <area href=\"$PHP_SELF?lang=$lang&id=produkte.php\" coords=\"-5,98,151,182\">";<br />
echo" <area href=\"$PHP_SELF?lang=$lang&id=gallery.php\" coords=\"3,197,151,269\">";<br />
echo" <area href=\"$PHP_SELF?lang=$lang&id=news.php\" coords=\"-5,281,151,313\">";<br />
echo" <area href=\"$PHP_SELF?lang=$lang&id=jobs.php\" coords=\"-29,325,151,361\">";<br />
echo" </map>";<br />
<br />
?><br />
<br />
<br />
<?php echo "<img src=\"im/$navi\" width=\"179\" height=\"373\" border=\"0\" usemap=\"#navi\">"; ?> <br />
<br />
<br />
<br />
<br />
</td></tr><br />
<br />
<br />
<br />
</table><br />
<br />
<br />
</td><br />
<td align=left><br />
<br />
<?php<br />
<br />
if($id == FALSE){<br />
<br />
include "home.php";<br />
<br />
}<br />
else<br />
{<br />
<br />
include "$id";<br />
<br />
}<br />
<br />
?><br />
<br />
</td><br />
</tr><br />
</table><br />
<br />
<br />
<br />
<br />
<?php<br />
<br />
include "footer.inc.php";<br />
<br />
?><br />
any ideas??
Thanks, Mark
|
|
|
|
|
Format your code and use PRE tags.
Then i'll take a look
How do I print my voice mail?
|
|
|
|
|
|
Under most circumstances I would just ignore any post like that, but i'm curious to see if I can find the hole, so I kind of hope macmac38 updates the message.
How do I print my voice mail?
|
|
|
|
|
This has nothing to do with the security leak, but why don't you use HTML templates? Those make the script more readable, easier to read and look more professional...
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
Hello all,
in the meantime i know where the leak is.
if($id == FALSE){
include "home.php";
}
else
{
include "$id";
}
this let you include any folder you like...
you see i also can format my posting
by the way do you know any good tutorials for php and html template working? I looked a some but this looks all like much script work in the background..
Thanks, Mark
|
|
|
|
|
Hello,
I've read a book on secure PHP development. The title: Secure PHP Development by Mohammed J. Kabir
The website:
www.wiley.com/compbooks/[^]
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
Hi,
Can I use window.showmodal from c#?
Sombody help me?
|
|
|
|
|
No. That's a client-side DOM method. You can use C# to create a string that contains this method and output that in a control or page, but that's about the extent of it.
Michael Flanakin
Web Log
|
|
|
|
|
Hi,
I am trying to deploy an ASP application on Windows 2003 server. The application relies on RDS. Now in Windows 2000, I just create a virtual diretory of MSADC and it would work. Now in 2003, I am getting an error Internet Server Error: Object/module not
found. I have read that I just need to enable the web extension for MSADC, but it's still not working. There's somethign I read also that indicates that RDS has some security issues and probably fixed it. There's suppose to be a link to enable MSADC, but microsoft took it down or something like that. Does anyone know what's going on. Thanks,
|
|
|
|
|
I have a page that inserts a record into a SQL database. when on the development server and the development database this worked fine. I then moved everything to production and now it inserts 2 identical records into the database. I even tried pointing my dev code at the prod database and everything works fine. when I point the prod code at the dev database it inserts 2 records. the 2 sets of code are identical. Has anyone seen this before and if so do you have any possible solutions
Thanks,
Bill
|
|
|
|
|
Has anyone seen this before. Actually what is happening is that when I call my asp file that gets the data from the form and does the insert into the database the file is being called twice in production only once on the dev server. any suggestions.
Bill
|
|
|
|
|
Is there any code in the submit button? If yes, then does this javascript code include form.submit() statememt..?
If it does, then remove form.submit() line.
Om Prakash
|
|
|
|