Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
slash
- Page 1
Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Firsum
… that I am bringing to a close. It is called
Slash
and Smash. The goal is to defeat the last opponent…
nginx add trailing slash in URl for 2 or more directories
Hardware and Software
Linux and Unix
13 Years Ago
by xxyuri
nginx server Problem to add trailing
slash
if I have two or more subdirectories rewrite ^/([^.]*[^/])$ $… directory [url]http://example.com/foo/[/url] (with trailing
slash
, conventionally a directory) [url]http://example.com/foo[/url…] (without trailing
slash
, conventionally a file) How can add trailing
slash
if I have two or …
.htaccess Remove URL Extension, Add Trailing Slash
Programming
Web Development
13 Years Ago
by shootingrubber
…trying to remove the .html extensions, and add a trailing
slash
(in the URL bar). So if someone enters: *… everything I want it do, except add the trailing
slash
at the end. Here is that code: #force … ^(.+)\.html$ /$1 [R=301,L,QSA] # remove trailing
slash
ONLY if it is not an existing folder RewriteCond %{REQUEST_FILENAME…
how to replace back slash with forward slash
Programming
Web Development
15 Years Ago
by bigjoke
how can i REPLACE back
slash
in my string (file path) with forward
slash
. please help. str_replace doesnt seem to be working!
Re: change backslash to foward slash
Programming
Web Development
19 Years Ago
by paradox814
all that does is add an escape
slash
, I didn't want to do that at all. I want to reverse the direction of the
slash
. I already know about addslashes/stripslashes and magic_quotes and all that jazz... I want to be able to reverse the direction of the
slash
Forward slash in URL
Programming
Web Development
14 Years Ago
by vaibhav1983
…@_after_each_symbolic_link[/url] There is a forward
slash
"/" in this. Everything after this forward
slash
"/" is treated as a…
Create www.abc.com/category (without slash)
Programming
Web Development
13 Years Ago
by abhi10kumar
How I can create url like [url]http://www.sitename.com/category[/url] (without
slash
). I know how to create [url]http://www.sitename.com/category/[/url] (with
slash
)
mod_rewrite and slash problem
Programming
Web Development
12 Years Ago
by afroo.gfx
… http://www.afrogfx.com/20121028050853/Test.html problem located with **
Slash
/** !! if you click on my link you will found link… without style if remove
slash
you will get 404 Not Found Like That http://www…
htaccess RewriteRlue missing trialing slash
Programming
Web Development
12 Years Ago
by DaveyMoyes
…/$1/ [L] But the url is missing the trailing forward
slash
/ when I try and open php files in the directory… 404 not found error message when I add the trialing
slash
myself and open a php file, it opens as expected…
A "not allowed" slash follows bootup of Tiger
Hardware and Software
macOS
19 Years Ago
by gedafe
… a minute later, up popped the "not allowed"
slash
with the spinny-circle underneath. It never went on to…
change backslash to foward slash
Programming
Web Development
19 Years Ago
by paradox814
how do I reverse the direction of a
slash
? I am trying to reverse the slashes in the directory …
Trailing slash - Post variables
Hardware and Software
Linux and Unix
16 Years Ago
by tweeder
… people are trying to http://www.test.com/xyz (missing
slash
), they got a 301 Moved Permanently and then are redirect…
Removing everything after the forward slash.
Programming
Software Development
14 Years Ago
by spinachio
…-201 and I want to remove everything after the forward
slash
such that in the end the text file will look…
Regular Expression for Accepting numbers , dot,slash(/)
Programming
Web Development
12 Years Ago
by divyakrishnan
Hi, I want a regular expression to validate only numbers(0-9) , dot(.),
slash
(/) in javascript/JQuery .
White Doted and Slash lines in Windows 7
Hardware and Software
11 Years Ago
by DaniWeb4Jim
I closed the cover to my HP Pavilion 900 Series and when I opened it later it had a white screen with dots and
slash
lines on a 45 degree angle across the whole screen. I rebooted and it went away. A week later the screen was light blue but withthe same lines. Anyone encounter that?
how to remove .php and add a trailing slash(/) at the end using htaccess
Programming
Web Development
11 Years Ago
by vaultdweller123
… an htaccess that can remove the .php, add a trailing
slash
at the end and can read $_POST data. pls help
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Narue
To be honest, the code is very poorly written. There's no discernible structure, almost to the point of calling it spaghetti code, and you go about things in a highly manual way. I won't go into specific coding advice because I'm totally disinclined to read through over 2000 lines of that junk.
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Firsum
I agree that it is poorly written. But I'm just a beginner and this is my first project. So do you have a general suggestion to make the code simpler?
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Narue
[QUOTE]So do you have a general suggestion to make the code simpler?[/QUOTE] Forget goto exists.
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by jember
[QUOTE] --CHARACTER CREATING-- // I strongly suggest you change this title into "CHARACTER CREATION" Step 1/3 Enter your name: // It's so simple. I think you should change this one, too. It goes something like this: "Your Desired Name:" OR "What is your name? I am <Enter player's name>" Step 2/3 Select a class…
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by jonsca
[quote]There's nothing wrong with your codes. What's wrong with "Go To"?[/quote] Nothing, if it's used very judiciously, but it's awfully easy for it to make source code into a mess of spaghetti that's difficult to follow. Code readability is important.
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Narue
[QUOTE]4.) There's nothing wrong with your codes. What's wrong with "Go To"? What matters is the purpose and the content of your program. Think of the people who will use the program. Not all of them are knowledgable with C++ so why bother? It's not like they are going to see your codes. [/QUOTE] You clearly have no experience writing …
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by jember
I see.. I'm sorry but thank you for correcting me.. :) @jonsca You are right! :)
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Red Goose
[quote]4.) There's nothing wrong with your codes. What's wrong with "Go To"? What matters is the purpose and the content of your program. Think of the people who will use the program.[/quote] "Goto" and other sloppy design methods, while they may work, often lead to one when needing to fix a bug, coming to the old code and …
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by Firsum
Jember now I see my mistakes. Thank you very much. I am already working on a new version of the game. I will try to reduce the goto command, and use more functions. I consulted a friend who is a master of the RPG genre and D&D rules. He will help me with RPG elements. You must understand that English is not my native language. So I work with …
Re: Slash and Smash -text based rpg- help
Programming
Software Development
14 Years Ago
by jember
I see.. It's understandable. Even me, I'm also having problems with the English language. :) You are very welcome. I'm glad I had helped you anyhow. Like you, I'm also doing these stuffs on my own, too. Well, have fun with that! Good luck and keep up the good work :)
Re: pregmatch for letters, numbers, slash and - hmm?
Programming
Web Development
13 Years Ago
by klemme
So if i want it to begin with a
slash
, and then after that only allow lower case letters, numbers, …dash and
slash
.. I understood preg_match returns 1 or 0, for false or…
Re: pregmatch for letters, numbers, slash and - hmm?
Programming
Web Development
13 Years Ago
by klemme
… there is either a number, a lowercase letter or a
slash
or a dash. So this goes through the validation, with… the above preg_match because of the
slash
at the end: ***^^!"#"!¤%&¤#/ How can I adjust…
Re: pregmatch for letters, numbers, slash and - hmm?
Programming
Web Development
13 Years Ago
by klemme
[B]I forgot to mention that it needs to start with a
slash
/[/B] and only contain lower case letters and numbers too and the spacial chars as / _ - :-) [CODE] if(!preg_match([a-z][0-9][-/_], $url_key)){ $error[1] = '<small>Error submitting url key!</small>'; } [/CODE]
Re: pregmatch for letters, numbers, slash and - hmm?
Programming
Web Development
13 Years Ago
by pritaeas
Because you used a
slash
as begin/end terminator, it means you will have to escape it, if you need to use it in the pattern (with a backslash).
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC