|
Mmmm keeping my job...good concept! Thanks for the input, much appreciated.
:-._'¯OMNIGOD¯'_.-:
d-o-b "Ohmmm"
|
|
|
|
|
Windows I hear, costs a fortune and ASP I beleive is fairly limited without COM objects(I used it for about 3 weeks and decided to switch to PHP because hosting costs were half the price of ASP), like drawing images such as PHP's gdlib or creating PDF docs on the fly using pdflib. Each of which you may or may not have to purchase seperately from third parties. PHP I would say is more widely used and therefore there are plenty of free and not so free pre-written scripts available on the net. Possibly saving you hours and $$$ when getting your site up and running with a DB backend.
Now the problem is he wants the page to have maximum interactivity, as well as working search engines in/out of office for the customer sales reps to guide customers with.
There are so many available knowledgebases out there (heck i'm writting my 4th version as we speak) which would accomplish this very task, all written in PHP.
Like you said there are more sites running PHP then ASP, probably for a reason...MySQL is less daunting than SQL server and there are tons of books on the subject. The real trick is getting Apache, MySQL, PHP to all work togather under linux(securely). Best to just rent out a dedicated server and let someone else worry about constant security fixes and such.
Sure i'm a fan of PHP obviously, but I tinkered with ASP before I did PHP...PHP just out shines ASP in all cases. Open Source I believe has a tendancy to run more efficiently, stable and secure.
OmniGod0101 wrote:
Added: I'm big on jumping into the MICRO$OFT bandwagon, however when it comes to business you've gotta go with what you're already built for.
Avoid the darkside
Just my opinion.
p.s Hockey = php programmer for hire
Cheers
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
Hello.
I want to browser to load and play an mp3 or some other format of music on my web page .
browser - lets say IE
What is the way to do that.
Thank you in advance.
|
|
|
|
|
Please don't do that. That has got to be one of the most annoying things to do in a web page. If you really want people to come to your site, and stay, don't do that.
If you still insist though, go to this extremely annoying page to find out how to do it. MP3 is not supported by the way, so you are stuck with either WAV or MIDI or a few other formats--none of which are compressed. The reason most people don't do this is that MIDI sounds so cheezy that it's embarassing to put on your site and wav files are so large that it would take forever for a reasonable amount of audio to download. No one would ever hear it (even with broadband). Just say 'NO'.
-Matt
------------------------------------------
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
|
|
|
|
|
I would have to agree. However I had a client ask, so this is what i used :
<object id="sound" classid="clsid:05589FA1-C356-11CE-BF01-00AA0055595A" align="baseline" border="0" width="0" height="0">
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowSelectionControls" value="0">
<param name="ShowTracker" value="0">
<param name="MovieWindowSize" value=0>
<param name="FullScreenMode" value="0">
<param name="MovieWindowWidth" value="0">
<param name="MovieWindowHeight" value="0">
<param name="AutoStart" value="1">
<param name="AutoRewind" value="1">
<param name="PlayCount" value="0">
<param name="SelectionStart" value="0">
<param name="Appearance" value="1">
<param name="BorderStyle" value="0">
<param name="FileName" value="FILE NAME GOES HERE">
<param name="DisplayMode" value="0">
<embed src="FILE NAME GOES HERE HERE TOO" name="sound" autostart="true" loop="0" hidden="true"></embed>
</object>
It worked for me...
Phaed0
|
|
|
|
|
I want my JSP page to download a file, just as on hotmail attachment is downloaded when a certain file name is clicked. Plz provide me with relevent APIs /code/sites e.t.c
The problem with me right now is when I click on the hyperlink of the file name, the file is opend in the explorer but here I want to download it on my local machine.
Reply me soon
|
|
|
|
|
Problem: I need to load a whole HTML page from memory (including images and sounds) to MSHTML. Samples, that I have found in MSDN Library (and on this site), only describes how to load HTML text.
Sorry for my english...
|
|
|
|
|
Try the VC++ forum instead.
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
How to link to a ip address
For example iam trying to cerate a link to 193.1.181.12
The webpage iam trying to link to it doesnt have a usual name like www.whatever or server.whatever it is got by typing in the ip address in the browser.
So in my web page i want to greate a link to that site
I have tryed the usual way
href="193.1.181.12"
But the page cannot be found
any suggestion ?
Reguards
Stephen
->->->->->->->->->->->->->->->->->->->->->
"Police arrested two kids yesterday, one was drinking battery acid, the other was eating fireworks. They charged one and let the other one off."
Tommy Cooper
|
|
|
|
|
You'll need to add the protocol as usual, so http://193.1.181.12 pr ftp://193.1.181.12, etc.
David Wulff
"i said no to noddy like 20 times but in the end i just couldnt say no to him anymore" - Wishful Thinking
|
|
|
|
|
Thanks David
I forgot to put the http://
Reguards
Stephen
->->->->->->->->->->->->->->->->->->->->->
"Police arrested two kids yesterday, one was drinking battery acid, the other was eating fireworks. They charged one and let the other one off."
Tommy Cooper
|
|
|
|
|
hi
try to use http://ipaddress
hi
|
|
|
|
|
I design a webservice with c#,
this webservice have some [WebMethod(EnableSession=true)]'s method
but when I use it with c++,Session lose
why?
thanks, codeproject
|
|
|
|
|
HI all,
I have been using the ASP pages all the days kicking my Windows 2000 PC. And came a bash. The ASP coding are going to be handled by some one and I am asked to see the posibilities to coverting/creating new site(s) on PHP version.
I really know NOTHING on PHP. So putting down myself here and am asking some following...
where soes PHP runs?? (ASP - IIS @ Win 2000)
database support ?? (ASP - I use MS access, SQL server)
other basic difference from ASP??? (coding, functioning, scripting)
Please help
I was born intelligent Education ruined me!.
|
|
|
|
|
SPS wrote:
where soes PHP runs?? (ASP - IIS @ Win 2000)
Normally on Linux under the Apache web server.
You can run PHP on Windows, however it is not highly recommended.
SPS wrote:
database support ?? (ASP - I use MS access, SQL server)
Any ODBC database. Most common database to use with PHP is MySQL.
SPS wrote:
other basic difference from ASP??? (coding, functioning, scripting)
The concept (Response/Request and Server) are the same. Syntax is obviously quite different.
Visit PHPBuilder.com[^] for more information. I recommend that whoever told you to do PHP should look at their reasoning more closely as it seems they are just grabbing at open source buzzwords.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
Paul Watson wrote:
You can run PHP on Windows, however it is not highly recommended
Is there anything that 'doesnt work' under windows??
Paul Watson wrote:
Syntax is obviously quite different.
No problem.
Paul Watson wrote:
I recommend that whoever told you to do PHP should look at their reasoning more closely as it seems they are just grabbing at open source buzzwords.
The simple reason my boss (non-tech guy) gave made me laugh/cry.... "I saw many sites with PHP files rather than ASP files. So we MUST change to PHP." Fortunately/unfortunately our secondary web hosting company offers PHP too.. Then we had a meeting... finally some snacks/tea... Oops... WE WILL CHANGE TO PHP.
This is how PHP idea was take up..
I was born intelligent Education ruined me!.
|
|
|
|
|
SPS wrote:
Is there anything that 'doesnt work' under windows??
I don't know. Saying that though don't confuse PHP the language with the various PHP modules you can get. Like with ASP, VBScript would be the language and the FileSystemObject would be a module. When running ASP on Linux (using ChiliSoft or similar) then I suspect that the FSO object would no longer be available (as it is a COM object, Windows only.)
So probably 100% of PHP works under Windows, it is just some of the common libraries/modules for PHP that may not work.
Anyway you probably shouldn't run PHP on Windows, if anything then for the reason that you will loose all the cost savings of a Linux host
SPS wrote:
This is how PHP idea was take up..
Wow. That is rather bad. If I were you I would take a formal position on why this is a bad idea up front. They won't listen now, but when the project goes FUBAR your fears will have been stated and they can only blame themselves.
Paul Watson Bluegrass Cape Town, South Africa
Macbeth muttered:
I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er
Shog9:
Paul "The human happy pill" Watson
|
|
|
|
|
Paul Watson wrote:
is just some of the common libraries/modules for PHP that may not work.
I haven't had any problems yet (unfortunately my el-cheapo host is linux so my only choice is PHP....or Perl ).
The only thing that doesn't work at all under IIS (and only works in certain configurations of Apache) is using the basic authentication headers and tying that into your PHP script.
Except for that I have had no problems taking code I've written/tested on my XP laptop with IIS 5.1 and running it on my linux with Apache host, going the other way has worked well too.
James
"It is self repeating, of unknown pattern"
Data - Star Trek: The Next Generation
|
|
|
|
|
James T. Johnson wrote:
I haven't had any problems yet
Thats good...
James T. Johnson wrote:
Except for that I have had no problems taking code
I have win 2k here, I guess I will face less problems to enter PHP
I was born intelligent Education ruined me!.
|
|
|
|
|
Paul Watson wrote:
So probably 100% of PHP works under Windows, it is just some of the common libraries/modules for PHP that may not work
This was quoted by someone too. That increased the PHPs prescence. BTW, some ppl suggest me to install appache server, PHP etc etc. I am not clear about the things to install and get enough with my WIN 2K machine. What would you suggest??
Paul Watson wrote:
when the project goes FUBAR your fears will have been stated and they can only blame themselves
NO fears as this goes as a long term/less priority project. But... this can a better learning for me too...
I was born intelligent Education ruined me!.
|
|
|
|
|
Personally, I agree with Paul...
This is why IT Managers exist. They are supose to make decitions like this (ASP vs PHP).
But if the servers are running on a Win environment I also strongly recommend not to change to PHP...
Ideal platform for PHP is Linux, Apache, MySQL.
All free, work together ok.. but a nightmare to configure them properly and efficiently...
And... PHP syntax is 100% different from ASP. It is going to be hard work to convert the code from ASP to PHP. You cannot convert. You will have to REWRITE from scratch in a completely different language...
On the other hand, PHP is powerfull and fun to code once you understand it.
Good luck!
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
theJazzyBrain wrote:
On the other hand, PHP is powerfull and fun to code once you understand it.
Thanks a lot.
theJazzyBrain wrote:
You cannot convert. You will have to REWRITE from scratch in a completely different language
I guessed so... Thanks
I was born intelligent Education ruined me!.
|
|
|
|
|
All the days, I was working with the MS Access database for my Web application wiith my ASP pages. Now the boss prefers to go for the SQL server, which I know nothing of it. Will there be ANY changes in the commands or operations with respect to the change.
What are the things I should take care of?
I was born intelligent Education ruined me!.
|
|
|
|
|
I am not much of a Web Developer but code in C# and there is nearly no difference between the interaction of Access and SQL, the statements are about exact. I use to love Access but since I have use SQL for the last 7 months I will never go back to Access unless I have no other choice.
Hope you come right, I am sure you will see the benefits in SQL just like I did.
Cheers,
Leon v Wyk
|
|
|
|
|
Leon v Wyk wrote:
I am sure you will see the benefits in SQL just like I did
Sure... thanks
I was born intelligent Education ruined me!.
|
|
|
|