Search found 722 matches
- Fri Apr 13, 2012 8:28 am
- Forum: Javascript
- Topic: Mootools Morph Transitions Not Reversing
- Replies: 1
- Views: 1236
Re: Mootools Morph Transitions Not Reversing
Does anyone have ANY ideas or suggestions?
- Wed Apr 11, 2012 8:32 pm
- Forum: Javascript
- Topic: Mootools Morph Transitions Not Reversing
- Replies: 1
- Views: 1236
Mootools Morph Transitions Not Reversing
Hello Forum, I'm working on a rollover project for class, and we were supposed to use that horrid stuff that Dreamweaver generates. I wanted to do something a little nicer, so between some scripts I found online and some of my own modifications, I managed to get some pretty nice fading. I then tried...
- Fri Jun 04, 2010 4:12 pm
- Forum: Regex
- Topic: Formatting a simple help file
- Replies: 5
- Views: 2770
Re: Formatting a simple help file
Ah! OK, that's looking more like what I was hoping for! If I understand right, those are regex that look for lines matching "starts with [whatever]". So to replace some other thing, I just need the regex that matches it. So. All I need is to have the condition for & look for it anywher...
- Fri Jun 04, 2010 3:25 pm
- Forum: Regex
- Topic: Formatting a simple help file
- Replies: 5
- Views: 2770
Re: Formatting a simple help file
This code does mostly what I want: <?php //get the file into a var, make a new one to hold output $helpfile = file_get_contents('helptest.txt'); $output = null; //split the file into lines $delimiters[] = "\r\n"; $delimiters[] = "\n"; //fix strange encodings $helpfile = str_repla...
- Fri Jun 04, 2010 12:31 pm
- Forum: Regex
- Topic: Formatting a simple help file
- Replies: 5
- Views: 2770
Re: Formatting a simple help file
While there is merit to such things, they're also far more complex to produce than what I'm looking for. If it helps, my design goals for the project: 1. No complex markup. 2. Reads in the file like it does on screen. 3. Easy inclusion in another script I don't want a file that looks like: <helpfile...
- Fri Jun 04, 2010 11:42 am
- Forum: PHP - Code
- Topic: preg_replace() template parsing woes
- Replies: 6
- Views: 228
Re: preg_replace() template parsing woes
Sometimes templating can be useful. For example, rather than having ANY php code, you just say "type this, and it will magically happen." One very simple way I've done this, is to use a single tag, like this: %DYN_PARAGRAPH% This is extremely simple to work with using PHP's str_replace() f...
- Fri Jun 04, 2010 11:34 am
- Forum: PHP - Code
- Topic: remove special tag with content
- Replies: 3
- Views: 112
Re: remove special tag with content
Would strip_tags work?
- Fri Jun 04, 2010 11:24 am
- Forum: Regex
- Topic: Formatting a simple help file
- Replies: 5
- Views: 2770
Formatting a simple help file
Hi All, I'm working on a simple help system for a project I'm doing. Rather than parsing the help files as HTML, I want to create a very easy way to pleasantly reformat plain text. So, my idea is as follows. There will be a folder called "help" in which there will be a bunch of files, each...
- Sun May 30, 2010 8:12 pm
- Forum: PHPDN
- Topic: Attempting to Create a May 12, 2010 PHPDN eMagazine
- Replies: 4
- Views: 20971
Re: Attempting to Create a May 12, 2010 PHPDN eMagazine
Hey! Good to get another response. I just got out of school, and was hoping to get another article or two, and move it to mid-June. Let's see if we can get some ideas...
- Tue Apr 27, 2010 11:07 am
- Forum: General Discussion
- Topic: Turning VB into PHP
- Replies: 9
- Views: 976
Re: Turning VB into PHP
On a whim, I did a Google....
Do these pages help you?
http://www.dynamicdrive.com/forums/show ... hp?t=14165
http://php.net/manual/en/class.domdocument.php
http://devzone.zend.com/article/1713
Do these pages help you?
http://www.dynamicdrive.com/forums/show ... hp?t=14165
http://php.net/manual/en/class.domdocument.php
http://devzone.zend.com/article/1713
- Tue Apr 27, 2010 10:21 am
- Forum: General Discussion
- Topic: Turning VB into PHP
- Replies: 9
- Views: 976
Re: Turning VB into PHP
Hi, I'm going to take a bit more of a look later, but here's the gist of my basic observation. 1. You're just writing XML, so things get much simpler to a certain extent; all we need to do is produce the valid XML by sticking a bunch of strings together. PHP does not need casting, and the database q...
- Fri Apr 23, 2010 12:49 pm
- Forum: PHP - Code
- Topic: emailing html form
- Replies: 4
- Views: 204
Re: emailing html form
try processing with htmlentities()?
- Wed Apr 21, 2010 3:58 pm
- Forum: PHP - Theory and Design
- Topic: Open Source (Free) alternative to .Net Web Services
- Replies: 5
- Views: 1404
Re: Open Source (Free) alternative to .Net Web Services
Well, DLL's are just compiled libraries. You can use PHP to easily generate XML. For example, let's say I have a script "xml_weather.php". Rather than delivering an HTML page, it sends XML headers, and delivers XML code. I can use this from another server or another script, but using file_...
- Wed Apr 21, 2010 3:08 pm
- Forum: PHP - Theory and Design
- Topic: Open Source (Free) alternative to .Net Web Services
- Replies: 5
- Views: 1404
Re: Open Source (Free) alternative to .Net Web Services
.NET web services seem to be simply small bits of code capable of sending and receiving bits of XML. I think, then, you could use PHP to fetch the resulting XML with something as simple as file_get_contents(). PHP does have XML handling capability built in to some extent: http://php.net/manual/en/bo...
- Wed Apr 21, 2010 3:04 pm
- Forum: General Discussion
- Topic: Turning VB into PHP
- Replies: 9
- Views: 976
Re: Turning VB into PHP
Can you post some code for us to take a look at? We may be able to give you some more direct help then.