Scripting In Linux, Development In Windows...
This isn't really a major question but I wanted someone else's view on this. I do web developement and find it a lot easier to do the designing part (colors, graphics, layout) on a windows box and to do my scripting (php,MySql) on my linux box. Now, this can be rather annoying due to booting every time I want to create a new layout since my primary OS is linux. Well, I just wanted to see what other people had to say about this.
View Complete Forum Thread with Replies
Sponsored Links:
Related Messages:
Windows Scripting Host
I have recently installed PHP5 on another PC without any problems, but my own PC has PHP4 installed (with php.ini in C:Winnt). I'm wondering if there is any basic advice as to the next step to take as regards upgrading to PHP5. Does anyone here have experience with using PHP within the Windows Scripting Host. I managed to get PHP4 working with WSH (after spending two days tracking down php4activescript.dll ). I'm not sure how the system all hangs together, so I'm not sure how to keep PHP and WSH still going after an upgrade (apart from downloading php5activescript.dll ).
View Replies !
View Related
Mhash Functions For My Windows Apache Development Server
I'm trying to set up a web page for credit card transactions and baffled trying to find a download for mhash functions for my windows apache development server. The real server supports mhash but I can't test it on my localhost system. php.net points me to http://pecl.php.net/packages.php where I don't see it in plain english, googling around it looks like this may be it: http://sourceforge.net/forum/forum.php?forum_id=585348 but it's short on giving me a clue.
View Replies !
View Related
Linux Or Windows
i am an experienced php programmer with almost a dozen sites to my credit, of late i've gotten onto 'c' programming on Linux and also a little bit of GUI coding using GTK+... as we all know, microsoft is in the process of releasing its .NET software, having a look at these white papers will make even the most hardcore linux enthusiast sit up and take notice..man....they are coming out with good products..... Combine this with the ease with which one may generate apps in VB..god will microsoft win finally ?? I mean that whats the scope left for Linux programmers if Microsoft is the next big thing in internet computinfg ??? also are there any Linux companies that will be able to combat this juggernaut ?? Please giv me valuable comments...is it an unwise thing to get into Linux programming when VB and VC++ would be a better option ?? Lets all not be gung-hoin our love for linux...but lets ask ourselves whats the better option ??? Well...i luv linux too but if Windows could earn me bucket loads of money...why not switch to that ??
View Replies !
View Related
Windows PHP VS LINUX PHP ?
My code works fine on linux, but if i switched to windows, it messes up. I see some error messages, all msgs have something to do with undefined constant. I use Apace 1.3.14, php 4.0.6 loaded as module, and I think my mysql is 3.22.21, I'm not quiet sure. Running WindowsME.
View Replies !
View Related
Windows Or Linux
I'm getting a host soon, and I'm wondering if it makes a huge difference, if at all, to develop on one OS or the other. Right now I'm using Windows XP but my computer is partitioned and I can use Linux.
View Replies !
View Related
Windows To Linux
I developed my php codes in windows based wamp, and now I was told to move to linux server. I think php by itself should not be a problem, but what about handling files is it the same as for windows. Like c:parentlablaimage.jpg.
View Replies !
View Related
Difference Between PHP On Windows And Linux
I just got promoted at work from sales to web developer. We have a ton of projects planned including a new CRM from which a lot of our internal tools will be based. My boss despises Microsoft and we primarily use Corel Office products including Paradox for our current CRM. He's been developing in it for years and can make it dance. However, it is straining under the current load and it is clear that its life expectancy is quickly coming to an end. We will be phasing that out as we build web-based tools but it will be around for a while in some capacity as our migration away from it will be a gradual one. For a while I'm sure the two will be used in tandom as we continue to develop our infrastructure and transfer functionality from it to a new CRM. I will be developing in PHP/MySQL. I also will be using some Perl for cron jobs and other tasks. There will be a lot client-side programming (shouldn't be a factor for this discussion) but all of the apps we have planned will be database driven and there will be over 1 million records (probably closer to 1.25 million) when we actually deploy our tools. Anyway, I was debating which platform I should use to build our tools on as my boss prefers Windows as he is completely Linux clueless. However, I have only ever developed on Linux/Unix platforms. Whatever I chose now will affect everything I build from here on out so I want to make the right choice the first time. So my questions are as follows: 1) What are the main differences running PHP (and MySQL for that matter) on Windows versus Linux? Any benefits or pitfalls? Missing functionality? 2) Should I install Apache or use IIS? 3) Our CRM will be generating a ton of documents which will need to be printed. Is this easier on Windows or Linux? I've heard that a lot of developers use Crystal Reports to generate documents. We do have Version 9 if that matters (although I am aware it only works on Windows). I also have little idea how printing is done so any input on that would be wonderful. 4) What would you chose and why?
View Replies !
View Related
Includes On Linux And Windows
I have a program that performs an include("/home/xyz/includes/common.php"); I do this so the include file (which contains database login information) is outside of the web root directory and (hopefully) invisible to anyone who might get into the website. On my home PC running XP and Apache, my PHP.ini include_path is set to ".;d:xamppincludes" and under this directory I have the directories "homexyzincludes". This worked fine when running on my old system using PHP 4.2.2. I recently upgraded to the latest version of Xampp running PHP 5.0.5 and I now cannot access the include files on my XP system. If I change the include to remove the leading "/", it works fine - but will not work on Linux. I understand that this used to work on older version of Win32 PHP but has been changed. Is there a way to issue an include that will work on both Linux and XP under the more recent versions of PHP?
View Replies !
View Related
Windows Server To Linux
I have the code below which worked fine when I was using it on my windows server. However I had a few problem with the windows server then I had to switch to a Linux based server. Once the switch was completed I started having problems with a number of my codes which worked fine previously. I have managed to solve quiet a few of them with the exeption of this one which I cant figure out and was hoping you could help. Code:
View Replies !
View Related
How To Run Windows .exe In Linux Environment
My problem is, as stated, how i want to run a windows .exe in Linux Environment? I has a task, which require to use a windows .exe to generate a result file, and until now, i has success on generate the result file (i do it on windows XP environment using command prompt). Now, i want to embed this functionality (i.e generate result file) into my website. I am using php, and i think there should be no problem if the environment is Windows Server 2003 or others windows server environment (just using exec() provided in php will work, correct me if i am wrong). But unfortunately, i am using Linux as OS environment. Code:
View Replies !
View Related
Specifying Paths In Linux/Windows
I develop my scripts on a Windows platform but run the webs on a Linux server. I'm new to PHP and admit that I get in an awful mess when trying to specify paths in general scripts that might be called by pages in various folders. I would like to use a configuration file in each script that will extract/set the root path for the site, depending upon whether it is on the Windows platform or on Linux.
View Replies !
View Related
Portability Of From Windows To Linux
I am new to the open source environment. We have to develop a web application using Apache/PHP/MySQL on Windows (A component that we want to use is available only on Windows for now). Later when the component is available on Linux, we would like to move the code. The web application is a simple one - collects data, does some simple validations and stores in the database. I would like to know how portable the code will be. Do we need to rewrite a lot of code when we move from Windows to Linux? What are the issues I need to be aware of?
View Replies !
View Related
Windows ODBC From Linux
I want to connect to an ODBC data source on a Windows XP machine from PHP on a Linux machine (over a LAN). I assume I need to do: Code: $odb = odbc_connect("ODBCDSN", "name", "passwd") ; I don't know what format to code that ODBCDSN in order to refer to a resource on another host on the network.
View Replies !
View Related
Case Sensitive Linux And Windows.
I have 2 php setup, one 'live' and one windows for testing. But as you no windows is not case sensitive, whereas Linux is. Is there a way, (apart from switching to Linux), that i could set windows to be a bit more strict? Sometimes when developing i forget and only realize when i run the install.
View Replies !
View Related
Apache,MySql,PHP On Windows Vs. Linux
Crazy (possibly dumb) question here... I have a site running apache, mysql, php in a Win2K environment. Primary development is that env also. I also am setting up a linux box (old laptop), to begin playing with Linux. I'd like to set it up similiary with apache,mysql, php. If I do that, and start doing some development there (Linux box) - can I expect that when I move the php code to the windows box that it will behave similarly as it did on Linux? Anything to watch out for? I'm completely new to Linux...
View Replies !
View Related
Windows PHP Connect Into LINUX Server
I want to built a windows php website---> connect to the linux box--->read all settings value from the .ini files->display it into the php website->user can then change the values->save the .ini file base on the user modification close the file-->for back up reason of settings, also save the values into SQL database. I also need to reboot the linux box after apply changes to the .ini. Anyone knows how to approach this problem? What do I need? Does php have a built in ssh?
View Replies !
View Related
Coding For Windows To Upload To Linux
I'm trying to remember what code I had that would work on a Linux server but not on my apache php mysql install on a Windows machine. Does anyone know of instances of this? Someone I know doesn't believe that this is the case because they believe that php is truly cross platform. I realize that for most code it does work on Windows and Linux but I think there are exceptions that need to be noted.
View Replies !
View Related
Windows / Linux MySQL Script Issues
My scripts work fine on my linux box at work, but when I move em home, they still work fine but at the top of every page i get this message Warning: Cannot send session cookie - headers already sent by (output started at c:apachehtdocs ussell ealestate es_det.php:6) in c:apachehtdocs ussell ealestate es_det.php on line 9 Warning: Cannot send session cache limiter - headers already sent (output started at c:apachehtdocs ussell ealestate es_det.php:6) in c:apachehtdocs ussell ealestate es_det.php on line 9 Is there something you have to change/add in PHP scripts working with a MySQL db in windows?
View Replies !
View Related
Com Ports Windows Machines With Linux Served PHP
I built a nifty code set that took a reading from a scanner and fed it into a database... this worked great, until I found the server was Linux (Ubuntu) and the code I was using would not co-operate on that. Is there any way to open the browser and click a button, having the local machine access it's com port 1 and read data from the device connected before feeding that back to the central database?
View Replies !
View Related
Remote Linux Commands From A Windows PHP Server
I'm running a Windows webserver and I would like to use PHP to connect to my linux box (non-webserver), send it commands (change directory, run commands, create files, etc) and files, and be able to get files back that it created on the linux box. The linux machine has ssh/sftp (with password) access, so is there a way for me to connect through ssh without installing extension libraries and run commands etc? I've searched through the forums and haven't found anything that is my particular situation.
View Replies !
View Related
Compile Oracle Support On Linux For Windows
I'm trying to help a local non-profit organization tie in their online credit card donations to their existing vendor software, which uses Oracle 8i (8.1.7) on windows. Does anyone have any pointers on 1) how to compile oracle support into PHP, not having a linux version of Oracle, and 2) creating remote connections to Oracle.
View Replies !
View Related
Timestamp Insert Issue: Windows / Linux
The DBMS can optimise for COUNT(*) in ways that it can't for COUNT(<field>) - it doesn't need to look at any fields, for example (and so uses fewer resources). If my table has a field named id that is primary and auto incrementing in MySQL, it is still better to use COUNT(*) instead of COUNT(id)? Do you also believe this is true when using SELECT (SELECT * instead of SELECT id, name)?
View Replies !
View Related
Capturing A Display On Remote (linux) Server From (windows) Web Browser
I've a utility that runs on a linux machine. Basically, it opens a window, draws a figure and captures the image (screen) and stores it as a jpeg file. The utility requires a window to be open (or displayed) inorder to save the image. Also, this utility is in the form of an executable, so I can't possibly alter it. I want to run this utility from a windows web browser and display the saved jpeg file. I pass some command line parameters to change the figure it draws. The php code I use is as below: Code:
View Replies !
View Related
PHP Pages Display In All Windows Browsers And NO Linux Browsers!
OS: Windows XP, Windows 2000 OS: Linux Red Hat Enterprise Level 3, Fedora Core 3 Browsers: Firefox 1.0, IE 6.1+, Mozilla, Konqueror We are working on an internal website that is to be used as an intranet. This page goes through an initial SSL layer after asking for certificate acceptance, once you acccept the page should pull up. And here is the problem: It pulls up under any browser within Windows; it never pulls up under any browser within Linux. This includes Firefox; it's fine in Windows/Firefox but locks up cold in Linux/Firefox.
View Replies !
View Related
"Windows & Linux"
When I look at php_info(), it tells me I'm on a Linux system, but I am actually on windows. I also can't find the php.ini from the path displayed because I'm on windows. Any ideas?
View Replies !
View Related
Web Development
where I can get a tutorial so that I can test my webpage, using a home server, I know I need MySQL, Apache and php, but i'm finding it difficult to get them all working together. I want to be a able to test it first, mostly without having an internet connection.
View Replies !
View Related
PHP Scripting
Two things people. Firstly: feed back form, I need the php page to send me the reply via email whilst masking the email address and for the feedback form to return the user to to the previous page? Secondly: how could one create a php script so that it links a flash files' submit to php which in turn passes the data to MySQL database?
View Replies !
View Related
DOM Scripting
I'm trying to do some DOM scripting with php generated mark-up/nodes and I know that you cannot really do anything with (DOM) dynamically generated nodes (other than create or destroy them) and I think I'm begining to find that the same is true with db generated php content/markup/nodes. Has anyone been able to successfully manipulate php generated content without generating it into hardcoded block elements for later manipulation with DOM scripting.
View Replies !
View Related
Scripting Course
I am a university student that is taking a web scripting course, with a piece of coursework that I have just failed, miserably I might add. I have the resit due in for December, which I haven't yet got but am expecting soon. I am looking for someone that is willing to help me go through the original piece of coursework that I had and help me understand it better. I think that is mainly trying to understand what my lecturer was looking for me to deliver. The coursework is basically wanting 4 pages that incorporate PHP/SQL, Javascript and XML. Please please please someone help me go through the original piece of work so I am better prepared and have more chance of passing the resit in December.
View Replies !
View Related
Web Application Development
I was reading about web application developement in php. One of the key points said to have a sound directory structure for functions, db connections, headers, footers etc. Is there a methodology that goes along with this that aids in the creation of a web application? And where are resources that i could refer to , in strengthening my skillset in app devleopment?
View Replies !
View Related
IDE For PHP/mySQL Web App Development
I may be overlooking something really obvious here, but is anyone aware of any piece of software (that runs on Linux, Mac or Win2K) that is similar in functionality to Microsoft's InterDev/SourceSafe/MSDN packages, but interfaces with an Apache server (under Linux) that's utilizing PHP/mySQL rather than ASP/SQL? The only thing close to what I'm looking for is KDevelop (part of KDE), but that's primarily for C++ developers, from what I can tell.
View Replies !
View Related
PHP In Local Development
i got this error: Fatal error: Failed opening required 'mainfile.php' (include_path='c:php4pear') in d:PHPWEBmyPortalmodulesSearchindex.php on line 19 im doing a local development for testing my php mysql codes. in my little knowledge, i think the error is in the configuration of the php but i don't know exactly how to fix this.
View Replies !
View Related
PHP Site Development
I would like to redesign my existing site into php using classes. I am not the most experienced developer with PHP, and would like to know if anyone can give me some input on a starting point for a class library. Basically, the idea is to have as much of the content served dynamically, using a mySQL database. My catalog site has grown to over 1,100 pages, and is continuing to grow. It's getting ridiculous to keep performing manual updates.
View Replies !
View Related
Application Development
Well I am new to PHP but am an experienced asp and .net developer. I have had the desire to learn php since I have been studying more and more on linux. However, currently I am running most of my items on windows due to some app requirements. I have assigned myself a project for my uncle to help solve an invoicing issue. He is not very computer savy and I get tired of troubleshooting invoicing applications that I can't fix. Since he has a spare old computer that would work great as a server with apache, php, and mysql I have decided to write a web based invoicing application. My main question comes about how php can be used to design a full fledged application. Mainly something to relate to my current skillset with the microsoft world. For example with asp.net you have to set the folder to application scope on the server through internet information services. Is there a way in PHP to create application global variables or does this need to be done through some ini or config file. I can pick up on the coding fairly quickly plus I have a coworker who is familiar. I am just trying to get an idea of how I should plan the application before I start coding so I have an efficient and swift app. And from my experience variables and session management can play a huge role in this desired result.
View Replies !
View Related
New CMS Development Team
We are currenlty involved in the work of a new CMS. We are seeking highly motivated individuals who know PHP but who are maybe looking for the experience required for that dream job. Because this CMS would be released free of charge we need volenteer evelopers. Its a great way to get experience for future jobs that are paid.
View Replies !
View Related
Intranet Development
I'm looking to start creating an intranet for the company that I work for, but I have little experience in creating such a system. It is something that I would like to learn a lot more about though. so I was wondering if a) it is possible to create a safe and secure intranet using PHP/MySQL and b) which resources (books, tutorials etc) you guys would recommend for learning more about intranet development.
View Replies !
View Related
PHP Development Tool
I'm used to VisualStudios and ASP.NET, but am having to learn PHP (which I'm excited about). What are some good development tools to create PHP? My first application is going to be a simple single page where a user enters a password and their ID for getting credit on viewing a training video.
View Replies !
View Related
Development Server
This code below works fine on my local machine, linux and fine with our development server but when uploaded to a clients server the pagination doesnt work properly. It won't receive the next set of results. PHP Code: <td valign='top' class='bodytext'><br /><br /><span class='bigtext'>Image Gallery</span><br /><br /> <table width=ྖ%' cellpadding=Ɔ' cellspacing=ƈ' border=Ɔ'><tr> <? openConn();#OPEN DB CONNECTION #QUERY RECORDS FOR PAGE NUMBERING SYSTEM $numresults=@mysql_query("SELECT * FROM br_photography ORDER BY id ASC"); #QUERY RECORDS $numrows=@mysql_num_rows($numresults); if(!$numrows){ NOPICS(); }else { } if (empty($offset)){ $offset=1; .........................
View Replies !
View Related
The Language Development
Is PHP developed from C programming language? If one has to to contribute to the language, what are the steps he/she should take. I can't categorize my C programming skills at the top end, but I can be better at it through time to contribute certain things at some point in time.
View Replies !
View Related
|