Archive for the ‘advanced php programming’ Category

Php pages go blank in IIS 7 if accessed outside of internal network?

I have been experimenting with WordPress on IIS7 and everything seems to work fine as long as I access the program from within the local network. As soon as I try to access anything other then the index.php page from outside my local network though all I get is a blank page. Looking on the Internet it seems that others have had this same problem but I don’t see any consistent solutions. Thanks in advance for any help.

I think WordPress is PHP based CMS. While IIS 7 is designed for supporting ASP.
How can your IIS 7 get your worpress work? Ridiculous.
You need the Apache to run your wordpress locally.
My wordpress blog have many tips for wordpress using.Take a look.

Affordable Open Source Web Development Company From India

The Power of Windows Hosting – Save Time and Money

What programming languages did Mark Zuckerberg use to make Facebook?

What programming languages did Mark Zuckerberg use to create Facebook? HTML, CSS, PHP?

Thanks in advance, Liam

PHP.

HTML isn’t a programming language (it’s a markup language), nor is CSS, however, they’re naturally both used in the creation of almost all websites.

I don’t think you have a concrete understanding of how sites work: PHP is a PreHypertext Processor.

Facebook’s server environment is unknown and not released to the public. It is believed to be custom developed.

Facebook uses Thrift for management of scripts, which allows for the use of python, perl, ruby, c++ and java: this is what gives the FBML and the Facebook API its’ versitility.

The database software is based on the ubiquitous MySQL, but with a twist: Cassandra allows for faster data manipulation on a cloud network.

Website Development-increase Revenue to Grow

Web development is a broad term for any activity related to developing a web site for the World Wide Web or an intranet. Actually this includes static websites to dynamic website development. This can include e-commerce website, web design, web content development and web server configuration.

Web development has been one of the fastest growing industry segments in the world. Web development refers writing markup and coding. Web development can range from developing simple static single page to the complex web-based internet applications, electronic businesses applications or social network services.

Advanced Web Development Services

* Web Application Development

* Enterprise Portal Development

* Website Design and Development

* Web-based Database Programming

* Web-enabling Legacy Applications

* Open source Software Customization

The creation of a website includes base platform that exits from various encoding languages similar to HTML, XML, ASP, and PHP. These languages may support programs, scripts or software such as JavaScript, CGI, FLASH and RSS that increase the level of dynamic capabilities within a given website.

Advantages of website development

Increases awareness of products/services

Expands market place

Increase Revenue to grow

Economical business development method

The next generation of web development tools uses the strong growth in LAMP and Microsoft .NET technologies to provide the Web as a way to run applications online. Web developers now help to deliver applications as Web services which were traditionally only available as applications on a desk based computer.

Website development requires an evolving explanation, as it is useful to grow sell of product by numerous contributions of individuals, corporations, and technologies. Web Development is one of the core area of business development in cost effective manner.

Vimal M

Can I learn PHP without having knowing any other code?

I am fairly smart when it comes to math and computers. I don’t however have a lot of knowledge on programming language. I design web-sites on iWeb which are alot more advanced than most i’ve seen but I would like to learn PHP. Is this possible or should I learn a different language such as python first?

I think PHP is a very good first language and very high level when it comes to web-development. Modern PHP is also Object Oriented and a natural first language. I recommend the book Programming PHP published by O’Reilly which is a pleasure to read (I know this sounds strange but it’s true!). Once you get the fundamentals of the language down then you can create any code and understand any code that you see.

PHP programming ideas?

Okay, so I’m a little new to programming and I only know 2 languages (PHP and python), so please don’t give me ideas that are too advanced. I’ve created websites for my friends in the past (basic rating sites) but I’m out of ideas for practicing PHP. I created a site called the cuter pet which was where you just clicked on the cuter pet for around 10-20 pages. I also created the better couple where people chose the better couple. But i’m out of ideas.

I really like rating sites because their interactive. If someone could show me some of the PHP code to start me off that would be great as well.

Check this out, http://www.webcheatsheet.com. So far that is the best website that offer php tutorials that I browse.It includes basic and advance php programming tutorials.

PHP to replace a blank character with underscore?

I have a PHP script and all I need for my one script is to properly change a blank "" …Yeah nothing, not a space – just blank, with an underscore. I have made my own preg_replace() functions and none work and it is to bad I could not use str_replace("", "_", $x). I am advanced with php programming, but just can’t figure this one out for myself. I have searched so long with tons and tons of search words in Google and Yahoo. I am tired of hitting "Search". Any quick code for it?

For example:
"abcABC" > "_a_b_c_A_B_C_"

One more thing, don’t bother if my example was "a" or "_a" or "a_" I could fix it for myself with a new line in a separate code or edit code given. Numbers and anything else does not have to be included, I only allow alphanumeric characters that is capitalized or not.

