|
Bradml wrote: You can't show images in CP
Since when? I have seen images at blog pages of members at CP, say before a month or so. Since when is this restriction imposed?
|
|
|
|
|
For ages I think.... Most people use divs (eg. Captain See Sharp)
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Bradml wrote: For ages I think....
Not really. I have seen images in the Blog pages of cp (many members.. for eg., Michael Dunn) and I see even those images are disabled now. I am talking about the time, say a month ago. I tried it with div also... I am unable to show image. Captain See Sharp is using ascii characters, the C# signature of him is just text. Not an image, if you were referring to that. So, there is no way I can show an image, at my CP blog page
|
|
|
|
|
Hello firends,
i m generating DOC file from ASP. But still i m faceing a problem.
if my asp page contains images then how can i bind that imgaes with that DOC.
bcoz if i download that doc & cut it & past it another location, images should be displayed.
pls help me
Thanks,
Ankur Bakliwal
|
|
|
|
|
I think you should learn how a DOC file encode the image first. Got what I mean?
-----------------------------
1.99 $ for a million email addresses - the cheapest price in the world.
Check http://luvit.bravehost.com/ for detail
|
|
|
|
|
Hi guys,
Could some one help me out? I have a datagrid where one Row is for
selecting from radiobuttonlist of too, one has to be chosen. When it's
chosen it is stored in the database and appears to the datagrid after
the insert button pressed. But now I have two images that are supposed
to correspond each of the radiobutton. I made them visible="false" but
I want when one selects one radiobutton the corresponding image
appears along: Visible="True". How could I go about this?
Thank you
|
|
|
|
|
Hello friends,
i m trying to export the data from my page to DOC.
i m doing this successully.
but there's a poblem.
when i m trying to open it in MS Word, its asking me to open in which mode
1. Plain Text
2. Encoded Text
3. HTML Document
4. ..
.. and so on
i want that the doc must be open in HTML Documnt format.
what should i do???
It should not ask that type of think, it should open in HTML Documnt format directly.
its very unrgent ...
pls
help me
Thanks
-- modified at 8:03 Thursday 8th March, 2007
Thanks,
Ankur Bakliwal
|
|
|
|
|
Select the 'HTML Document' option then.
|
|
|
|
|
Hello friends,
i m trying to export the data from my page to DOC.
i m doing this successully.
but there's a poblem.
when i m trying to open it in MS Word, its asking me to open in which mode
1. Plain Text
2. Encoded Text
3. HTML Document
4. ..
.. and so on
i want that the doc must be open in HTML Documnt format.
what should i do???
It should not ask that type of think, it should open in HTML Documnt format directly.
its very unrgent ...
pls
help me
Thanks
-- modified at 8:03 Thursday 8th March, 2007
Thanks,
Ankur Bakliwal
|
|
|
|
|
Maybe you:
a. have the wrong extension
b. Have not encoded it properly
c. Have made a very small mistake but neglected to give us enough information to answer you more precisely.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
There are some funny tags that Word adds to its HTML files to specify them as belonging to Word. Create a dummy Word file and save it as HTML then take a look at what meta tags it adds (or any directives at the top of the page)
|
|
|
|
|
Hi All,
I need to calculate Age from today's date in the specific format:
Today's Date: 08/03/2007
BirthDate: 16/11/2005
Age: 01 yrs 03 months 20 days
It should consider leap year also.
Thanks in advance...
|
|
|
|
|
varshavmane wrote: I need to calculate Age from today's date in the specific format
Ok. So, what's your question?
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
This is growing tiresome isn't it....
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
|
Hi....
To All....
I have face One Problem in asp.net 2.0 with C#.
I have developed one registartion page in which there is one Text box control.
So i have to check this text box control with data base data when user enter the data without post back.
for example::
when user enter the "email id " in text box control and if there is same email id in data base then user has propmt that "email id " is already there without post back of page
with regards
Lad Ashish
|
|
|
|
|
You must post back unless you want to download the entire list of emails to the browser which would take up a lot of bandwidth and be a privacy concern.
Your best approach would be to use AJAX where the postback takes place without disrupting anything else on the page.
|
|
|
|
|
Hi there,
I am trying to check that if the file is already there in a folder of ftp or not with following:
file_exists("ftp://ftpUserName:ftpPassword@ftpAddress/ftpUploadFolder/folderName/fileName.doc")
but I can not get the result and the same for 'filesize()' function.
If you know the way then please tell me.
Thank you in Advance.
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my question is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
Those functions mainly will only work on the local file system. You can use the:
is_readable('LOCATION');
function which should work for FTP but other than that you may need to use the PHP functions to determine the size.
Brad
Australian
- Captain See Sharp on "Religion"
any half intelligent person can come to the conclusion that pink unicorns do not exist.
|
|
|
|
|
I wrote following code in php :
$uploadDir = "ftp://$ftpUserName:$ftpPassword@$ftpAddress/$ftpUploadFolder/$folderName/$fileName";
if(is_readable($uploadDir))
$msg = "$fileName is already exist. Your File is Not Uploaded";
else
$msg = "File Uploaded";
I am uploading a file that is already exist yet it is showing me the secons message that is "File Uploaded"
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my question is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
Try using the built in FTP functionality then, this is what it is meant for.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Even I used is_file("fileName") function too but the result is not proper.
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my question is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
Ok here is what a quick toss around of ideas in my head brought up:
$fileList = ftp_nlist($con, "/upload/Directory/etc");
if(in_array($fileName, $fileList)){
echo 'File already exists!';
exit();
}
Last modified: after originally posted --
Brad
Australian
- Bradml on "MVP Status"
If this was posted in a programming board please rate my answer
|
|
|
|
|
Guys,
First I used the event OnChange on an INPUT/text object. This one only fires when you move the focus away from the field and our client wants the application react immidiately. I found the onKey Up/Down/Press events, but apparently only the onKeyPress seems to work. This is however also not exactly what we want, because it only fires if you type a second character.
Do I need to do something special when using the onKey Up/Down events? They don't seem to fire...
Many thanks!
V.
I found a living worth working for, but haven't found work worth living for.
|
|
|
|
|
If you want the application to react immidiately that you need to use javascript. I don't know if that is an option for you or not. If you are already using javascript I am not sure why it isn't firing right away with the first character.
Ben
|
|
|
|