|
Whats the illegal path chars in a string? and how do I replace them with something else like a _(underscore)?
Resistance is futile - Data (ST:First Contact)
|
|
|
|
|
See here[^] for Windows.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Does anyone have any experience rebuilding *nix (C) code in VS? Any gotcha's to look out for? I've downloaded Cygwin, so could theoretically rebuild it there, but I'd rather put it in my app 'natively' as it were.
|
|
|
|
|
If, by Unix code, you mean application level code, then you may be able to rebuild it under Windows without problems if it is a simple POSIX compliant program. However if it uses features of Unix that do not exist in Windows then you will be in for some rewriting. The only way to find out is to try it.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
I think there may be some incompatibilities.
(it's this[^] I'm trying to rebuild/port)
|
|
|
|
|
The web page says that it's a Windows version so what makes you think it is Unix code?
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
There is a Windows app, but the code is Unix C.
|
|
|
|
|
Without knowing what parts of the code are giving trouble it's impossible for anyone to offer assistance.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
I'm having trouble in a strange problem.Around the corner I've write page used html + css,and it feels no bad.
But when I use the technology of 'smarty',and I just make several string-replace,it looks completely awful,as the deployment of the page is mess.
I don't know why.
|
|
|
|
|
Poorly asked question.
But for your help, I will suggest you to read the code receive in your browser. see what html+css code you are receiving. If you don't understand then let us know with your code portion, then someone might be able to help you. for both firefox and chrome ctrl+u will open the source.
|
|
|
|
|
I'm so touched that you're willing to have the patience to read my poor question.
I just tried your advice,and watched the code in the browser,and got what fool things I made.
Thank you very much!
|
|
|
|
|
i am planning to do my final year project. i need some ideas am stuck guyz. Thank you in advance
|
|
|
|
|
What sort of ideas? We have no information about your skills or your interests so the best I can suggest is, choose a subject that you understand and are interested in.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Thanks for the reply my friend. I want to do software or web development. The problem is i did my internship at a networking company, so my knowledge of Web and software is limited.
I appreciate the help guyz
|
|
|
|
|
creespy wrote: so my knowledge of Web and software is limited.
So what exactly do you think we can suggest that will be useful as your project? As I said before, you need to make the decision based on your knowledge, experience and interests.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
|
Great idea, now type that into Google and start learning.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Kindly you should be going in any programming language which you interested and have mastery and control coding....Thanks
|
|
|
|
|
|
You and what army?
Bastard Programmer from Hell
|
|
|
|
|
|
I want to create a button on a php pafe like a form now after pressing this button i should load an image. Now the I have done this. when the image is appearing it's on the other page than where the button was. I want to have the button on the same page. Left hand side i have a set of buttons and pressing each button should load image on the right side of the same page. I should be able to see the button and image both. Please help me how can I achieve this. Is it possible using only php. ?? Thanks for any help.
[code]
<form method="post" action="">
<input type="submit" name="submit" value="Submit Form">
</form>
[/code]
|
|
|
|
|
When you submit the form a new page is loaded. You could make the new page look the same but with your new image embedded in it using only PHP.
Or you could load the image inside a frame or iframe by targetting the frame from the form tag.
Or you could load the image using Javascript.
Also, your PHP code appears to be loading an image using a GD function and then serving it to the browser without changing it at all - unless you are planning to draw on the image or resize it or something, this is very inefficient.
|
|
|
|
|
Hi all,
There are so many articles on the web about 'how to send mails in PHP' using the mail function. But actually it gives lots of errors for me. Have a look at the code segment I tried.
$to = "to@gmail.com";
$subject = "subject goes here";
$message = "message of the email goes here";
$from = "from@gmail.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent ";
When i try the code, gives the following error.
Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.emailsrvr.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in F:\WorkOn\PHP\MyPHPSites\emai_test.php on line 10
How can I workaround with this?
Thanks in advance.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
CodingLover wrote: How can I workaround with this?
Check why the server smtp.emailsrvr.com is not accepting your mail request. I just tested it and it hangs after the HELO command, and then drops the connection. You need to contact the site administrator.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|