"Blank" is not a character, and therefore you cannot match and replace it (imagine if you tried to do this in a "find and replace" in Word or Notepad… what would you expect it to do?). What you describe is just *adding* an underscore in between each character of a string, and at the beginning and end. Technically, one could say they are "replacing" nothing with something every time they add or create something, but that’s just an awkward and impractical way to state it… and as exemplified here (from the fact that you’ve posted this question), confusing and misleading.

So what you want to do is break your string into characters, put an underscore in between each and at the beginning and end, and voila, you’re done.

$str = ‘abcABC’;
$underscored = ‘_’ . implode(‘_’, preg_split(‘@@’, $str, null, PREG_SPLIT_NO_EMPTY)) . ‘_’;
// $underscored == ‘_a_b_c_A_B_C_’

What can I expect to earn as a web designer in Los Angeles?

With an associates degree in IT specializing in web design. Basic Java, advanced HTML, CSS, PHP and other programing languages and roughly two years experience. My degree is in web design, but with actual programing and scripting knowledge, would I qualify for a web developer position?

What are the low end salaries for an entry level and how is the market in the south side?

You mean jobs specifically on the south side? Ha…

As a web designer in LA, you’ll be happy to get work no matter where it is. Associates degree vs a full BS in computer science matters less than your overall experience and how many examples you can show of your previous work… you’ll need hosting setup to display your work to potential clients. You’ll most likely end-up contracting instead of full-timing, so be aware of that.

Most web developers need server-side scripting as well as database knowledge, so you may not qualify for a developer position without MySQL. Your PHP is the most valuable of the skills you list, so it better be fairly advanced. Basic JAVA won’t help you much.

You might make between $35,000 to $45,000 as a web designer doing contract work if you bust your butt and get good contracts. LA is an expensive place (I live there), so plan accordingly.

Good luck!

Any good books on advanced programming?

I’m a freelance web developer with expert knowledge in PHP. I’m looking to turn my focus more toward software engineering which is really what I went to college for. I took C++ and Java in college and have studied numerous other language as a hobby like ActionScript 3, ASP.NET, C#, VB .NET, etc. I was wondering if anybody could recommend me some excellent books and/or resources on something like C++ or Java (which I assume are still the more in-demand languages. Correct me if I’m wrong please). I feel I already have intermediate knowledge of both languages but I would like to see some case studies of the languages being used in larger applications and uses of the languages. Thanks all.

For advanced c++ , you should go through some books :

1. Effective C++ by Scott Meyers & More Effective C++ 35 New Ways to Improve Your Programs (must have)
2.C++ Coding Standards: 101 Rules, Guidelines, and Best Practices By Herb Sutter, Andrei Alexandrescu

3. Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs (must have)
4. Exceptional C++ Style 40 New Engineering Puzzles, Programming problems and solutions
5. Effective STL (must have)
6. Exceptional C++

For Graphics Application development , you should go through these books :

FOR NATIVE APPLICATION DEVELOPMENT (AN OLD TECHNOLOGY AND ALSO COMPLEX WAY TO DEVELOP APPLICATION {DIRECTLY DEAL WITH WINAPI }, BUT IF YOU WANT TO GO FOR CONCEPT AND LEGACY)

1.PROGRAMMING WINDOWS BY CHALES PETZOLD (This is old way do develop GUI based proggies , native one’s , no one use these technologies , since they old and complex)

2.Microsoft Press-Windows Via C C++- Jeffrey Richter

3.PROGRAMMING WINDOWS WITH MFC BY JEFF PROSISE (This is also old way do develop GUI based proggies , native one’s , no one use these technologies , since they old and complex )

For DEVELOPING APPLICATIONS USING .NET technologies :

1. MS.Press.Microsoft.Visual.C++.Dot.NET.St… (This is new way develop GUI based proggies by using .NET , good one , auto managed code by CLR)

2. C++/CLI In Action

Then after you should try some more .Net books like new tech in .NET called WPF:

1. Unleased WPF 4 by Adam Nathan

P.S : .NET books i told are for beginners , if you want to go more advanced , then you should go to some Developer communities and read some more articles , also about some more .NET books

also ,
If you want to learn about .Net, I would prefer to learn C# rather than C++.

CLR via C# by Jeffrey Richter because of all the details about how not only C# but also the CLR works. 3rd edition adds a lot of useful info on threading and the new parallel extensions.
Professional .NET 2.0 Framework by Joe Duffy is very similar to Richters book, so I like it for the same reasons. Unfortunately it is somewhat dated now.
C# in Depth by Jon Skeet is an excellent treatment of all the stuff that the two others do not cover.
The C# language specification (get the book for the annotations). A must read.

I hope this help ))